Class PlayerAuthPlayerProjectResponse
represents a player provided by an External Provider
Inherited Members
Namespace: Unity.Services.Apis.Admin.PlayerAuthentication
Assembly: Unity.Services.Apis.dll
Syntax
[DataContract(Name = "player-auth.PlayerProjectResponse")]
[Preserve]
public class PlayerAuthPlayerProjectResponse
Constructors
PlayerAuthPlayerProjectResponse(bool, List<PlayerAuthExternalId>, string, string, string)
Initializes a new instance of the Player
Declaration
[Preserve]
public PlayerAuthPlayerProjectResponse(bool disabled = false, List<PlayerAuthExternalId> externalIds = null, string id = null, string createdAt = null, string lastLoginAt = null)
Parameters
Type | Name | Description |
---|---|---|
bool | disabled | Whether the player is enabled or disabled by admin.. |
List<Player |
externalIds | This is the response returned when get player is called.. |
string | id | The player Id. The Id is unique within the Id domain.. |
string | createdAt | When the player was created at. It is a unix timestamp.. |
string | lastLoginAt | When the player last logged in. It is a unix timestamp.. |
Properties
CreatedAt
When the player was created at. It is a unix timestamp.
Declaration
[DataMember(Name = "createdAt", EmitDefaultValue = false)]
[Preserve]
public string CreatedAt { get; set; }
Property Value
Type | Description |
---|---|
string | When the player was created at. It is a unix timestamp. |
Disabled
Whether the player is enabled or disabled by admin.
Declaration
[DataMember(Name = "disabled", EmitDefaultValue = true)]
[Preserve]
public bool Disabled { get; set; }
Property Value
Type | Description |
---|---|
bool | Whether the player is enabled or disabled by admin. |
ExternalIds
This is the response returned when get player is called.
Declaration
[DataMember(Name = "externalIds", EmitDefaultValue = false)]
[Preserve]
public List<PlayerAuthExternalId> ExternalIds { get; set; }
Property Value
Type | Description |
---|---|
List<Player |
This is the response returned when get player is called. |
Id
The player Id. The Id is unique within the Id domain.
Declaration
[DataMember(Name = "id", EmitDefaultValue = false)]
[Preserve]
public string Id { get; set; }
Property Value
Type | Description |
---|---|
string | The player Id. The Id is unique within the Id domain. |
LastLoginAt
When the player last logged in. It is a unix timestamp.
Declaration
[DataMember(Name = "lastLoginAt", EmitDefaultValue = false)]
[Preserve]
public string LastLoginAt { get; set; }
Property Value
Type | Description |
---|---|
string | When the player last logged in. It is a unix timestamp. |