Web.HTTPApp.TCustomWebAuthenticator

Delphi
TCustomWebAuthenticator = class(TComponent, IWebAuthenticator)
C++
class PASCALIMPLEMENTATION TCustomWebAuthenticator : public System::Classes::TComponent
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
class | public | Web.HTTPApp.pas Web.HTTPApp.hpp |
Web.HTTPApp | Web.HTTPApp |
Description
TCustomWebAuthenticator is a base class for WebBroker authentication components implementing IWebAuthenticator interface.
When used with Apache, ISAPI, or other hosting web servers that handle authentication, the component can accept the authentication result provided by the hosting server. Then the OnAuthenticated event handler is called.
Otherwise, it performs authentication itself if necessary. When an authentication request is successfully recognized, then OnAuthenticate event handler is called.
To log out, perform POST LogoutURL
request.
Note: Authentication is mandatory when a component descendant of TCustomWebAuthenticator is added to a web module. Use TWebAuthorizer to control this.