function Execute(const TargetRequest: TScRestRequest): boolean;

 

Description

The Execute method is automatically called before each request to perform authentication by adding the necessary fields to the request header.

In the TScRestAuthenticator class, this method is basic and only initializes the authenticator. To implement the functionality of a specific authenticator, override this method in a successor class.

The method returns:

True if authentication succeeds.
False if authentication fails.

Typically, developers don't need to call the Execute method manually.

SecureBridge Components, Copyright © 2007-2025 Devart. All Rights Reserved. Provide Feedback Visit Forum Request Support