IUserService
An interface in Alta.Platform, Alta.Platform.
Platform service for the signed-in Alta user: login state, the current user and lookups of other users by ID.
- Listed in Other Alta assemblies
- Inherits or implements
IAuthenticationService - Derived types
UserService
Properties
| Member | What it is |
|---|---|
bool IsLoggedIn { get; } | True while a user is signed in. |
IUser LoggedInUser { get; } | The signed-in user, or probably null when nobody is signed in. |
Methods
| Member | What it is |
|---|---|
Task<IResult<IUser>> GetUserWithId(string userId) | Looks up another user by their user ID, as an async result. |
Task<IResult> RefreshLoggedInUser() | Fetches the signed-in user's details again, as an async result. |
Used in
Members of other types that take, return or hold a IUserService:
AccountNameTextReplacer.Inject, AccountNameTextReplacer.userService, AltaAccountRegistererAndLinker.Inject, AltaAccountRegistererAndLinker.userService, PicoLoginController.Inject, PicoLoginController.userService, LoginManager.Inject, LoginManager.userService, RedesignedAltaAccountLinker.Inject, RedesignedAltaAccountLinker.userService.