PublicKeyCredential (Login Response)


Represents a public key credential returned by the authenticator during WebAuthn authentication. The response field contains the AuthenticatorAssertionResponse, which includes the data needed to verify the authentication on the server.

Fields

Name Type Notes

id

String

The credential’s identifier, base64url-encoded

rawId

String

Raw binary ID of the credential, also base64url-encoded

response

AuthenticatorAssertionResponse

Contains the assertion data returned by the authenticator

authenticatorAttachment

String

How the authenticator is attached (e.g. platform or cross-platform)

type

String

The credential type, must be "public-key"