two-factor-auth-controller
Get available 2FA providers (getAvailableTwoFaProviders)
Get the list of 2FA provider infos available for user to use. Example:
[
{
"type": "EMAIL",
"default": true,
"contact": "ab*****ko@gmail.com"
},
{
"type": "TOTP",
"default": false,
"contact": null
},
{
"type": "SMS",
"default": false,
"contact": "+38********12"
}
]
get/api/auth/2fa/providers
Response
OK