Don’t forget to subscribe to the
SequenceWallet.OnWalletCreated
event to receive your newly created wallet!Custom Integrations
Otherwise, you’ll want to call theLogin(string email)
async Task on SequenceLogin
to initiate authentication with the API; this will send the OTP challenge to the specified email.
Once the user has input their OTP code, you’ll want to call the Login(string email, string code)
async Task on SequenceLogin
to finish authenticating the user.
Relevant events include:
-
OnMFAEmailSent
- this event includes a string specifying the email where the OTP was sent -
OnMFAEmailFailedToSend
- this event includes two strings: the email where the OTP was requested and the error message -
OnLoginFailed
- this event includes: the error message string, theLoginMethod
that was used, and the email string associated with the login attempt