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