Optional
attestation?: ConveyancePreferenceThis member is intended for use by Relying Parties that wish to express their preference for attestation conveyance.
Optional
authenticatorRegistration requirements for authenticator attributes.
A challenge intended to be used for generating the newly created credential’s attestation.
Optional
excludeThis member is intended for use by Relying Parties that wish to limit the creation of multiple credentials for the same account on a single authenticator. The browser 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.
Optional
extensions?: AuthenticationExtensionsAdditional parameters requesting additional processing by the browser and authenticator. For example, the caller may request that only authenticators with certain capabilities be used to create the credential, or that particular information be returned in the attestation object. Some extensions are defined in WebAuthn Extensions; consult the IANA "WebAuthn Extension Identifier" registry established by WebAuthn-Registries for an up-to-date list of registered WebAuthn Extensions.
Optional
pubInformation about the desired properties of the credential to be created. The sequence is ordered from most preferred to least preferred. The browser makes a best-effort to create the most preferred credential that it can.
Data about the Relying Party responsible for the request (i.e. your application)
Optional
timeout?: numberSpecifies a time, in milliseconds, that the caller is willing to wait for the call to complete. This is treated as a hint, and may be overridden by the browser.
Data about the user account for which the Relying Party is requesting attestation.
Generated using TypeDoc
Parameters for
navigator.credentials.create()
.