Appearance
Documentation / expo / UseMfaEnrollment
Interface: UseMfaEnrollment
Methods
initMfaEnrollment()
initMfaEnrollment(args)
initMfaEnrollment(
args
):Promise
<void
>
Parameters
• args: Object
• args.method: "sms"
• args.phoneNumber: string
Returns
Promise
<void
>
initMfaEnrollment(args)
initMfaEnrollment(
args
):Promise
<Object
>
Parameters
• args: Object
• args.method: "totp"
Returns
Promise
<Object
>
authUrl?
authUrl?:
string
secret?
secret?:
string
initMfaEnrollment(args)
initMfaEnrollment(
args
):Promise
<void
>
Parameters
• args: Object
• args.method: "passkey"
Returns
Promise
<void
>
submitMfaEnrollment()
submitMfaEnrollment(args)
submitMfaEnrollment(
args
):Promise
<void
>
Parameters
• args: Object
• args.code: string
• args.method: "sms"
• args.phoneNumber: string
Returns
Promise
<void
>
submitMfaEnrollment(args)
submitMfaEnrollment(
args
):Promise
<void
>
Parameters
• args: Object
• args.code: string
• args.method: "totp"
Returns
Promise
<void
>
submitMfaEnrollment(args)
submitMfaEnrollment(
args
):Promise
<void
>
Parameters
• args: Object
• args.credentialIds: string
[]
• args.method: "passkey"
Returns
Promise
<void
>
unenrollMfa()
unenrollMfa(
args
):Promise
<void
>
Parameters
• args: Object
• args.method: MfaMethod
Returns
Promise
<void
>