Skip to main content

CreationResult

@loginid/websdk3Docs


@loginid/websdk3 / Internal Modules / CreationResult

Type Alias: CreationResult

CreationResult: object

Type declaration

attestationObject

attestationObject: string

Base64 encoded byte array containing an attestation object, which is opaque to, and cryptographically protected against tampering by, the client.

authenticatorData?

optional authenticatorData: string

This attribute contains the authenticator data contained within attestationObject.

clientDataJSON

clientDataJSON: string

Base64 encoded byte array which is a JSON-compatible serialization of client data passed to the authenticator by the client in order to generate this credential. The exact JSON serialization MUST be preserved, as the hash of the serialized client data has been computed over it.

credentialId

credentialId: string

A base64 encoded byte sequence identifying a public key credential source and its authentication assertions.

publicKey?

optional publicKey: string

Base64 encoded DER SubjectPublicKeyInfo of the new credential, or null if this is not available.

publicKeyAlgorithm?

optional publicKeyAlgorithm: number

transports?

optional transports: ("usb" | "nfc" | "ble" | "internal" | "hybrid" | "cable" | "smart-card")[]

These values are the transports that the authenticator is believed to support, or an empty sequence if the information is unavailable.