Class CodeLinkConfirmationRequest
Request for confirming the code linking.
Inherited Members
Namespace: Unity.Services.Apis.PlayerAuthentication
Assembly: Unity.Services.Apis.dll
Syntax
[DataContract(Name = "CodeLinkConfirmationRequest")]
[Preserve]
public class CodeLinkConfirmationRequest
Constructors
CodeLinkConfirmationRequest(string, string, string, string)
Initializes a new instance of the CodeLinkConfirmationRequest class.
Declaration
[Preserve]
public CodeLinkConfirmationRequest(string signInCode = null, string sessionToken = null, string idProvider = null, string externalToken = null)
Parameters
| Type | Name | Description |
|---|---|---|
| string | signInCode | The code returned in the GenerateCodeResponse. (required). |
| string | sessionToken | The authenticated device session token, for added security.. |
| string | idProvider | This is the id provider type. Only for consoles.. |
| string | externalToken | External token to validate the user. Only for consoles.. |
Properties
ExternalToken
External token to validate the user. Only for consoles.
Declaration
[DataMember(Name = "externalToken", EmitDefaultValue = false)]
[Preserve]
public string ExternalToken { get; set; }
Property Value
| Type | Description |
|---|---|
| string | External token to validate the user. Only for consoles. |
IdProvider
This is the id provider type. Only for consoles.
Declaration
[DataMember(Name = "idProvider", EmitDefaultValue = false)]
[Preserve]
public string IdProvider { get; set; }
Property Value
| Type | Description |
|---|---|
| string | This is the id provider type. Only for consoles. |
SessionToken
The authenticated device session token, for added security.
Declaration
[DataMember(Name = "sessionToken", EmitDefaultValue = false)]
[Preserve]
public string SessionToken { get; set; }
Property Value
| Type | Description |
|---|---|
| string | The authenticated device session token, for added security. |
SignInCode
The code returned in the GenerateCodeResponse.
Declaration
[DataMember(Name = "signInCode", IsRequired = true, EmitDefaultValue = true)]
[Preserve]
public string SignInCode { get; set; }
Property Value
| Type | Description |
|---|---|
| string | The code returned in the GenerateCodeResponse. |