Skip to content

Documentation / expo / UseMfa

Interface: UseMfa ​

Methods ​

cancel() ​

cancel(): void

Returns ​

void


init() ​

init(args) ​

init(args): Promise<void>

Parameters ​

• args: Object

• args.method: "sms"

Returns ​

Promise<void>

init(args) ​

init(args): Promise<void>

Parameters ​

• args: Object

• args.method: "totp"

Returns ​

Promise<void>

init(args) ​

init(args): Promise<PublicKeyCredentialRequestOptionsJSON>

Parameters ​

• args: Object

• args.method: "passkey"

• args.relyingParty?: string

Returns ​

Promise<PublicKeyCredentialRequestOptionsJSON>


submit() ​

submit(args) ​

submit(args): Promise<void>

Parameters ​

• args: Object

• args.method: "sms" | "totp"

• args.mfaCode: string

• args.relyingParty?: string

Returns ​

Promise<void>

submit(args) ​

submit(args): Promise<void>

Parameters ​

• args: Object

• args.method: "passkey"

• args.mfaCode: PublicKeyCredentialRequestOptionsJSON

• args.relyingParty?: string

Returns ​

Promise<void>