TypeScript API / @laikacms/server/oauth2 / OAuthTotpConfig
Interface: OAuthTotpConfig
OAuth TOTP configuration - standalone config for OAuth authentication flow. Uses a simpler callback interface than the full TOTPConfig.
Properties
callbacks
ts
callbacks: OAuthTotpCallbacks;Callbacks for TOTP operations
enabled
ts
enabled: boolean;Enable TOTP 2FA
issuer
ts
issuer: string;Issuer name (displayed in authenticator app)
required?
ts
optional required?: boolean;Require users to set up TOTP (forces enrollment if not configured)
window?
ts
optional window?: number;Number of time steps to allow for clock drift (default: 1)