REST.Client.TCustomRESTRequest.AddAuthParameter

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure AddAuthParameter(const AName, AValue: string; const AKind: TRESTRequestParameterKind;
const AOptions: TRESTRequestParameterOptions = []); overload;

C++

void __fastcall AddAuthParameter(const System::UnicodeString AName, const System::UnicodeString AValue, const Rest::Types::TRESTRequestParameterKind AKind, const Rest::Types::TRESTRequestParameterOptions AOptions = Rest::Types::TRESTRequestParameterOptions() )/* overload */;

Properties

Type Visibility Source Unit Parent
procedure
function
public
REST.Client.pas
REST.Client.hpp
REST.Client TCustomRESTRequest

Description

Adds an authentication parameter with the specified data to the request.

Authentication parameters are always transient; you do not need to include TRESTRequestParameterOption.poTransient in AOptions.

See Also