TwoFactorAuth
📄️ Generate TOTP seed
This method generates TOTP seed and QR code for 2FA. User needs to verify the seed value using 2fa/totp/enable endpoint
📄️ Enable TOTP seed
This method enables TOTP for a user by verifying the seed value generated from 2fa/totp/setup
📄️ Disable TOTP auth
This method disables TOTP for a user. Does not affect other 2FA mechanisms a user might have set up
📄️ Validate TOTP Token
This method checks if a TOTP token provided by a User is valid for authentication
📄️ Disable 2FA
This method disables all 2FA mechanisms a user might have set up
📄️ Enable custom 2FA for a user
This method disables account password for IMAP/POP3/SMTP
📄️ Disable custom 2FA for a user
This method disables custom 2FA. If it was the only 2FA set up, then account password for IMAP/POP3/SMTP gets enabled again
📄️ Get WebAuthN credentials for a user
This method returns the list of WebAuthN credentials for a given user
📄️ Remove WebAuthN authenticator
This method deletes the given WebAuthN authenticator for given user.
📄️ Get the WebAuthN registration challenge
This method initiates the WebAuthN authenticator registration challenge
📄️ Attestate WebAuthN authenticator
Attestation is used to verify the authenticity of the authenticator and provide assurances about its features.
📄️ Begin WebAuthN authentication challenge
This method retrieves the WebAuthN PublicKeyCredentialRequestOptions object to use it for authentication
📄️ WebAuthN authentication Assertion
Assert WebAuthN authentication request and actually authenticate the user