Skip to main content
All authenticator app SDK methods require you to initiate an action first. Check out our guide on TOTP authentication for more details.

Enroll TOTP

Start enrollment for a new TOTP authenticator by generating a QR code to display to the user.

Response

AuthsignalResponse<EnrollTotpResponse>
EnrollTotpResponse

Verify TOTP

Finish enrolling or re-authenticating a TOTP authenticator by verifying the code submitted by the user.

Parameters

string
The OTP code inputted by the user.

Response

AuthsignalResponse<VerifyResponse>
VerifyResponse