property Authenticator: TScRestAuthenticator;

 

Description

Gets or sets a reference to an Authenticator object.

You can create an Authenticator as follows.

RestClient.Authenticator := TScRestBasicAuthenticator.Create('username', 'password');

Once created, the Authenticator is invoked before each request and performs the authentication procedure, relieving the developer from this responsibility. The ScRestAuthenticator unit includes several built-in Authenticator classes.

 

See also

TScRestAuthenticator

 

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