toip.tools

interface · Browser and Node

WebAuthnPolicy

@toip-tools/eventlogView source
TypeScriptImport
import { type WebAuthnPolicy } from "@toip-tools/eventlog";

Declaration

TypeScriptinterface
interface WebAuthnPolicy {
  /** Accepted `clientDataJSON.origin` values. Any origin when absent. */
  origins?: string[];
  /** Accepted RP ids; the authenticator data's rpIdHash must be SHA-256 of one. Not checked when absent. */
  rpIds?: string[];
  requireUserVerified?: boolean;
}

Properties

originsoptional
string[] | undefined

Accepted clientDataJSON.origin values. Any origin when absent.

rpIdsoptional
string[] | undefined

Accepted RP ids; the authenticator data's rpIdHash must be SHA-256 of one. Not checked when absent.

requireUserVerifiedoptional
boolean | undefined