Class UserProvider<TUser>
Provides functionality to retrieve the current user.
public class UserProvider<TUser> : IUserProvider where TUser : class, ICurrentUser, new()
Type Parameters
TUser
The type of the user.
- Inheritance
-
UserProvider<TUser>
- Implements
Methods
- GetCurrentUser()
Gets the current user.
- GetCurrentUserAsync()
Asynchronously gets the current user.