Table of Contents

LinkPlayStation

Methods
public PlayerAccountOperation LinkPlayStation(string token, bool force = false, CancellationToken cancellationToken = default)

Adds PlayStation Network authentication to the current player account.

Parameters
Type Name Description
string token

A JWT ID token with link to the public certificate embedded.

bool force

If the PlayStation Network account is already linked to another player account, and a force value of false is passed, then an error will be returned.

If the PlayStation Network account is already linked to another player account, and a force value of true is passed, then the PlayStation Network account will be unlinked from the other player account, and linked to this one.

WARNING: If the PlayStation Network 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.