AuthenticatorAttestationResponse extension type

The AuthenticatorAttestationResponse interface of the Web Authentication API is the result of a WebAuthn credential registration. It contains information about the credential that the server needs to perform WebAuthn assertions, such as its credential ID and public key.

An AuthenticatorAttestationResponse object instance is available in the PublicKeyCredential.response property of a PublicKeyCredential object returned by a successful CredentialsContainer.create call.

This interface inherits from AuthenticatorResponse.

Note: This interface is restricted to top-level contexts. Use of its features from within an iframe element will not have any effect.

on
Implemented types

Properties

attestationObject JSArrayBuffer
no setter
clientDataJSON JSArrayBuffer
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

getAuthenticatorData() JSArrayBuffer
The getAuthenticatorData() method of the AuthenticatorAttestationResponse interface returns an ArrayBuffer containing the authenticator data contained within the AuthenticatorAttestationResponse.attestationObject property.
getPublicKey() JSArrayBuffer?
The getPublicKey() method of the AuthenticatorAttestationResponse interface returns an ArrayBuffer containing the DER SubjectPublicKeyInfo of the new credential (see Subject Public Key Info), or null if this is not available.
getPublicKeyAlgorithm() COSEAlgorithmIdentifier
The getPublicKeyAlgorithm() method of the AuthenticatorAttestationResponse interface returns a number that is equal to a COSE Algorithm Identifier, representing the cryptographic algorithm used for the new credential.
getTransports() JSArray<JSString>
The getTransports() method of the AuthenticatorAttestationResponse interface returns an array of strings describing the different transports which may be used by the authenticator.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited