Skip to main content
Version: 6.1.0

AttachPlaystation5Identity

Attach the user's PlaystationNetwork credentials to the current profile.

ServiceOperation
identityATTACH

Method Parameters​

ParameterDescription
accountIdThe playstation5 id of the user
authTokenThe validated token from the Playstation5 SDK (that will be further validated when sent to the brainCloud service)

Usage​

http://localhost:3000
string accountId = "accountId";
string authToken = "authToken";

_bc.IdentityService.AttachPlaystation5Identity(
accountId,
authToken,
SuccessCallback, FailureCallback);
JSON Response
{
"status": 200,
"data": null
}
Common Error Code

Status Codes​

CodeNameDescription
40211DUPLICATE_IDENTITY_TYPEReturned when trying to attach an identity type that already exists for that profile. For instance you can have only one PlaystationNetwork identity for a profile.
40212MERGE_PROFILESReturned when trying to attach an identity type that would result in two profiles being merged into one (for instance an anonymous account and a PlaystationNetwork account).