C# Class pGina.Plugin.Email.EmailAuthPlugin

Inheritance: IPluginConfiguration, IPluginAuthentication
Datei anzeigen Open project: MutonUfoAI/pgina

Public Properties

Property Type Description
SimpleUuid System.Guid

Public Methods

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

Private Methods

Method Description
IPluginAuthentication ( SessionProperties properties ) : BooleanResult
apopPass ( string resp, string password ) : string

Determines if the POP3 server supports APOP, and returns the authentication hash if so.

authImap ( System stream, NetworkCredential creds ) : bool

Authenticates against an IMAP server. Presently only supports plain text login. The use of AUTHENTICATE is not yet supported, so SSL is advised.

authPop3 ( System stream, NetworkCredential creds ) : bool

Authenticates against a POP3 server. If a timestamp is sent in the initial response, it assumes APOP is supported.

getNetworkStream ( string server, int port, bool ssl ) : Stream

Attempts to open a network stream to the specified server.

getResponse ( System reader ) : string

Attempts to grab a response from the server.

Method Details

Configure() public method

public Configure ( ) : void
return void

EmailAuthPlugin() public method

public EmailAuthPlugin ( ) : System
return System

Starting() public method

public Starting ( ) : void
return void

Stopping() public method

public Stopping ( ) : void
return void

Property Details

SimpleUuid public_oe static_oe property

public static Guid,System SimpleUuid
return System.Guid