Members
Gets the identity provider for the credentials.
Methods
- token
- Type:
string
An Apple authentication token, obtained by logging into Apple.
- token
- Type:
string
A string identifying the user. Usually an identity token or a username.
- 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..
- token
- Type:
string
A string identifying the user. Usually an identity token or a username.
- token
- Type:
string
A Google authentication token, obtained by logging into Google.
- key
- Type:
string
A string identifying the user by API key.
- key
- Type:
string
A string identifying the user by API key.
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 based on an Apple login.
Parameters:
Credentials
An instance of Credentials
that can be used in Realm.App.logIn
.
Credentials
Creates credentials with a custom provider and user identifier.
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 a MongoDB Realm 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 from a server API key.
Parameters:
Credentials
An instance of Credentials
that can be used in Realm.App.logIn
.
Credentials
Creates credentials from a user API key.
Parameters:
Credentials
An instance of Credentials
that can be used in Realm.App.logIn
.