AuthenticationService  v0.2.0
Properties | List of all members
Joutsen.AuthenticationControl.UserCommand Class Reference

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

Properties

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

Additional Inherited Members

- Public Member Functions inherited from Joutsen.AuthenticationControl.AuthenticatedCommand
abstract void ExecuteAuthenticated ()
 In derived classes contains the logic of the command. More...
 
override void Execute ()
 In derived classes executes the logic of 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...
 

Detailed Description

A base class for commands that use user details.

Since
0.1.0

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
getset

The repository providing access to users in the database.

◆ Username

String Joutsen.AuthenticationControl.UserCommand.Username
getset

The user's name.