Skip to main content
Version: 5.7.0

SmartSwitchAuthenticatePlaystationNetwork

Smart Switch Authenticate will logout of the current profile, and switch to the new authentication type. In event the current session was previously an anonymous account, the smart switch will delete that profile. Use this function to keep a clean designflow from anonymous to signed profiles.

Authenticate the user with brainCloud using their PlaystationNetwork Credentials.

Method Parameters

ParameterDescription
accountIdThe PlaystationNetwork ID of the user
authTokenThe validated token from the PlaystationNetwork SDK
forceCreateShould a new profile be created for this user if the account does not exist?

Usage

http://localhost:3000
string accountId = "accountId";
string authToken = "authToken";
bool forceCreate = true;

_bc.SmartSwitchAuthenticatePlaystationNetwork(
accountId, authToken, forceCreate, SuccessCallback, FailureCallback);
JSON Response
// N/A