Auth0 Universal Components
GitHub
Auth0
Preparing search index...
core/src
MFAMappers
Variable MFAMappers
Const
MFAMappers
:
{
buildConfirmEnrollmentParams
(
factorType
:
MFAType
,
authSession
:
string
,
options
:
ConfirmEnrollmentOptions
,
)
:
VerifyAuthenticationMethodRequestContent
;
buildEnrollParams
(
factorType
:
MFAType
,
options
?:
EnrollOptions
,
)
:
CreateAuthenticationMethodRequestContent
;
fromAPI
(
availableFactorsResponse
:
ListFactorsResponseContent
,
enrolledFactorsResponse
:
ListAuthenticationMethodsResponseContent
,
onlyActive
?:
boolean
,
)
:
Record
<
MFAType
,
Authenticator
[]
>
;
}
= ...
Type Declaration
buildConfirmEnrollmentParams
:
function
buildConfirmEnrollmentParams
(
factorType
:
MFAType
,
authSession
:
string
,
options
:
ConfirmEnrollmentOptions
,
)
:
VerifyAuthenticationMethodRequestContent
Parameters
factorType
:
MFAType
authSession
:
string
options
:
ConfirmEnrollmentOptions
Returns
VerifyAuthenticationMethodRequestContent
buildEnrollParams
:
function
buildEnrollParams
(
factorType
:
MFAType
,
options
?:
EnrollOptions
,
)
:
CreateAuthenticationMethodRequestContent
Parameters
factorType
:
MFAType
options
:
EnrollOptions
= {}
Returns
CreateAuthenticationMethodRequestContent
fromAPI
:
function
fromAPI
(
availableFactorsResponse
:
ListFactorsResponseContent
,
enrolledFactorsResponse
:
ListAuthenticationMethodsResponseContent
,
onlyActive
?:
boolean
,
)
:
Record
<
MFAType
,
Authenticator
[]
>
Parameters
availableFactorsResponse
:
ListFactorsResponseContent
enrolledFactorsResponse
:
ListAuthenticationMethodsResponseContent
onlyActive
:
boolean
= false
Returns
Record
<
MFAType
,
Authenticator
[]
>
Settings
Member Visibility
Inherited
External
Theme
OS
Light
Dark
GitHub
Auth0
Auth0 Universal Components
Loading...