SmartSwitchAuthenticatePlaystation5
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 Playstation5 Credentials.
Method Parameters
Parameter | Description |
---|---|
accountId | The Playstation5 ID of the user |
authToken | The validated token from the Playstation5 SDK |
forceCreate | Should a new profile be created for this user if the account does not exist? |
Usage
http://localhost:3000
- C#
- C++
- Objective-C
- Java
- JavaScript
- Cloud Code
- Raw
string accountId = "accountId";
string authToken = "authToken";
bool forceCreate = true;
_bc.SmartSwitchAuthenticatePlaystation5(
accountId, authToken, forceCreate, SuccessCallback, FailureCallback);
const char* accountId = "accountId";
const char* authToken = "authToken";
bool forceCreate = true;
_bc->smartSwitchAuthenticatePlaystation5(
accountId,
authToken,
forceCreate,
this);
// N/A
// N/A
// N/A
// N/A
// N/A
JSON Response
// N/A