Icon TEWBServerSessionAuthenticateEvent

Unit: ewbsession

TEWBServerSessionAuthenticateEvent = procedure (Session:
      TEWBServerSession; var Continue: Boolean) of object

The TEWBServerSessionAuthenticateEvent event type is used by the TEWBServerSession OnAuthenticate event to allow the developer to provide custom authentication credentials and/or specify if authentication should proceed.

The Session parameter indicates the server session that triggered the event and the Continue parameter determines if the authentication should proceed. If the Continue property is set to False, then authentication will fail with an exception indicating that authentication was cancelled.
Image