dartvel_auth library

Authentication: the DV.Auth facade, providers, and password hashing.

Classes

AuthProvider
Authentication provider
AuthUser
User model
DV
DVAuth
DVAuthAuthorization
DVAuthProvider
DVAuthUser
DVLocalAuthProvider
Development and test auth adapter.
DVOAuth2Authorization
A started authorization. Hold this until the provider redirects back: the state proves the callback belongs to this attempt and the codeVerifier proves the exchange comes from whoever started it.
DVOAuth2Client
Drives the authorization-code flow with PKCE.
DVOAuth2Config
Endpoints and client identity for one identity provider.
DVOAuth2Tokens
DVPasswordHasher
PBKDF2-HMAC-SHA256 password hashing.
LocalAuthProvider
In-memory auth provider for local development and tests.

Enums

AuthFailure
Why an authentication attempt failed.
AuthState
Auth state

Exceptions / Errors

AuthException
DVOAuth2Exception