TwoFactorAuth REST endpoints
vendor/magento/module-two-factor-auth/etc/webapi.xml
GET
/V1/tfa/default-provider-code/:userId
Get default provider
TwoFactorAuth · Magento\TwoFactorAuth\Api\UserConfigManagerInterface::getDefaultProvider
/V1/tfa/forced-providers
Retrieve forced providers list
TwoFactorAuth · Magento\TwoFactorAuth\Api\TfaInterface::getForcedProviders
/V1/tfa/installed-providers
Get a list of providers
TwoFactorAuth · Magento\TwoFactorAuth\Api\TfaInterface::getAllProviders
/V1/tfa/providers-to-activate/:userId
Returns a list of providers to configure/enroll
TwoFactorAuth · Magento\TwoFactorAuth\Api\TfaInterface::getProvidersToActivate
/V1/tfa/tfat-providers-to-activate
AnonymousGet the providers that the user still needs to configure
TwoFactorAuth · Magento\TwoFactorAuth\Api\TfatActionsInterface::getProvidersToActivate
/V1/tfa/tfat-user-providers
AnonymousGet the providers that the user is able to use for 2fa
TwoFactorAuth · Magento\TwoFactorAuth\Api\TfatActionsInterface::getUserProviders
/V1/tfa/user-providers/:userId
Get a user provider
TwoFactorAuth · Magento\TwoFactorAuth\Api\TfaInterface::getUserProviders
POST
/V1/integration/admin/token
AnonymousTwoFactorAuth · Magento\TwoFactorAuth\Api\AdminTokenServiceInterface::createAdminAccessToken
/V1/tfa/provider/authy/activate
AnonymousActivate the provider and get an admin token
TwoFactorAuth · Magento\TwoFactorAuth\Api\AuthyConfigureInterface::activate
/V1/tfa/provider/authy/authenticate
AnonymousGet an admin token using authy 2fa
TwoFactorAuth · Magento\TwoFactorAuth\Api\AuthyAuthenticateInterface::createAdminAccessTokenWithCredentials
/V1/tfa/provider/authy/authenticate-onetouch
AnonymousAuthenticate using the present one touch response and get an admin token
TwoFactorAuth · Magento\TwoFactorAuth\Api\AuthyAuthenticateInterface::creatAdminAccessTokenWithOneTouch
/V1/tfa/provider/authy/configure
AnonymousGet the information required to configure google
TwoFactorAuth · Magento\TwoFactorAuth\Api\AuthyConfigureInterface::sendDeviceRegistrationPrompt
/V1/tfa/provider/authy/send-token/:via
AnonymousSend a one time password to a device using authy
TwoFactorAuth · Magento\TwoFactorAuth\Api\AuthyAuthenticateInterface::sendToken
/V1/tfa/provider/duo_security/activate
AnonymousActivate the provider and get an admin token
TwoFactorAuth · Magento\TwoFactorAuth\Api\DuoConfigureInterface::duoActivate
/V1/tfa/provider/duo_security/authenticate
AnonymousAuthenticate and get an admin token with passcode
TwoFactorAuth · Magento\TwoFactorAuth\Api\DuoAuthenticateInterface::createAdminAccessTokenWithCredentialsAndPasscode
/V1/tfa/provider/duo_security/configure
AnonymousConfigure duo for first time user
TwoFactorAuth · Magento\TwoFactorAuth\Api\DuoConfigureInterface::getDuoConfigurationData
/V1/tfa/provider/google/activate
AnonymousActivate the provider and get an admin token
TwoFactorAuth · Magento\TwoFactorAuth\Api\GoogleConfigureInterface::activate
/V1/tfa/provider/google/authenticate
AnonymousGet an admin token by authenticating using google
TwoFactorAuth · Magento\TwoFactorAuth\Api\GoogleAuthenticateInterface::createAdminAccessToken
/V1/tfa/provider/google/configure
AnonymousGet the information required to configure google
TwoFactorAuth · Magento\TwoFactorAuth\Api\GoogleConfigureInterface::getConfigurationData
/V1/tfa/provider/u2fkey/activate
AnonymousActivate the provider and get a token
TwoFactorAuth · Magento\TwoFactorAuth\Api\U2fKeyConfigureInterface::activate
/V1/tfa/provider/u2fkey/authentication-challenge
AnonymousGet the information to initiate a WebAuthn registration ceremony
TwoFactorAuth · Magento\TwoFactorAuth\Api\U2fKeyAuthenticateInterface::getAuthenticationData
/V1/tfa/provider/u2fkey/configure
AnonymousGet the information to initiate a WebAuthn registration ceremony
TwoFactorAuth · Magento\TwoFactorAuth\Api\U2fKeyConfigureInterface::getRegistrationData
/V1/tfa/provider/u2fkey/verify
AnonymousAuthenticate with the provider and get a token
TwoFactorAuth · Magento\TwoFactorAuth\Api\U2fKeyAuthenticateInterface::createAdminAccessToken
PUT
Every Magento dev tool, in one hosted workspace.
Free to sign up. Nothing to install. Drafts, audits, and projects saved across every tool.