Members
Gets the identity provider for the credentials.
Methods
- key
- Type:
string
A string identifying the API key.
- token
- Type:
string
An Apple authentication token, obtained by logging into Apple.
- username
- Type:
string
The username of the user.
- password
- Type:
string
The user's password.
- token
- Type:
string
A Facebook authentication token, obtained by logging into Facebook.
- payload
- Type:
string
A string identifying the user. Usually an identity token or a username.
- An
- Type:
object
object with either an
authCode
oridToken
property.- token
- Type:
string
A string identifying the user. Usually an identity token or a username.
Credentials
Creates credentials for an anonymous user. These can only be used once - using them a second
time will result in a different user being logged in. If you need to get a user that has already logged
in with the Anonymous credentials, use Realm.App.currentUser
or Realm.App.allUsers
Credentials
An instance of Credentials
that can be used in Realm.App.logIn
.
Credentials
Creates credentials from an API key.
Parameters:
Credentials
An instance of Credentials
that can be used in Realm.App.logIn
.
Credentials
Creates credentials based on an Apple login.
Parameters:
Credentials
An instance of Credentials
that can be used in Realm.App.logIn
.
Credentials
Creates credentials based on a login with an email address and a password.
Parameters:
Credentials
An instance of Credentials
that can be used in Realm.App.logIn
.
Credentials
Creates credentials based on a Facebook login.
Parameters:
Credentials
An instance of Credentials
that can be used in Realm.App.logIn
.
Promise<Credentials>
Creates credentials with an Atlas App Services function and user identifier.
Parameters:
Promise<Credentials>
An instance of Credentials
that can be used in Realm.App.logIn
.
Credentials
Creates credentials based on a Google login.
Parameters:
Credentials
An instance of Credentials
that can be used in Realm.App.logIn
.
Credentials
Creates credentials with a JSON Web Token (JWT) provider and user identifier.
Parameters:
Credentials
An instance of Credentials
that can be used in Realm.App.logIn
.