Returns information about the auth factors of the current user and refreshes the related session claim
Request Code Samples
curl --location --request PUT 'http://localhost:8000//mfa/info'
Responses
application/json
Information about the auth factors of the current user and optionally the session with a refreshed MFA claim
{
"status": "OK",
"factors": {
"alreadySetup": [
"string"
],
"allowedToSetup": [
"string"
],
"next": [
"string"
]
},
"emails": {
"emailpassword": [
"string"
],
"otp-email": [
"string"
],
"link-email": [
"string"
]
},
"phoneNumbers": {
"otp-phone": [
"string"
],
"link-phone": [
"string"
]
}
}
Modified at 2024-10-01 07:35:40