TPasswordEvent¶
Event type for handling authentication challenges
Declaration¶
Source position: fphttpclient.pp line 43
type
TPasswordEvent = procedure(Sender: TObject; var RepeatRequest: Boolean)
of object;Arguments¶
| Name | Description |
|---|---|
| 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¶
| Name | Description |
|---|---|
| TFPHTTPClient.OnPassword | Event called when authentication is required |