authControllerProvider top-level property
Central auth controller. Handles both AuthMethod.phone and AuthMethod.email.
Delegates each domain to a focused mixin:
- Phone OTP flow →
_PhoneAuthMixin - Email + password →
_EmailAuthMixin - Password reset / change →
_PasswordMixin - Session management →
_SessionMixin - Invite acceptance →
_InviteMixin
Inject via: ref.watch(authControllerProvider)
State: AuthState
Implementation
@ProviderFor(AuthController)
final authControllerProvider = AuthControllerProvider._();