Type alias AuthenticatorSelection

AuthenticatorSelection: {
    authenticatorAttachment?: AuthenticatorAttachment;
    requireResidentKey?: boolean;
    residentKey?: string;
    userVerification?: UserVerificationRequirement;
}

Use this class to specify requirements regarding authenticator attributes.

Type declaration

  • Optional authenticatorAttachment?: AuthenticatorAttachment

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

  • Optional requireResidentKey?: boolean

    Describes the Relying Party's requirements regarding resident credentials. If present and set to true, the authenticator MUST create a client-side-resident public key credential source when creating a public key credential.

    Default Value

    false

  • Optional residentKey?: string

    Specifies the extent to which the Relying Party desires to create a client-side discoverable credential. For historical reasons the naming retains the deprecated “resident” terminology.

  • Optional userVerification?: UserVerificationRequirement

    Describes the Relying Party's requirements regarding user verification for the navigator.credentials.create() or navigator.credentials.get() operation. Eligible authenticators are filtered to only those capable of satisfying this requirement.

Generated using TypeDoc