Unit 'fpHTTPClient' Package
[Overview][Constants][Types][Classes][Procedures and functions][Index] [#fcl]

TPasswordEvent

Event type for handling authentication challenges

Declaration

Source position: fphttpclient.pp line 39

type 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

TFPHTTPClient.OnPassword

  

Event called when authentication is required


Documentation generated on: Jan 27 2026