user method

Future<Authenticatable> user(
  1. String token
)

Verifies the validity of an authentication token

token The authentication token to verify Returns the authenticated user Throws AuthException if token is invalid

Implementation

Future<Authenticatable> user(String token) async {
  return _guardInstance.user(token);
}