Class LinkExternalIdResponse
response for a link request
Inherited Members
Namespace: Unity.Services.Apis.PlayerAuthentication
Assembly: Unity.Services.Apis.dll
Syntax
[DataContract(Name = "LinkExternalIdResponse")]
[Preserve]
public class LinkExternalIdResponse
Constructors
LinkExternalIdResponse(Player, string)
Initializes a new instance of the Link
Declaration
[Preserve]
public LinkExternalIdResponse(Player user = null, string userId = null)
Parameters
Type | Name | Description |
---|---|---|
Player | user | user (required). |
string | userId | The Id of the authenticated player. If a project is specified in the request, this field represents the Id of the project scoped player. (required). |
Properties
User
Gets or Sets User
Declaration
[DataMember(Name = "user", IsRequired = true, EmitDefaultValue = true)]
[Preserve]
public Player User { get; set; }
Property Value
Type | Description |
---|---|
Player |
UserId
The Id of the authenticated player. If a project is specified in the request, this field represents the Id of the project scoped player.
Declaration
[DataMember(Name = "userId", IsRequired = true, EmitDefaultValue = true)]
[Preserve]
public string UserId { get; set; }
Property Value
Type | Description |
---|---|
string | The Id of the authenticated player. If a project is specified in the request, this field represents the Id of the project scoped player. |