Index
Properties
enrolledFactors
Methods
enroll
- enroll ( assertion : MultiFactorAssertion , displayName ? : string | null ) : Promise < void >
-
Parameters
-
assertion: MultiFactorAssertion
-
Optional displayName: string | null
Returns Promise<void>
-
getSession
- get
Session ( ) : Promise < MultiFactorSession > -
Returns Promise<MultiFactorSession>
The promise that resolves with the firebase.auth.MultiFactorSession.
Error Codes
- auth/user-token-expired
- Thrown if the token of the user is expired.
unenroll
- unenroll ( option : MultiFactorInfo | string ) : Promise < void >
-
Parameters
-
option: MultiFactorInfo | string
Returns Promise<void>
-