INNER CODE UNIT · Dart

RevokeTokenException

felangel/fresh · packages/fresh/lib/src/fresh.dart:7

class RevokeTokenException implements Exception {}

/// Enum representing the current authentication status of the application.
enum AuthenticationStatus {
  /// The status before the true [AuthenticationStatus] has been determined.
  initial,

  /// The status when the application is not authenticated.
  unauthenticated,

  /// The status when the application is authenticated.
  authenticated
}

/// An interface which must be implemented to
/// read, write, and delete the `Token`.
abstract class TokenStorage<T> {
  /// Returns the stored token asynchronously.

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…