Sign in Join
FPDoc Onlineexperiment

TPasswordEvent procedure type

In unit fpHTTPClient

Event type for handling authentication challenges

Declaration

pascal
TPasswordEvent = procedure(Sender: TObject; var RepeatRequest: Boolean)
 of object

Arguments

Sender

The HTTP client object that triggered the event

RepeatRequest

Set to True to retry the request with new credentials

Description

Event type called when the server requests authentication. The event handler can provide credentials and indicate whether to retry the request.

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.