TypeScript API / @laikacms/server/oauth2 / BackupCode
Interface: BackupCode
Backup code for account recovery
Properties
codeHash
ts
codeHash: string;The backup code (hashed)
createdAt
ts
createdAt: number;Creation timestamp
used
ts
used: boolean;Whether the code has been used
usedAt?
ts
optional usedAt?: number;Used timestamp
userId
ts
userId: string;User ID