isAuthTokenValid method

Future<bool> isAuthTokenValid(
  1. String authToken
)

Checks if the auth token for the currently authenticated user is valid.

Returns: A Future<bool> that returns true if the user has a valid auth token, and false otherwise.

Implementation

Future<bool> isAuthTokenValid(String authToken) {
  return PassageFlutterPlatform.instance.isAuthTokenValid(authToken);
}