Class LinkExternalIdRequest
the request body for link external id
Inherited Members
Namespace: Unity.Services.Apis.PlayerAuthentication
Assembly: Unity.Services.Apis.dll
Syntax
[DataContract(Name = "LinkExternalIdRequest")]
[Preserve]
public class LinkExternalIdRequest
Constructors
LinkExternalIdRequest(bool, string, OculusConfig, AppleGameCenterConfig, SteamConfig)
Initializes a new instance of the Link
Declaration
[Preserve]
public LinkExternalIdRequest(bool forceLink = false, string token = null, OculusConfig oculusConfig = null, AppleGameCenterConfig appleGameCenterConfig = null, SteamConfig steamConfig = null)
Parameters
Type | Name | Description |
---|---|---|
bool | forceLink | Force a link between the player specified in the UAS access token and the external Id. If a different UAS player is already linked to the external id, unlink that player from the external id before linking the request's player.. |
string | token | External token that can be verified to represent a player from the Id provider. This may be an Id token or an access token. (required). |
Oculus |
oculusConfig | oculusConfig. |
Apple |
appleGameCenterConfig | appleGameCenterConfig. |
Steam |
steamConfig | steamConfig. |
Properties
AppleGameCenterConfig
Gets or Sets AppleGameCenterConfig
Declaration
[DataMember(Name = "appleGameCenterConfig", EmitDefaultValue = false)]
[Preserve]
public AppleGameCenterConfig AppleGameCenterConfig { get; set; }
Property Value
Type | Description |
---|---|
Apple |
ForceLink
Force a link between the player specified in the UAS access token and the external Id. If a different UAS player is already linked to the external id, unlink that player from the external id before linking the request's player.
Declaration
[DataMember(Name = "forceLink", EmitDefaultValue = true)]
[Preserve]
public bool ForceLink { get; set; }
Property Value
Type | Description |
---|---|
bool | Force a link between the player specified in the UAS access token and the external Id. If a different UAS player is already linked to the external id, unlink that player from the external id before linking the request's player. |
OculusConfig
Gets or Sets OculusConfig
Declaration
[DataMember(Name = "oculusConfig", EmitDefaultValue = false)]
[Preserve]
public OculusConfig OculusConfig { get; set; }
Property Value
Type | Description |
---|---|
Oculus |
SteamConfig
Gets or Sets SteamConfig
Declaration
[DataMember(Name = "steamConfig", EmitDefaultValue = false)]
[Preserve]
public SteamConfig SteamConfig { get; set; }
Property Value
Type | Description |
---|---|
Steam |
Token
External token that can be verified to represent a player from the Id provider. This may be an Id token or an access token.
Declaration
[DataMember(Name = "token", IsRequired = true, EmitDefaultValue = true)]
[Preserve]
public string Token { get; set; }
Property Value
Type | Description |
---|---|
string | External token that can be verified to represent a player from the Id provider. This may be an Id token or an access token. |