Datasnap.DSClientRest.TDSCustomRestConnection.OnAuthentication
Delphi
property OnAuthentication: TDSHTTP.TAuthEvent read GetOnAuthentication  write SetOnAuthentication;
C++
__property System::Net::Urlclient::TCredentialsStorage::TCredentialAuthEvent OnAuthentication = {read=GetOnAuthentication, write=SetOnAuthentication};
Properties
| Type | Visibility | Source | Unit | Parent | 
|---|---|---|---|---|
| event | public | Datasnap.DSClientRest.pas Datasnap.DSClientRest.hpp | Datasnap.DSClientRest | TDSCustomRestConnection | 
Description
Occurs when the server fires an authentication event.
TAuthEvent is the event handler of OnCustomAuthentication.