refreshAuthToken method

Future<AuthResult> refreshAuthToken()

Refreshes, retrieves, and saves a new authToken for the currently authenticated user using their refresh token.

Returns: A Future<String> representing the new auth token.

Throws: PassageError

Implementation

Future<AuthResult> refreshAuthToken() {
  return PassageFlutterPlatform.instance.refreshAuthToken();
}