This is an experimental technology
Check the Browser compatibility table carefully before using this in production.
The PublicKeyCredentialRequestOptions specifies publicKey options that can be used with the WebAuthn get() call.
PublicKeyCredentialRequestOptions.challengePublicKeyCredentialRequestOptions.timeoutPublicKeyCredentialRequestOptions.rpId Optional
PublicKeyCredentialRequestOptions.allowCredentials Optional
PublicKeyCredentialRequestOptions.userVerification Optional
PublicKeyCredentialRequestOptions.extensions Optional
None.
TBD
| Specification | Status | Comment |
|---|---|---|
| Web Authentication: An API for accessing Public Key Credentials Level 1 | Candidate Recommendation | Initial definition. |
| Desktop | ||||||
|---|---|---|---|---|---|---|
| Chrome | Edge | Firefox | Internet Explorer | Opera | Safari | |
| Basic support | 67 | ? | 60 | ? | ? | ? |
allowCredentials
|
67 | ? | 60 | ? | Yes | ? |
challenge
|
67 | ? | 60 | ? | Yes | ? |
extensions
|
67 | ? | 60 | ? | Yes | ? |
rpId
|
67 | ? | 60 | ? | Yes | ? |
timeout
|
67 | ? | 60 | ? | Yes | ? |
userVerification
|
67 | ? | 60 | ? | Yes | ? |
| Mobile | |||||||
|---|---|---|---|---|---|---|---|
| Android webview | Chrome for Android | Edge Mobile | Firefox for Android | Opera for Android | iOS Safari | Samsung Internet | |
| Basic support | ? | ? | ? | ? | ? | ? | ? |
allowCredentials
|
? | ? | ? | ? | Yes | ? | ? |
challenge
|
? | ? | ? | ? | Yes | ? | ? |
extensions
|
? | ? | ? | ? | Yes | ? | ? |
rpId
|
? | ? | ? | ? | Yes | ? | ? |
timeout
|
? | ? | ? | ? | Yes | ? | ? |
userVerification
|
? | ? | ? | ? | Yes | ? | ? |
© 2005–2018 Mozilla Developer Network and individual contributors.
Licensed under the Creative Commons Attribution-ShareAlike License v2.5 or later.
https://developer.mozilla.org/en-US/docs/Web/API/PublicKeyCredentialRequestOptions