auth library
Classes
- AuthController
- Global session state for the authenticated user.
- AuthControllerProvider
- Global session state for the authenticated user.
- AuthFlowController
- AuthFlowControllerProvider
- AuthFlowState
- Immutable snapshot of the current auth session.
- AuthSession
- AuthState
- Immutable snapshot of the current auth session.
- AuthStorage
- Persists the refresh token and user profile to secure storage.
- Profile
- Represents an authenticated user decoded from the JWT payload and/or fetched from GET /users/me.
- User
- Represents an authenticated user decoded from the JWT payload and/or fetched from GET /users/me.
- VoAuthContext
- UI-facing API for auth screens. Widgets talk only to this class.
- VoAuthPages
- VoAuthScope
- VoAuthScreen
- VoAuthService
- Handles all shared /auth/* and /users/* API calls.
- VoOtpService
- Handles all OTP-specific API calls for the phone auth flow.
- VoPasswordService
Enums
- AuthStatus
- Status of the current authentication session.
- VoAuthPageKeys
- VoAuthTypes
Mixins
- VoAuthWidget
- Mixin for custom auth page widgets that need access to VoAuthContext.
Extensions
- AuthFlowStatePatterns on AuthFlowState
- Adds pattern-matching-related methods to AuthFlowState.
- AuthStatePatterns on AuthState
- Adds pattern-matching-related methods to AuthState.
- ProfilePatterns on Profile
- Adds pattern-matching-related methods to Profile.
- UserPatterns on User
- Adds pattern-matching-related methods to User.
Properties
- authControllerProvider → AuthControllerProvider
-
Global session state for the authenticated user.
final
- authFlowControllerProvider → AuthFlowControllerProvider
-
final