Class: WebauthnStamper

Defined in: index.ts:27

Stamper to use with @turnkey/http’s TurnkeyClient

Constructors

Constructor

new WebauthnStamper(config): WebauthnStamper

Defined in: index.ts:33

Parameters

config

TWebauthnStamperConfig

Returns

WebauthnStamper

Properties

allowCredentials

allowCredentials: PublicKeyCredentialDescriptor[]

Defined in: index.ts:31


rpId

rpId: string

Defined in: index.ts:28


timeout

timeout: number

Defined in: index.ts:29


userVerification

userVerification: UserVerificationRequirement

Defined in: index.ts:30

Methods

stamp()

stamp(payload): Promise<{ stampHeaderName: string; stampHeaderValue: string; }>

Defined in: index.ts:40

Parameters

payload

string

Returns

Promise<{ stampHeaderName: string; stampHeaderValue: string; }>