React Native Firebase
Documentation
GitHub
npm
Preparing search index...
@react-native-firebase/auth
OAuthProvider
Class OAuthProvider
Index
Accessors
PROVIDER_
ID
Constructors
constructor
Methods
add
Scope
credential
get
Custom
Parameters
get
Scopes
set
Custom
Parameters
credential
From
Error
credential
From
JSON
credential
From
Result
Accessors
PROVIDER_
ID
get
PROVIDER_ID
()
:
string
Returns
string
Constructors
constructor
new
OAuthProvider
(
providerId
:
string
)
:
OAuthProvider
Parameters
providerId
:
string
Returns
OAuthProvider
Methods
add
Scope
addScope
(
scope
:
string
)
:
OAuthProvider
Parameters
scope
:
string
Returns
OAuthProvider
credential
credential
(
params
:
OAuthCredentialOptions
)
:
OAuthCredential
Parameters
params
:
OAuthCredentialOptions
Returns
OAuthCredential
get
Custom
Parameters
getCustomParameters
()
:
CustomParameters
Returns
CustomParameters
get
Scopes
getScopes
()
:
string
[]
Returns
string
[]
set
Custom
Parameters
setCustomParameters
(
customOAuthParameters
:
CustomParameters
)
:
OAuthProvider
Parameters
customOAuthParameters
:
CustomParameters
Returns
OAuthProvider
Static
credential
From
Error
credentialFromError
(
_error
:
AuthError
)
:
OAuthCredential
|
null
Parameters
_error
:
AuthError
Returns
OAuthCredential
|
null
Remarks
Always returns
null
on React Native Firebase.
Static
credential
From
JSON
credentialFromJSON
(
json
:
string
|
object
)
:
OAuthCredential
Parameters
json
:
string
|
object
Returns
OAuthCredential
Static
credential
From
Result
credentialFromResult
(
_userCredential
:
UserCredential
)
:
OAuthCredential
|
null
Parameters
_userCredential
:
UserCredential
Returns
OAuthCredential
|
null
Remarks
Always returns
null
on React Native Firebase.
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
On This Page
Accessors
PROVIDER_
ID
Constructors
constructor
Methods
add
Scope
credential
get
Custom
Parameters
get
Scopes
set
Custom
Parameters
credential
From
Error
credential
From
JSON
credential
From
Result
Documentation
Documentation
GitHub
npm
React Native Firebase
Loading...
Remarks
Always returns
nullon React Native Firebase.