isAuthenticated property

bool isAuthenticated

Returns true if this request is authenticated and the token is not expired.

Implementation

bool get isAuthenticated =>
    authentication != null && authentication!.isExpired();