Skip to content

Documentation


Documentation / @kizami/crypto / VerifyTotpParams

Interface: VerifyTotpParams ​

Defined in: totp.ts:121

Properties ​

code ​

code: string

Defined in: totp.ts:125

利用者が入力したコード(前後の空白・区切りは呼び出し側で除去済みであること)。


digits? ​

optional digits?: number

Defined in: totp.ts:135


minCounterExclusive? ​

optional minCounterExclusive?: number | null

Defined in: totp.ts:134

リプレイ防止。このカウンタ以下は受理しない(最後に受理したカウンタを渡す)。 未使用(初回)は null。


secret ​

secret: string

Defined in: totp.ts:123

共有鍵(base32)。


stepSeconds? ​

optional stepSeconds?: number

Defined in: totp.ts:136


unixSeconds ​

unixSeconds: number

Defined in: totp.ts:127

検証時刻(UTC 秒)。


windowSteps? ​

optional windowSteps?: number

Defined in: totp.ts:129

前後に許容するステップ数(既定 ±1)。