This method is restricted to top-level contexts. Calls to it within an
<iframe> element will resolve without effect.
var promise = CredentialsContainer.create([options])
- An object of type
CredentialCreationOptionsthat contains options for the requested new
Credentialsobject. It must include one of the options "password", "federated", or "publicKey". The options are:
password: Optional Either an
HTMLFormElement, or a
federated: Optional An
FederatedCredentialInitobject. Contains requirements for creating/obtaining federated credentials. The available options are:
publicKey: Optional an
PublicKeyCredentialCreationOptionsobject that describes the options for creating a WebAuthn credential.
|Credential Management Level 1
The definition of 'get()' in that specification.
|Working Draft||Initial definition.|
|Web Authentication: An API for accessing Public Key Credentials Level 1||Recommendation||Initial definition.|
BCD tables only load in the browser