harmony_auth library
Harmony Low-Level Authentication/Authorization Mechanism.
handling basic token and refresh token authorization/authentication, with automatic token refresh.
Classes
- AuthChecker
-
harmony_auth checker to check which
DioError
s are from unauthorized calls. - AuthConfig
- global configurations for harmony_auth module
- AuthInterceptor
- interceptor for harmony_auth module
- AuthManipulator
- harmony_auth manipulation applied on a request when adding auth information
- AuthMatcher
- Matchers to include or exclude urls from authentication
- AuthRepository
- harmony_auth repository.
- AuthRest
- handle token refresh api calls for harmony_auth.
- AuthStorage
- harmony_auth storage for tokens
- AuthToken
- harmony_auth token pair
Enums
- AuthStatus
- harmony_auth status of auth storage
Extensions
- AuthDioErrorExt on DioError
-
extension methods to check if
DioError
was from AuthException and extract the error. - AuthRepositoryDebounceExt on AuthRepository
- harmony_auth extensions to add debouncing support to AuthRepository.
- AuthRepositoryLockExt on AuthRepository
- harmony_auth extensions to add concurrency support to AuthRepository.
- AuthStorageLockedExt on AuthStorage
- harmony_auth extensions for adding concurrency support to AuthStorage
- AuthStorageStreamingExt on AuthStorage
- harmony_auth extensions for adding streaming support to AuthStorage
Exceptions / Errors
- AuthException
- harmony_auth interceptor exception.
- AuthRepositoryException
- harmony_auth repository exception
- AuthRestException
- harmony_auth rest exception
- AuthStorageException
- harmony_auth storage exception