Unit
ScRestAuthenticator
Description
TScRestAPIKeyAuthenticator is a class that implements the APIKey authentication for each request made through the associated TScRestClient. It uses a key—previously issued by the REST service—stored in the class properties to authorize access.
The overridden Execute method adds a header to the request, using the header name and value specified by the developer.
Note: This class doesn't handle the process of obtaining an API key from the server. Developers must retrieve and manage the key themselves.