PrivateauthProtected ReadonlyloggerLogger instance for this service
Protected ReadonlynameService name for logging
Private ReadonlysdkPrivatestateGets the current service state.
ProtectedassertDisposes the service and cleans up resources. Ensures disposal only happens once.
Get current authentication state.
Get current user.
Initializes the service. Ensures initialization only happens once and tracks state.
Check if user is authenticated.
Login user with provided credentials.
Logout current user.
Subscribe to authentication state changes.
ProtectedonImplementation-specific disposal logic. Called once during dispose().
ProtectedonImplementation-specific initialization logic. Called once during initialize().
Privateupdate
Authentication service implementation using dependency injection. No global state - all state managed internally.