Private
authProtected
Readonly
loggerLogger instance for this service
Protected
Readonly
nameService name for logging
Private
Readonly
sdkPrivate
stateGets the current service state.
Protected
assertDisposes 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.
Protected
onImplementation-specific disposal logic. Called once during dispose().
Protected
onImplementation-specific initialization logic. Called once during initialize().
Private
update
Authentication service implementation using dependency injection. No global state - all state managed internally.