Class PlayerAccountSettings
Unity Player Accounts Settings
Inherited Members
Namespace: Unity.Services.PlayerAccounts
Syntax
public class PlayerAccountSettings : ScriptableObject
Fields
clientId
Unity Player Accounts Client ID.
Declaration
[SerializeField]
[Tooltip("Unity Player Account Client ID.")]
public string clientId
Field Value
Type | Description |
---|---|
String |
customHost
Custom host.
Declaration
[HideInInspector]
[SerializeField]
[Tooltip("Custom Deep Link URI Host Prefix")]
public string customHost
Field Value
Type | Description |
---|---|
String |
customScheme
custom scheme.
Declaration
[HideInInspector]
[SerializeField]
[Tooltip("Custom Deep Link URI Scheme")]
public string customScheme
Field Value
Type | Description |
---|---|
String |
useCustomDeepLinkUri
useCustomDeepLinkUri to override deep link uri'
Declaration
[HideInInspector]
[SerializeField]
[Tooltip("Override the default redirect uri")]
public bool useCustomDeepLinkUri
Field Value
Type | Description |
---|---|
Boolean |
Properties
AccountPortalUrl
The account portal URL for managing player's account and privacy features, including delete account.
Declaration
public static string AccountPortalUrl { get; }
Property Value
Type | Description |
---|---|
String |
AuthUrl
The authorization endpoint URL.
Declaration
public static string AuthUrl { get; }
Property Value
Type | Description |
---|---|
String |
ClientId
Unity Player Accounts Client ID.
Declaration
public static string ClientId { get; set; }
Property Value
Type | Description |
---|---|
String |
CloudProjectId
The Cloud project Id associated with the current project
Declaration
public static string CloudProjectId { get; set; }
Property Value
Type | Description |
---|---|
String |
CodeChallengeMethod
The code challenge method.
Declaration
public static string CodeChallengeMethod { get; }
Property Value
Type | Description |
---|---|
String |
DeepLinkUriHostPrefix
Prefix value for the deep link Uri Host name for Android and iOS platforms.
Declaration
public static string DeepLinkUriHostPrefix { get; }
Property Value
Type | Description |
---|---|
String |
DeepLinkUriScheme
Scheme for the deep link Uri for Android and iOS platforms.
Declaration
public static string DeepLinkUriScheme { get; }
Property Value
Type | Description |
---|---|
String |
Instance
The instance of the PlayerAccountSettings class.
Declaration
public static PlayerAccountSettings Instance { get; }
Property Value
Type | Description |
---|---|
PlayerAccountSettings |
Scope
The scope of access that your player account requires. Example: 'openid;email'
Declaration
public static string Scope { get; }
Property Value
Type | Description |
---|---|
String |
ScopeFlags
Scope Flags
Declaration
public PlayerAccountSettings.SupportedScopesEnum ScopeFlags { get; set; }
Property Value
Type | Description |
---|---|
PlayerAccountSettings.SupportedScopesEnum |
TokenUrl
The token endpoint URL.
Declaration
public static string TokenUrl { get; }
Property Value
Type | Description |
---|---|
String |
UseCustomUri
Returns true if using a custom uri
Declaration
public static bool UseCustomUri { get; }
Property Value
Type | Description |
---|---|
Boolean |