Internet Direct (Indy) Version 9.0.2 Beta
TIdSMTPServerThread.LoggedIn
Indicates if the account for the threaded client has been authenticated.

LoggedIn: Boolean;
Description
LoggedIn is a public Boolean member that indicates if the threaded SMTP client session has been successfully authenticated using the SMTP AUTH Command and an authentication mechanism supported by the SMTP server implementation. LoggedIn is used in the command action handler for the AUTH command that performs authentication using the internal server implementation. LoggedIn is updated as a result of calling the CheckUser event handler, when assigned in the STMP server implementation.

TIdSMTPServer currently supports the AUTH LOGIN authentication mechanism using server challenges and client responses for the Username and Password values for the authorization process. The AUTH LOGIN authentication method uses server challenges that are Base64-encoded string values. The client response is also a BASE64-encoded string value, or the single character '*' to cancel the authentication exchange.

Note: Additional authentication mechanisms may be supported in future versions of Indy.

Server implementations that rely on the OnCommandAUTH event handler are responsible for setting the value of LoggedIn.