Type alias CredentialCreationResponse

CredentialCreationResponse: {
    authenticatorAttachment?: AuthenticatorAttachment;
    clientExtensionResults?: AuthenticationExtensionsClientOutputs;
    id: string;
    rawId: URLEncodedBase64;
    response: AuthenticatorAttestationResponse;
    transports?: string[];
    type: PublicKeyCredentialType;
}

The raw response returned to us from an authenticator when we request a credential for registration.

Type declaration

  • Optional authenticatorAttachment?: AuthenticatorAttachment

    If this member is present, eligible authenticators are filtered to only authenticators attached by the specified mechanism.

  • Optional clientExtensionResults?: AuthenticationExtensionsClientOutputs

    A map containing identifier -> client extension output entries produced by any extensions that may have been used during registration.

  • id: string

    The credential's identifier.

  • rawId: URLEncodedBase64

    The credential's identifier. Since we base64-encode raw data, this is the same as id.

  • response: AuthenticatorAttestationResponse

    The authenticator's response to the request to generate a registration attestation.

  • Optional transports?: string[]

    Deprecated

    Deprecated due to upstream changes to the API. Use AuthenticatorAttestationResponse.transports instead.

  • type: PublicKeyCredentialType

    Specifies the credential type represented by this object.

Generated using TypeDoc