Class CustomIDRequest
Request for signing up or signing in a player with Custom ID.
Inherited Members
Namespace: Unity.Services.Apis.PlayerAuthentication
Assembly: solution.dll
Syntax
[Preserve]
public class CustomIDRequest
Constructors
CustomIDRequest(string, bool)
Initializes a new instance of the CustomIDRequest class.
Declaration
[Preserve]
public CustomIDRequest(string externalId = null, bool signInOnly = false)
Parameters
Type | Name | Description |
---|---|---|
string | externalId | The external id used to identify the player. Length must be between 1-320. (required). |
bool | signInOnly | Whether the API should only attempt to sign-in and do not create a new player if the player does not exist.. |
Properties
ExternalId
The external id used to identify the player. Length must be between 1-320.
Declaration
[Preserve]
public string ExternalId { get; set; }
Property Value
Type | Description |
---|---|
string | The external id used to identify the player. Length must be between 1-320. |
SignInOnly
Whether the API should only attempt to sign-in and do not create a new player if the player does not exist.
Declaration
[Preserve]
public bool SignInOnly { get; set; }
Property Value
Type | Description |
---|---|
bool | Whether the API should only attempt to sign-in and do not create a new player if the player does not exist. |