Skip to main content

PublicKeyCredential

Represents a common shape of a PublicKeyCredential after the client serializes the id and rawId fields to base64 strings for transport

Attributes (4)
AttributeTypeRequiredDescription
idstringYesThe base64url encoding of rawId
type'public-key'YesThis enumeration defines the valid credential types. It is an extension point; values can be added to it in the future, as more credential types are defined. The values of this enumeration are used for versioning the Authentication Assertion and attestation structures according to the type of the authenticator. Currently one credential type is defined, namely public-key.
rawIdstringYesThe credential identifier
authenticatorAttachment'cross-platform' | 'platform'NoThe authenticator attachment