W3cubDocs

/DOM

PublicKeyCredentialRequestOptions

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.

Properties

PublicKeyCredentialRequestOptions.challenge
TBD
PublicKeyCredentialRequestOptions.timeout
TBD
PublicKeyCredentialRequestOptions.rpId Optional
TBD
PublicKeyCredentialRequestOptions.allowCredentials Optional
array of TBD
PublicKeyCredentialRequestOptions.userVerification Optional
TBD
PublicKeyCredentialRequestOptions.extensions Optional
TBD

Methods

None.

Examples

TBD

Specifications

Specification Status Comment
Web Authentication: An API for accessing Public Key Credentials Level 1 Candidate Recommendation Initial definition.

Browser compatibilityUpdate compatibility data on GitHub

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