logoutAll method

Future<void> logoutAll(
  1. dynamic token
)

Logs out the user from all devices (invalidates all tokens)

token The user ID to logout from all devices

Implementation

Future<void> logoutAll(dynamic token) async {
  // Get all tokens for this user and guard
  return driver.logoutFromAllDevices(token);
}