C# Class pGina.Plugin.UsernameMod.UsernameModPlugin

Inheritance: IPluginConfiguration, IPluginAuthentication, IPluginAuthorization, IPluginAuthenticationGateway
Mostrar archivo Open project: MutonUfoAI/pgina

Public Properties

Property Type Description
SimpleUuid System.Guid

Public Methods

Method Description
Configure ( ) : void
Starting ( ) : void
Stopping ( ) : void
UsernameModPlugin ( ) : System

Private Methods

Method Description
IPluginAuthentication ( SessionProperties properties ) : BooleanResult

Runs the rules against the username, modifying it for future plugins. If a IMatchRule is present and matches, it will allow a login for that user regardless of an entered password.

IPluginAuthenticationGateway ( SessionProperties properties ) : BooleanResult

Runs the rules against the username, modifying it for future plugins. If an IMatchRule is present, AuthenticatedUserGateway will only return true if the username matches the rule.

IPluginAuthorization ( SessionProperties properties ) : BooleanResult

Runs the rules against the username, modifying it for future plugins. If an IMatchRule is present, AuthorizeUser will only return true if the username matches the rule.

Method Details

Configure() public method

public Configure ( ) : void
return void

Starting() public method

public Starting ( ) : void
return void

Stopping() public method

public Stopping ( ) : void
return void

UsernameModPlugin() public method

public UsernameModPlugin ( ) : System
return System

Property Details

SimpleUuid public_oe static_oe property

public static Guid,System SimpleUuid
return System.Guid