Skip to content

TypeScript API / @laikacms/server/oauth2 / PendingTotpSessionPurpose

Type Alias: PendingTotpSessionPurpose ​

ts
type PendingTotpSessionPurpose = "login" | "setup";

Why a pending TOTP session token exists. Login-stage and enrollment-stage tokens are not interchangeable and must never be resolved across purposes.

Released under the MIT License.