supertokens.Error.TOKEN_THEFT_DETECTED
Type: {errType: supertokens.Error.TOKEN_THEFT_DETECTED, err: { sessionHandle: string, userId: string }}
- This is thrown when we detect token theft.
- Using the
err
object, you can revoke the affected user's current session, or all their sessions. - This is an
enum
and thenumber
value of this (as seen on the console) is4000