Method | Description | |
---|---|---|
Custom ( string identityProvider, string userIdentifier, object>.IDictionary |
Creates an instance of Credentials with a custom provider and user identifier.
|
|
Debug ( ) : |
Creates an instance of Credentials to be used during development. Not enabled for Realm Object Server configured for production.
|
|
Facebook ( string facebookToken ) : |
Creates Credentials based on a Facebook login.
|
|
Google ( string googleToken ) : |
Creates Credentials based on a Google login.
|
|
UsernamePassword ( string username, string password, bool createUser ) : |
Creates Credentials based on a login with a username and a password.
|
Method | Description | |
---|---|---|
AccessToken ( string accessToken, string identity, bool isAdmin = false ) : |
||
Credentials ( ) : System | ||
Credentials ( ) : System.Collections.Generic | ||
ToJson ( ) : JsonObject |
public static Custom ( string identityProvider, string userIdentifier, object>.IDictionary |
||
identityProvider | string | Provider used to verify the credentials. |
userIdentifier | string | String identifying the user. Usually a username of id. |
userInfo | object>.IDictionary | Data describing the user further or null if the user does not have any extra data. The data will be serialized to JSON, so all values must be mappable to a valid JSON data type. |
return |
public static Facebook ( string facebookToken ) : |
||
facebookToken | string | A Facebook authentication token, obtained by logging into Facebook. |
return |
public static Google ( string googleToken ) : |
||
googleToken | string | A Google authentication token, obtained by logging into Google. |
return |
public static UsernamePassword ( string username, string password, bool createUser ) : |
||
username | string | The username of the user. |
password | string | The user's password. |
createUser | bool | |
return |