Web.HTTPApp.TWebFormsAuthenticator

From RAD Studio API Documentation
Jump to: navigation, search

Web.HTTPApp.TCustomWebAuthenticatorSystem.Classes.TComponentSystem.Classes.TPersistentSystem.TObjectTWebFormsAuthenticator

Delphi

TWebFormsAuthenticator = class(TCustomWebAuthenticator)

C++

class PASCALIMPLEMENTATION TWebFormsAuthenticator : public TCustomWebAuthenticator

Properties

Type Visibility Source Unit Parent
class public
Web.HTTPApp.pas
Web.HTTPApp.hpp
Web.HTTPApp Web.HTTPApp

Description

TWebFormsAuthenticator is a WebBroker authentication component implementing IWebAuthenticator interface using custom HTML form-based authentication.

The authenticator must be used with the session manager. A request with a valid session ID is considered as previously successfully authenticated.

When a request needs authentication, it is redirected to GET LoginURL.

Then client performs POST LoginURL with application/x-www-form-urlencoded payload with two username, password, and returnUrl parameters. If authentication is successful, then the request is redirected to GET returnUrl.

When it fails, it returns the GET FailedURL. See the description of URL properties for additional details.

To log out, perform POST LogoutURL request.

Note: TWebFormsAuthenticator does not use a standard HTTP authentication.

See Also