Approve custom login
Used to approve custom login requests using JWT authentication (For exampe Apple ID, Google or other JWT based login providers). This is a server-side endpoint and should not be called from the client.
API key authentication for server-side SDK operations. Used for secure server-to-server communication.
In: header
Authentication code provided by Stash webshop via deep link or QR code
User information for authentication
Response Body
curl -X POST "https://test-api.stash.gg/sdk/custom_login/approve" \ -H "Content-Type: application/json" \ -d '{}'{}{
"code": 0,
"message": "string",
"details": [
{
"@type": "string",
"property1": null,
"property2": null
}
]
}How is this guide?
Set user preferences POST
Creates or updates the payment channel preference for a user. This is a server-side endpoint and should not be called from the client.
Force Logout user POST
Logs out a user by invalidating their session. This endpoint is typically called when a user signs out of the game or switches to another account.