Topic Path: Symbol Reference > Classes > TIdDICTServer Class > TIdDICTServer Events > OnCommandSASLAuth Event
TIdDICTServer.OnCommandSASLAuth Event

Specifies the event handler for the DICT SASLAUTH command.

property OnCommandSASLAuth: TIdDICTAuthEvent;

TIdDICTAuthEvent specifies the event type for the DICT SASLAUTH command, and is used by the TIdDICTServer OnCommandSASLAuth event handler to perform user authentication. 

OnCommandSASLAuth must provide, as parameters, the name of the user to be authenticated, and the BASE64-encoded initial SASL response as described in RFC 2045. All responses to the SASLAUTH server challenge should use the SASLRESP command and a BASE64-encoded parameter. 

Authentication is an optional server capability. The SASLAUTH command may be implemented by a DICT server.

Copyright 1993-2006, Chad Z. Hower (aka Kudzu) and the Indy Pit Crew. All rights reserved.
Post feedback to the Indy Docs Newsgroup.