Class ExternalId
Represents a Player provided by an External Provider.
Inherited Members
Namespace: Unity.Services.Apis.PlayerAuthentication
Assembly: Unity.Services.Apis.dll
Syntax
[DataContract(Name = "ExternalId")]
[Preserve]
public class ExternalId
Constructors
ExternalId(string, string)
Initializes a new instance of the External
Declaration
[Preserve]
public ExternalId(string externalId = null, string providerId = null)
Parameters
Type | Name | Description |
---|---|---|
string | externalId | The Id of the player from the external provider. (required). |
string | providerId | The provider Id within the Id domain that provided the link. (required). |
Properties
ProviderId
The provider Id within the Id domain that provided the link.
Declaration
[DataMember(Name = "providerId", IsRequired = true, EmitDefaultValue = true)]
[Preserve]
public string ProviderId { get; set; }
Property Value
Type | Description |
---|---|
string | The provider Id within the Id domain that provided the link. |
_ExternalId
The Id of the player from the external provider.
Declaration
[DataMember(Name = "externalId", IsRequired = true, EmitDefaultValue = true)]
[Preserve]
public string _ExternalId { get; set; }
Property Value
Type | Description |
---|---|
string | The Id of the player from the external provider. |