2FA Endpoints
TwoStepVerificationController<TUserKey, TUser>
2FA Enable
Use this endpoint to send email with 2fa token for enabling 2fa.
Default URL: /users/enable_2fa
Authorizations : (Jwt)
Method | Request | Response |
---|---|---|
GET | - | HTTP_200_OK, HTTP_400_BAD_REQUEST, HTTP_401_UNAUTHORIZED |
2FA Enable Confirm
Use this endpoint to finish enabling 2fa process.
Default URL: /users/enable_2fa_confirm
Authorizations : (Jwt)
Method | Request | Response |
---|---|---|
POST |
|
HTTP_200_OK, HTTP_400_BAD_REQUEST, HTTP_401_UNAUTHORIZED |
2FA Login
Use this endpoint to login with 2fa process.
Default URL: /users/two_step_verification_login
Authorizations : (None)
Method | Request | Response |
---|---|---|
POST |
|
|
2FA Login Confirm
Use this endpoint to login with 2fa process.
Default URL: /users/two_step_verification_confirm
Authorizations : (None)
Method | Request | Response |
---|---|---|
POST |
|
|