React Native Firebase
GitHub
npm
Preparing search index...
@react-native-firebase/auth
FirebaseAuthTypes
TotpMultiFactorGenerator
Interface TotpMultiFactorGenerator
interface
TotpMultiFactorGenerator
{
FACTOR_ID
:
TOTP
;
assertionForEnrollment
(
secret
:
FirebaseAuthTypes
.
TotpSecret
,
code
:
string
,
)
:
MultiFactorAssertion
;
assertionForSignIn
(
uid
:
string
,
totpSecret
:
string
)
:
MultiFactorAssertion
;
generateSecret
(
session
:
MultiFactorSession
,
auth
:
Auth
,
)
:
Promise
<
FirebaseAuthTypes
.
TotpSecret
>
;
}
Index
Methods
assertion
For
Enrollment
assertion
For
Sign
In
generate
Secret
Properties
FACTOR_
ID
Methods
assertion
For
Enrollment
assertionForEnrollment
(
secret
:
FirebaseAuthTypes
.
TotpSecret
,
code
:
string
,
)
:
MultiFactorAssertion
Parameters
secret
:
FirebaseAuthTypes
.
TotpSecret
code
:
string
Returns
MultiFactorAssertion
assertion
For
Sign
In
assertionForSignIn
(
uid
:
string
,
totpSecret
:
string
)
:
MultiFactorAssertion
Parameters
uid
:
string
totpSecret
:
string
Returns
MultiFactorAssertion
generate
Secret
generateSecret
(
session
:
MultiFactorSession
,
auth
:
Auth
,
)
:
Promise
<
FirebaseAuthTypes
.
TotpSecret
>
Parameters
session
:
MultiFactorSession
auth
:
Auth
The Auth instance. Only used for native platforms, should be ignored on web.
Returns
Promise
<
FirebaseAuthTypes
.
TotpSecret
>
Properties
FACTOR_
ID
FACTOR_ID
:
TOTP
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
On This Page
Methods
assertion
For
Enrollment
assertion
For
Sign
In
generate
Secret
Properties
FACTOR_
ID
Documentation
GitHub
npm
React Native Firebase
Loading...
The Auth instance. Only used for native platforms, should be ignored on web.