Default implementation of IUser.
More...
|
| User (bool isAuthenticated, IEnumerable< string > roles) |
| Constructs a new instance of User. More...
|
|
|
bool | IsAuthenticated [get] |
| Gets whether this user is authenticated and may use the application. More...
|
|
IReadOnlyCollection< string > | Roles [get] |
| Gets this user's roles. More...
|
|
bool | IsAuthenticated [get] |
| Gets whether this user is authenticated and may use the application. More...
|
|
IReadOnlyCollection< string > | Roles [get] |
| Gets this user's roles. More...
|
|
Default implementation of IUser.
◆ User()
User |
( |
bool |
isAuthenticated, |
|
|
IEnumerable< string > |
roles |
|
) |
| |
|
inline |
Constructs a new instance of User.
- Parameters
-
isAuthenticated | Whether this user is authenticated. |
roles | A roles enumeration. |
◆ IsAuthenticated
Gets whether this user is authenticated and may use the application.
◆ Roles
IReadOnlyCollection<string> Roles |
|
get |
The documentation for this class was generated from the following file: