Represents the actual LoginState. Recommended to use the State's BehaviorSubject's .Value
This observable is a public API for subscribing the current state and it's changes. Recommended to work with a private BehaviorSubject in the backgroud.
Executes a check for the current state
An observable that will be resolved with a boolean, that indicates if a refres was needed.
Tries to log in with a specified credentials. Updates the current state subject based on the login response.
The user's name
The user's password
that indicates if the login was successful
Logs out the current user, invalidates the session
that indicates if logging out was successful
Generated using TypeDoc
Interface that describes how injectable Authentication Services should work