React Native Firebase
Documentation
GitHub
npm
Preparing search index...
@react-native-firebase/auth
PhoneAuthProvider
Class PhoneAuthProvider
Index
Constructors
constructor
Methods
verify
Phone
Number
credential
credential
From
Error
credential
From
Result
Properties
provider
Id
PHONE_
SIGN_
IN_
METHOD
PROVIDER_
ID
Constructors
constructor
new
PhoneAuthProvider
(
auth
:
Auth
)
:
PhoneAuthProvider
Parameters
auth
:
Auth
Returns
PhoneAuthProvider
Methods
verify
Phone
Number
verifyPhoneNumber
(
phoneInfoOptions
:
string
|
PhoneInfoOptions
,
appVerifier
:
ApplicationVerifier
,
)
:
Promise
<
string
>
Parameters
phoneInfoOptions
:
string
|
PhoneInfoOptions
appVerifier
:
ApplicationVerifier
Returns
Promise
<
string
>
verifyPhoneNumber
(
phoneInfoOptions
:
|
PhoneMultiFactorEnrollInfoOptions
|
PhoneMultiFactorSignInInfoOptions
,
)
:
Promise
<
string
>
Parameters
phoneInfoOptions
:
PhoneMultiFactorEnrollInfoOptions
|
PhoneMultiFactorSignInInfoOptions
Returns
Promise
<
string
>
Static
credential
credential
(
verificationId
:
string
,
code
:
string
)
:
PhoneAuthCredential
Parameters
verificationId
:
string
code
:
string
Returns
PhoneAuthCredential
Static
credential
From
Error
credentialFromError
(
_error
:
AuthError
)
:
PhoneAuthCredential
|
null
Parameters
_error
:
AuthError
Returns
PhoneAuthCredential
|
null
Static
credential
From
Result
credentialFromResult
(
_userCredential
:
UserCredential
,
)
:
PhoneAuthCredential
|
null
Parameters
_userCredential
:
UserCredential
Returns
PhoneAuthCredential
|
null
Properties
Readonly
provider
Id
providerId
:
"phone"
= providerId
Static
Readonly
PHONE_
SIGN_
IN_
METHOD
PHONE_SIGN_IN_METHOD
:
"phone"
= providerId
Static
Readonly
PROVIDER_
ID
PROVIDER_ID
:
"phone"
= providerId
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Methods
verify
Phone
Number
credential
credential
From
Error
credential
From
Result
Properties
provider
Id
PHONE_
SIGN_
IN_
METHOD
PROVIDER_
ID
Documentation
Documentation
GitHub
npm
React Native Firebase
Loading...