Current authentication state.
Whether an auth operation is in progress.
Current error message, if any.
Current status message, if any.
Current custom credentials, if any.
Current network connectivity status (updated via Navigator Online API and window online/offline events).
Whether the app was offline during this session (useful for retry logic after reconnection).
Log in with credentials.
Refresh the authentication token.
Log out the user.
Cancel an in-progress auth flow.
Set the credential source.
Update custom credentials.
Queue a task for execution when online (with deduplication).
Complete authentication context type combining state and actions.
Source