Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

getCredential

Get a WebAuthn credential using the browser's credentials API. Wraps navigator.credentials.get() with error handling.

function getCredential(options: StrictOmit<CredentialRequestOptions, "publicKey"> & {}): Promise<RequestResult<AuthenticationCredential, WebAuthnError>>;
§
getCredential(options: StrictOmit<CredentialRequestOptions, "publicKey"> & {}): Promise<RequestResult<AuthenticationCredential, WebAuthnError>>
[src]

§Parameters

§
options: StrictOmit<CredentialRequestOptions, "publicKey"> & {}
[src]
  • Options including publicKey parameters

§Return Type

§

Retrieved credential or error