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

A base class for commands that use user details. More...

Public Member Functions

 UserCommand (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 ()
 

Properties

UserRepository Repository [get]
 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]
 The schema for the authentication database. More...
 

Additional Inherited Members

- 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...
 

Detailed Description

A base class for commands that use user details.

Since
0.1.0

Constructor & Destructor Documentation

◆ UserCommand()

Joutsen.AuthenticationControl.UserCommand.UserCommand ( IServiceProvider  services)

Property Documentation

◆ IsActive

bool? Joutsen.AuthenticationControl.UserCommand.IsActive
getset

The user's active status.

◆ Password

String Joutsen.AuthenticationControl.UserCommand.Password
getset

The user's password.

◆ Repository

UserRepository Joutsen.AuthenticationControl.UserCommand.Repository
get

The repository providing access to users in the database.

◆ Username

String Joutsen.AuthenticationControl.UserCommand.Username
getset

The user's name.