interface · Browser and Node
WebAuthnPolicy
@toip-tools/eventlogView sourceimport { type WebAuthnPolicy } from "@toip-tools/eventlog";
Declaration
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
originsoptionalstring[] | undefinedAccepted
clientDataJSON.originvalues. Any origin when absent.rpIdsoptionalstring[] | undefinedAccepted RP ids; the authenticator data's rpIdHash must be SHA-256 of one. Not checked when absent.
requireUserVerifiedoptionalboolean | undefined