Class PlayerAuthExternalId
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.ExternalId")]
[Preserve]
public class PlayerAuthExternalId
Constructors
PlayerAuthExternalId(string, string)
Initializes a new instance of the Player
Declaration
[Preserve]
public PlayerAuthExternalId(string externalId = null, string providerId = null)
Parameters
Type | Name | Description |
---|---|---|
string | externalId | The Id of the player from the external provider.. |
string | providerId | The provider Id within the Id domain that provided the link.. |
Properties
ExternalId
The Id of the player from the external provider.
Declaration
[DataMember(Name = "externalId", EmitDefaultValue = false)]
[Preserve]
public string ExternalId { get; set; }
Property Value
Type | Description |
---|---|
string | The Id of the player from the external provider. |
ProviderId
The provider Id within the Id domain that provided the link.
Declaration
[DataMember(Name = "providerId", EmitDefaultValue = false)]
[Preserve]
public string ProviderId { get; set; }
Property Value
Type | Description |
---|---|
string | The provider Id within the Id domain that provided the link. |