Method | Description | |
---|---|---|
AuthCommand ( IUserAuthenticator userAuthenticator, AuthenticationMethod method, string parameter ) : System |
Constructor.
|
|
ExecuteAsync ( ISmtpSessionContext context, |
Execute the command.
|
Method | Description | |
---|---|---|
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. |
return | System |
public ExecuteAsync ( ISmtpSessionContext context, |
||
context | ISmtpSessionContext | The execution context to operate on. |
cancellationToken | The cancellation token. | |
return | Task |