This method is restricted to top-level contexts. Calls to it within an
<iframe> element will resolve without effect.
var promise = CredentialsContainer.get([options])
- options Optional
- An object that sets options to look for among the credentials in the
CredentialsContainer. The available options are:
Booleanindicating that returned
Credentialinstances should include user (as opposed to federated) credentials.
federated: An object containing requirements for returned federated credentials. The available options are:
PublicKeyCredentialRequestOptionsobject containing requirements for returned WebAuthn credentials.
Stringindicating whether the user will be required to log on for every visit to the website. Valid values are
Booleanindicating the returned
Credentialinstance should not require user mediation.
|Credential Management Level 1
The definition of 'get()' in that specification.
|Working Draft||Initial definition.|
|Web Authentication Level 1||Working Draft||Initial definition.|
We're converting our compatibility data into a machine-readable JSON format. This compatibility table still uses the old format, because we haven't yet converted the data it contains. Find out how you can help!
|Feature||Chrome||Firefox (Gecko)||Internet Explorer||Opera||Safari (WebKit)|
|Basic support||51||?||?||No support||?|
|WebAuthn support||Nightly build||Nightly build||No support||No support||No support|
|Feature||Android Webview||Chrome for Android||Firefox Mobile (Gecko)||Firefox OS||IE Mobile||Opera Mobile||Safari Mobile|
|Basic support||51||51||?||?||?||No support||?|
|WebAuthn support||No support||Nightly build||No support||No support||No support||No support||No support|