PublicKeyCredentialCreationOptions
@loginid/websdk3 • Docs
@loginid/websdk3 / Internal Modules / PublicKeyCredentialCreationOptions
Type Alias: PublicKeyCredentialCreationOptions
PublicKeyCredentialCreationOptions:
object
Type declaration
attestation?
optional
attestation:"none"
|"indirect"
|"direct"
|"enterprise"
A preference for attestation conveyance.
authenticatorSelection?
optional
authenticatorSelection:AuthenticatorSelectionCriteria
challenge
challenge:
string
This base64 encoded byte array represents a challenge that the selected authenticator signs, along with other data, when producing an authentication assertion.
excludeCredentials?
optional
excludeCredentials:PubKeyCredentialDescriptor
[]
List of credentials to limit the creation of multiple credentials for the same account on a single authenticator. The client is requested to return an error if the new credential would be created on an authenticator that also contains one of the credentials enumerated in this parameter.
extensions?
optional
extensions:Record
<string
,string
>
Additional parameters requesting processing by the client and authenticator.
pubKeyCredParams
pubKeyCredParams:
PublicKeyCredentialParameters
[]
This member contains information about the desired properties of the credential to be created. The sequence is ordered from most preferred to least preferred. The client makes a best-effort to create the most preferred credential that it can.
rp
timeout?
optional
timeout:number
This OPTIONAL member specifies a time, in milliseconds, that the caller is willing to wait for the call to complete. The value is treated as a hint, and MAY be overridden by the client.