Options
All
  • Public
  • Public/Protected
  • All
Menu

Class WebAuthnHandler

An auth handler that provides FIDO2 WebAuthN Relay Party support.

Hierarchy

  • WebAuthnHandler

Implements

Index

Methods

handle

setOrigin

  • Set the Origin to be validated by the webauthn object.

    Parameters

    • origin: string

    Returns WebAuthnHandler

setupCallback

  • The callback route to verify attestations and assertions. Usually this route is

    /webauthn/response

    Parameters

    Returns WebAuthnHandler

setupCredentialsCreateCallback

  • The callback route to create registration attestations. Usually this route is

    /webauthn/register

    Parameters

    Returns WebAuthnHandler

setupCredentialsGetCallback

  • The callback route to create login attestations. Usually this route is

    /webauthn/login

    Parameters

    Returns WebAuthnHandler

Static create

  • Create a WebAuthN auth handler. This handler expects at least the response callback to be installed.

    Parameters

    • webAuthn: WebAuthn

    Returns WebAuthnHandler

Generated using TypeDoc