Skip to main content
Version: 5.7.0

InvalidateSession

Invalidates the current session, thus disconnecting the user from brainCloud.

When would I used invalidateSession? Check our BlockIfBanned and OnRegisterNewUser script examples.

Usage

http://localhost:3000
// Cloud Code only. To view example, switch to the Cloud Code tab