REST.Authenticator.Simple.TSimpleAuthenticator

From RAD Studio API Documentation
Jump to: navigation, search

REST.Client.TCustomAuthenticatorData.Bind.ObjectScope.TBaseObjectBindSourceDelegateData.Bind.Components.TBaseLinkingBindSourceData.Bind.Components.TBaseBindScopeComponentTSimpleAuthenticator

Delphi

TSimpleAuthenticator = class(TCustomAuthenticator)

C++

class PASCALIMPLEMENTATION TSimpleAuthenticator : public Rest::Client::TCustomAuthenticator

Properties

Type Visibility Source Unit Parent
class public
REST.Authenticator.Simple.pas
REST.Authenticator.Simple.hpp
REST.Authenticator.Simple REST.Authenticator.Simple

Description

Implements a basic authentication using a username and a password.

The data is transmitted as a set of key-value pairs, where the keys are UsernameKey and PasswordKey, and their values are Username and Password respectively.

Depending on the method of the request, the data is send either in the URL for a GET request or in the body for a POST request.

See Also