Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Parameter

: TccHTTPAuthentication;

Beschreibung

Zugriff auf das Authentication Request Objekt.

Beim Request werden diese Informationen in die entsprechenden Authorization Header umgesetzt.


Für AuthType sind folgende Werte möglich:

  • ccHAT_Basic
  • ccHAT_Bearer

Beispiel

Code Block
languagedelphi
linenumberstrue
HTTP.Request.Authentication.AuthType := ccHAT_Basic;
HTTP.Request.Authentication.Username := 'example';
HTTP.Request.Authentication.Password := 'TopSecret';
Code Block
languagedelphi
linenumberstrue
HTTP.Request.Authentication.AuthType := ccHAT_Bearer;
HTTP.Request.Authentication.Token := '123';

Table of Contents

Children Display
alltrue
depth2