invalidateToken method

void invalidateToken()

Invalidate this tokens. All succeeding calls to isValid() will return false. Use cognitoUser .getSession() to refresh the cognito session with the cognito server.

Implementation

void invalidateToken() {
  _invalidated = true;
}