WebAdapt.TCustomLoginFormAdapter
Delphi
TCustomLoginFormAdapter = class(TDefaultFieldsAdapter)
C++
class PASCALIMPLEMENTATION TCustomLoginFormAdapter : public TDefaultFieldsAdapter
Properties
| Type | Visibility | Source | Unit | Parent |
|---|---|---|---|---|
| class | public | WebAdapt.pas WebAdapt.hpp |
WebAdapt | WebAdapt |
Description
TCustomLoginFormAdapter is the base class for adapters that manage the fields and actions of a login form.
TCustomLoginFormAdapter introduces default fields and actions that support building a login form. The adapter fields include user name (UserName), password (Password), and next page (NextPage). The next page field lists the Web pages in the application. The properties of TCustomLoginFormAdapter reflect the values that are assigned to those fields. TCustomLoginFormAdapter implements a single default action for logging in. If the WebSnap application also contains an end user adapter such as TEndUserAdapter or TEndUserSessionAdapter, TLoginFormAdapter calls the end user adapter's LogIn method to log the user in. As an alternate approach, you can provide an OnLogin event handler.
Do not create instances of TCustomLoginFormAdapter. It is intended only as a base class. Instead, use a TCustomLoginFormAdapter descendant such as TLoginFormAdapter.