1using System.Threading.Tasks;
Represents a case-insensitive string.
Interface for SMTP user accounts.
Interface for server-side client connections.
Task< bool > SaslChallenge(string ChallengeBase64)
Returns a challenge to the client.
object Tag
Object tagged to the connection.
string Protocol
String representing protocol being used.
Task SetUserIdentity(CaseInsensitiveString UserName)
Sets the identity of the user.
Task< bool > SaslErrorMalformedRequest()
Reports the SASL error: Malformed request
void ResetState(bool Authenticated)
Resets the state machine.
CaseInsensitiveString UserName
User name
string RemoteEndpoint
Remote endpoint.
Task< bool > SaslErrorAccountDisabled()
Reports the SASL error: Account disabled
Task< bool > SaslErrorNotAuthorized()
Reports the SASL error: Not Authorized
string AuthId
ID client claims to have
Task< bool > SaslSuccess(string ProofBase64)
Returns a sucess response to the client.
Task SetAccount(IAccount Account)
Sets the account for the connection.