isAuthenticated method
Implementation
Future<AuthResponse<T>> isAuthenticated(BuildContext context) async {
try {
return Authorizer<T>.of(context).isSignIn();
} catch (_) {
return AuthResponse.unauthenticated();
}
}
Future<AuthResponse<T>> isAuthenticated(BuildContext context) async {
try {
return Authorizer<T>.of(context).isSignIn();
} catch (_) {
return AuthResponse.unauthenticated();
}
}