AuthenticationService v0.3.0+7-g8a7f190
Public Member Functions | Static Public Member Functions | List of all members
Joutsen.AuthenticationControl.DeleteApplicationCommand Class Reference

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

Public Member Functions

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

Static Public Member Functions

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

Additional Inherited Members

- Properties inherited from Joutsen.AuthenticationControl.ApplicationCommand
ApplicationRepository Repository [get]
 The repository providing access to applications in the database. More...
 
String Name [get, set]
 The application's name. 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]
 The schema for the authentication database. More...
 

Detailed Description

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

Since
0.1.0

Constructor & Destructor Documentation

◆ DeleteApplicationCommand()

Joutsen.AuthenticationControl.DeleteApplicationCommand.DeleteApplicationCommand ( IServiceProvider  services)

Member Function Documentation

◆ CreateParser()

static SubParser< DeleteApplicationCommand > Joutsen.AuthenticationControl.DeleteApplicationCommand.CreateParser ( SubParser  parser,
IServiceProvider  services 
)
static

Creates a command line parser for use with the command.

◆ ExecuteAuthenticated()

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

In derived classes contains the logic of the command.

Implements Joutsen.AuthenticationControl.AuthenticatedCommand.