get__mfa_methods
TypeScript Client Library
// Note: This endpoint doesn't have a direct client method in the provided TypeScript client
// You would need to use the generic makeRequest method:
// this.makeRequest<any>('mfa/methods', 'GET', null);Code Samples
# You can also use wget
curl -X GET https://backend.flashback.tech/mfa/methods \
-H 'Accept: application/json' \
-H 'Authorization: Bearer {access-token}'GET https://backend.flashback.tech/mfa/methods HTTP/1.1
Host: localhost:3000
Accept: application/json
Authorization: Bearer {access-token}const headers = {
'Accept':'application/json',
'Authorization':'Bearer {access-token}'
};
fetch('https://backend.flashback.tech/mfa/methods',
{
method: 'GET',
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});{
"success": true,
"data": [
{
"type": "GOOGLE_AUTH",
"name": "Google Authenticator",
"description": "Time-based one-time password using Google Authenticator app",
"isAvailable": true,
"isConfigured": true,
"isEnabled": true
},
{
"type": "MAGIC_LINK",
"name": "Magic Link",
"description": "Email-based authentication using secure links",
"isAvailable": true,
"isConfigured": false,
"isEnabled": false
},
{
"type": "PASSKEY",
"name": "Passkey",
"description": "WebAuthn-based biometric or hardware key authentication",
"isAvailable": true,
"isConfigured": true,
"isEnabled": true
}
]
}Responses
Status
Meaning
Description
Schema
Response Schema
Name
Type
Required
Restrictions
Description
Name
Type
Required
Restrictions
Description
Parameter
Value
Description
Last updated
Was this helpful?