Class AppleGameCenterConfig
The request body for Apple Game Center authentication. This field is not applicable for any other Id provider.
Inherited Members
Namespace: Unity.Services.Apis.PlayerAuthentication
Assembly: Unity.Services.Apis.dll
Syntax
[DataContract(Name = "AppleGameCenterConfig")]
[Preserve]
public class AppleGameCenterConfig
Constructors
AppleGameCenterConfig(string, int, string, string)
Initializes a new instance of the Apple
Declaration
[Preserve]
public AppleGameCenterConfig(string teamPlayerId = null, int timestamp = 0, string publicKeyUrl = null, string salt = null)
Parameters
Type | Name | Description |
---|---|---|
string | teamPlayerId | String value of the Apple Game Center player's team player Id. (required). |
int | timestamp | Integer value of the timestamp. (required). |
string | publicKeyUrl | String value of the Apple Game Center public key url. (required). |
string | salt | String value of the base64 encoded salt. (required). |
Properties
PublicKeyUrl
String value of the Apple Game Center public key url.
Declaration
[DataMember(Name = "publicKeyUrl", IsRequired = true, EmitDefaultValue = true)]
[Preserve]
public string PublicKeyUrl { get; set; }
Property Value
Type | Description |
---|---|
string | String value of the Apple Game Center public key url. |
Salt
String value of the base64 encoded salt.
Declaration
[DataMember(Name = "salt", IsRequired = true, EmitDefaultValue = true)]
[Preserve]
public string Salt { get; set; }
Property Value
Type | Description |
---|---|
string | String value of the base64 encoded salt. |
TeamPlayerId
String value of the Apple Game Center player's team player Id.
Declaration
[DataMember(Name = "teamPlayerId", IsRequired = true, EmitDefaultValue = true)]
[Preserve]
public string TeamPlayerId { get; set; }
Property Value
Type | Description |
---|---|
string | String value of the Apple Game Center player's team player Id. |
Timestamp
Integer value of the timestamp.
Declaration
[DataMember(Name = "timestamp", IsRequired = true, EmitDefaultValue = true)]
[Preserve]
public int Timestamp { get; set; }
Property Value
Type | Description |
---|---|
int | Integer value of the timestamp. |