C# 클래스 SmtpServer.Protocol.AuthCommand

상속: SmtpCommand
파일 보기 프로젝트 열기: cosullivan/SmtpServer 1 사용 예제들

공개 메소드들

메소드 설명
AuthCommand ( IUserAuthenticator userAuthenticator, AuthenticationMethod method, string parameter ) : System

Constructor.

ExecuteAsync ( ISmtpSessionContext context, CancellationToken cancellationToken ) : Task

Execute the command.

비공개 메소드들

메소드 설명
TryLoginAsync ( ISmtpSessionContext context, CancellationToken cancellationToken ) : Task

Attempt a LOGIN login sequence.

TryPlainAsync ( ISmtpSessionContext context, CancellationToken cancellationToken ) : Task

Attempt a PLAIN login sequence.

메소드 상세

AuthCommand() 공개 메소드

Constructor.
public AuthCommand ( IUserAuthenticator userAuthenticator, AuthenticationMethod method, string parameter ) : System
userAuthenticator IUserAuthenticator The user authenticator.
method AuthenticationMethod The authentication method.
parameter string The authentication parameter.
리턴 System

ExecuteAsync() 공개 메소드

Execute the command.
public ExecuteAsync ( ISmtpSessionContext context, CancellationToken cancellationToken ) : Task
context ISmtpSessionContext The execution context to operate on.
cancellationToken System.Threading.CancellationToken The cancellation token.
리턴 Task