The AuthenticatorAssertionResponse interface of the Web Authentication API is returned by CredentialsContainer.get() when a PublicKeyCredential is passed, and provides proof to a service that it has a key pair and that the authentication request is valid and approved.
An ArrayBuffer containing information from the authenticator such as the Relying Party ID Hash (rpIdHash), a signature counter, test of user presence and user verification flags, and any extensions processed by the authenticator.
An ArrayBuffer containing an opaque user identifier.
Instance methods
None.
Examples
const options ={challenge:newUint8Array([/* bytes sent from the server */]),};
navigator.credentials
.get({publicKey: options }).then((credentialInfoAssertion)=>{const assertionResponse = credentialInfoAssertion.response;// Do something specific with the response// send assertion response back to the server// to proceed with the control of the credential}).catch((err)=> console.error(err));