ModuleSDK
Modules
getWebAuthnValidator

getWebAuthnValidator

Get the WebAuthn validator module object.

Usage

const module = getWebAuthnValidator({
  webAuthnCredential: {
    pubKeyX: 123...,
    pubKeyY: 123...,
    authenticatorId: "credential-id"
  }
});

Parameters

webAuthnCredential.pubKeyX

  • Type: number

The x-coordinate of the public key.

webAuthnCredential.pubKeyY

  • Type: number

The y-coordinate of the public key.

webAuthnCredential.authenticatorId

  • Type: string

The credential ID of the authenticator.

hook (optional)

The address of the hook to use. This is only required for the Kernel account.

Returns

module

The WebAuthn validator module object.