메소드 | 설명 | |
---|---|---|
AuthCommand ( IUserAuthenticator userAuthenticator, AuthenticationMethod method, string parameter ) : System |
Constructor.
|
|
ExecuteAsync ( ISmtpSessionContext context, |
Execute the command.
|
메소드 | 설명 | |
---|---|---|
TryLoginAsync ( ISmtpSessionContext context, |
Attempt a LOGIN login sequence.
|
|
TryPlainAsync ( ISmtpSessionContext context, |
Attempt a PLAIN login sequence.
|
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 |
public ExecuteAsync ( ISmtpSessionContext context, |
||
context | ISmtpSessionContext | The execution context to operate on. |
cancellationToken | The cancellation token. | |
리턴 | Task |