TypeScript API / @laikacms/server/oauth2 / setupOAuthTOTP
Function: setupOAuthTOTP()
ts
function setupOAuthTOTP(
userId,
userEmail,
config
): Promise<TOTPSetupData>;Start TOTP setup for OAuth flow
Parameters
| Parameter | Type |
|---|---|
userId | string |
userEmail | string |
config | OAuthTotpConfig |
Returns
Promise<TOTPSetupData>