portico_auth_tokens library

Support for doing something awesome.

More dartdocs go here.

Classes

AuthTokensInMemoryStorage
Implements in-memory storage for token metadata.
AuthTokensManager
A service that handles authentication using JWTs (JSON Web Tokens).
AuthTokensStorageAdapter
Provides access to storage for authentication tokens.
DateConverter
Converts between DateTime and ISO-8601 strings.
TokenRecord
Represents the structured payload of a validated token.
TokenSet
A set of tokens returned after successful authentication.

Exceptions / Errors

AccessTokenInvalid
Thrown when an access token is invalid or expired.
RefreshTokenInvalid
Thrown when a refresh token is invalid or expired.