This is an experimental technology
Check the Browser compatibility table carefully before using this in production.
When a WebAuthn authenticator peforms an authentication via the get() call, the result is a new PublicKeyCredential, the PublicKeyCredential.response
value will be an AuthenticatorAssertionResponse object. This object contains both the client data (i.e. - browser data) for the authentication as well as the data from the authenticator to cryptographically prove that the authentication is valid.
AuthenticatorResponse.clientDataJSON
. Includes the client data for the authentication, such as origin and challenge.AuthenticatorAssertionResponse.authenticatorData
AuthenticatorAssertionResponse.signature
AuthenticatorAssertionResponse.authenticatorData
and AuthenticatorResponse.clientDataJSON
. The assertion signature is created with the private key of keypair that was created during the create() call and verified using the public key of that same keypair.AuthenticatorAssertionResponse.userHandle
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 | 65
|
18 | 60
|
? | ? | ? |
authenticatorData |
65
|
18 | 60
|
? | ? | ? |
signature |
65
|
18 | 60
|
? | ? | ? |
userHandle |
65
|
18 | 60
|
? | ? | ? |
Mobile | |||||||
---|---|---|---|---|---|---|---|
Android webview | Chrome for Android | Edge Mobile | Firefox for Android | Opera for Android | iOS Safari | Samsung Internet | |
Basic support | ? | ? | ? | ? | ? | ? | ? |
authenticatorData |
? | ? | ? | ? | ? | ? | ? |
signature |
? | ? | ? | ? | ? | ? | ? |
userHandle |
? | ? | ? | ? | ? | ? | ? |
© 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/AuthenticatorAssertionResponse