|
AuthenticationService v0.3.0+7-g8a7f190
|
An implementation of a role as it is read from a JWT token. More...
Public Member Functions | |
| JwtRole (String name, Application application, String username) | |
| Creates a new instance. More... | |
Properties | |
| String | Name [get] |
| The human friendly name of the role. More... | |
| String | Description [get] |
| The description is intended for details about the role but tokens do not carry any details. More... | |
| Application | Application [get] |
| The application this role belongs to. More... | |
| String | Username [get] |
| The user who has this role. More... | |
Properties inherited from Joutsen.Authentication.Role | |
| long | Id [get] |
| The unique identifier of the role. More... | |
| String | Name [get] |
| The human friendly name of the role. More... | |
| Application | Application [get] |
| The application this role belongs to. More... | |
| String | Username [get] |
| The name of the user who is granted rights by this role. More... | |
| String | Description [get] |
| Some details about the role. More... | |
An implementation of a role as it is read from a JWT token.
| Joutsen.Authentication.Jwt.JwtRole.JwtRole | ( | String | name, |
| Application | application, | ||
| String | username | ||
| ) |
Creates a new instance.
| name | the name of the role |
| application | the application this role belongs to |
| username | the user who is granted rights by this role |
|
get |
The application this role belongs to.
Implements Joutsen.Authentication.Role.
|
get |
The description is intended for details about the role but tokens do not carry any details.
Implements Joutsen.Authentication.Role.
|
get |
The human friendly name of the role.
Implements Joutsen.Authentication.Role.
|
get |
The user who has this role.
Implements Joutsen.Authentication.Role.