Disposes the service and cleans up resources. Should be called during application shutdown.
Get current authentication state.
Get current user.
Initializes the service. Should be called before any other service methods.
Check if user is authenticated.
Login user with provided credentials.
Logout current user.
Subscribe to authentication state changes.
Authentication service interface. Manages user authentication and session state.