Skip to main content

Module mfa

Module mfa 

Source

Structs§

DisableTotpRequest
Body for POST /api/v1/auth/me/2fa/totp/disable.
MfaChallengeResponse
Returned by POST /api/v1/auth/login when the user has 2FA enrolled.
MfaEmailRequest
Body for POST /api/v1/auth/mfa/email.
MfaStatusResponse
Returned by GET /api/v1/auth/me/2fa.
MfaVerifyRequest
Body for POST /api/v1/auth/mfa/verify.
RegenerateRecoveryCodesRequest
Body for POST /api/v1/auth/me/2fa/recovery-codes/regenerate.
RegenerateRecoveryCodesResponse
Returned by POST /api/v1/auth/me/2fa/recovery-codes/regenerate.
TotpConfirmRequest
Body for POST /api/v1/auth/me/2fa/totp/confirm.
TotpConfirmResponse
Returned by POST /api/v1/auth/me/2fa/totp/confirm.
TotpEnrollResponse
Returned by POST /api/v1/auth/me/2fa/totp/enroll.

Enums§

MfaMethod
Identifies the MFA method used in a challenge verification request.