LinkXbox
Methods
public PlayerAccountOperation LinkXbox(string token, bool force = false, CancellationToken cancellationToken = default)
Adds Xbox account authentication to the current player account.
Parameters
Type | Name | Description |
---|---|---|
string | token | Xbox Live Token provided by the Xbox Live SDK method GetTokenAndSignatureAsync. |
bool | force |
If the Xbox account is already linked to another player account, and a
If the Xbox account is already linked to another player account, and a WARNING: If the Xbox account is unlinked from another player account, and that other player account has no other authentication methods set up, then access to that player account will be lost. |
CancellationToken | cancellationToken | Can be used to cancel the operation. |
Returns
Type | Description |
---|---|
PlayerAccountOperation | Result of the operation. |