W3cubDocs

/DOM

AuthenticatorAttestationResponse

This is an experimental technology
Check the Browser compatibility table carefully before using this in production.

When a WebAuthn authenticator creates a new PublicKeyCredential via a create() call, the PublicKeyCredential.response value will be an AuthenticatorAttestationResponse object. This object contains two properties: 1) a clientDataJSON property inherited from AuthenticatorResponse; and 2) an attestationObject that is an authenticator's way of providing a root of trust for the newly created keypair.

Properties

AuthenticatorAttestationResponse.clientDataJSON
Inherited from AuthenticatorResponse.clientDataJSON. Includes the client data for the authentication, such as origin and challenge.
AuthenticatorAttestationResponse.attestationObject
An authenticator's cryptographic attestation that a newly generated keypair was created by that authenticator.

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 65
Disabled
65
Disabled
Only support USB U2F tokens
Disabled From version 65: this feature is behind the Web Authentication API preference (needs to be set to true). To change preferences in Chrome, visit chrome://flags.
18 60
60
Only support USB U2F tokens
? ? ?
attestationObject 65
Disabled
65
Disabled
Only support USB U2F tokens
Disabled From version 65: this feature is behind the Web Authentication API preference (needs to be set to true). To change preferences in Chrome, visit chrome://flags.
18 60
60
Only support USB U2F tokens
? ? ?
Mobile
Android webview Chrome for Android Edge Mobile Firefox for Android Opera for Android iOS Safari Samsung Internet
Basic support ? ? ? ? ? ? ?
attestationObject ? ? ? ? ? ? ?

© 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/AuthenticatorAttestationResponse