|
AuthenticationService v0.3.0+7-g8a7f190
|
A base class used when the command requires authentication before it is executed. More...
Public Member Functions | |
| AuthenticatedCommand (IServiceProvider services) | |
| abstract void | ExecuteAuthenticated () |
| In derived classes contains the logic of the command. More... | |
| override void | Execute () |
Static Public Member Functions | |
| static new SubParser | ConfigureParser (SubParser parser) |
| Can be used to configure a parser with the credentials argument. More... | |
Properties | |
| String | Credentials [set] |
| The username and password separated by a colon used to authenticate the execution of a command. More... | |
| Authenticator | AuthProvider [get] |
| The schema for the authentication database. More... | |
A base class used when the command requires authentication before it is executed.
| Joutsen.AuthenticationControl.AuthenticatedCommand.AuthenticatedCommand | ( | IServiceProvider | services | ) |
|
static |
Can be used to configure a parser with the credentials argument.
| override void Joutsen.AuthenticationControl.AuthenticatedCommand.Execute | ( | ) |
|
pure virtual |
In derived classes contains the logic of the command.
Implemented in Joutsen.AuthenticationControl.CreateApplicationCommand, Joutsen.AuthenticationControl.DeleteApplicationCommand, Joutsen.AuthenticationControl.ListApplicationsCommand, Joutsen.AuthenticationControl.CreateRoleCommand, Joutsen.AuthenticationControl.DeleteRoleCommand, Joutsen.AuthenticationControl.ListRolesCommand, Joutsen.AuthenticationControl.CreateUserCommand, Joutsen.AuthenticationControl.DeleteUserCommand, Joutsen.AuthenticationControl.ListUsersCommand, and Joutsen.AuthenticationControl.UpdateUserCommand.
|
get |
The schema for the authentication database.
The authentication provider used to check the credentials.
|
set |
The username and password separated by a colon used to authenticate the execution of a command.