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

A command that canbe used to initialize the database from scratch. More...

Public Member Functions

 CreateTablesCommand (IServiceProvider services)
 A repository used to create the authentication service application. More...
 
override void Execute ()
 Executes the command's logic to initialize the database. More...
 

Static Public Member Functions

static SubParser< CreateTablesCommandCreateParser (SubParser parser, IServiceProvider services)
 Creates a command line parser for use with the command. More...
 

Public Attributes

Authenticator authenticator
 The schema for the authentication database. More...
 

Properties

String AdminName [get, set]
 The name of the application's administrator. More...
 
String AdminPassword [get, set]
 The password of the application's administrator. More...
 
bool SimulationOnly [get, set]
 Determines if the database is actually created or if only a scrip tis generated. More...
 

Detailed Description

A command that canbe used to initialize the database from scratch.

Since
0.1.0

Constructor & Destructor Documentation

◆ CreateTablesCommand()

Joutsen.AuthenticationControl.CreateTablesCommand.CreateTablesCommand ( IServiceProvider  services)

A repository used to create the authentication service application.

Creates the command.

Member Function Documentation

◆ CreateParser()

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

Creates a command line parser for use with the command.

◆ Execute()

override void Joutsen.AuthenticationControl.CreateTablesCommand.Execute ( )

Executes the command's logic to initialize the database.

Member Data Documentation

◆ authenticator

Authenticator Joutsen.AuthenticationControl.CreateTablesCommand.authenticator

The schema for the authentication database.

A repository used to create the admin user.

Property Documentation

◆ AdminName

String Joutsen.AuthenticationControl.CreateTablesCommand.AdminName
getset

The name of the application's administrator.

◆ AdminPassword

String Joutsen.AuthenticationControl.CreateTablesCommand.AdminPassword
getset

The password of the application's administrator.

◆ SimulationOnly

bool Joutsen.AuthenticationControl.CreateTablesCommand.SimulationOnly
getset

Determines if the database is actually created or if only a scrip tis generated.