AuthenticationService  v0.2.0
Public Member Functions | Static Public Member Functions | List of all members
Joutsen.AuthenticationControl.DeleteUserCommand Class Reference

A command that can be used to delete an user from the database. More...

Public Member Functions

override void ExecuteAuthenticated ()
 In derived classes contains the logic of the command. More...
 
- Public Member Functions inherited from Joutsen.AuthenticationControl.AuthenticatedCommand
override void Execute ()
 In derived classes executes the logic of the command. More...
 

Static Public Member Functions

static SubParser CreateParser (SubParser parser)
 Creates a command line parser for use with the command. More...
 
- Static Public Member Functions inherited from Joutsen.AuthenticationControl.AuthenticatedCommand
static SubParser ConfigureParser (SubParser parser)
 Can be used to configure a parser with the credentials argument. More...
 

Additional Inherited Members

- Properties inherited from Joutsen.AuthenticationControl.UserCommand
UserRepository Repository [get, set]
 The repository providing access to users in the database. More...
 
String Username [get, set]
 The user's name. More...
 
String Password [get, set]
 The user's password. More...
 
bool IsActive [get, set]
 The user's active status. More...
 
- Properties inherited from Joutsen.AuthenticationControl.AuthenticatedCommand
String Credentials [set]
 The username and password separated by a colon used to authenticate the execution of a command. More...
 
Authenticator AuthProvider [get, set]
 The authentication provider used to check the credentials. More...
 

Detailed Description

A command that can be used to delete an user from the database.

Since
0.1.0

Member Function Documentation

◆ CreateParser()

static SubParser Joutsen.AuthenticationControl.DeleteUserCommand.CreateParser ( SubParser  parser)
static

Creates a command line parser for use with the command.

◆ ExecuteAuthenticated()

override void Joutsen.AuthenticationControl.DeleteUserCommand.ExecuteAuthenticated ( )
virtual

In derived classes contains the logic of the command.

Implements Joutsen.AuthenticationControl.AuthenticatedCommand.