globalSignOut method

Future<void> globalSignOut()

This is used to globally revoke all tokens issued to a user

Implementation

Future<void> globalSignOut() async {
  _signInUserSessionCheck();

  final paramsReq = {
    'AccessToken': _signInUserSession!.getAccessToken().getJwtToken(),
  };
  await client!.request('GlobalSignOut', paramsReq);
  await clearCachedTokens();
}