System.Net.URLClient.TURLClient.DoAuthCallback
Delphi
procedure DoAuthCallback(AnAuthTarget: TAuthTargetType; const ARealm, AURL: string; var AUserName, APassword: string; var AbortAuth: Boolean; var Persistence: TAuthPersistenceType); virtual;
C++
virtual void __fastcall DoAuthCallback(TAuthTargetType AnAuthTarget, const System::UnicodeString ARealm, const System::UnicodeString AURL, System::UnicodeString &AUserName, System::UnicodeString &APassword, bool &AbortAuth, TAuthPersistenceType &Persistence);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
protected | System.Net.URLClient.pas System.Net.URLClient.hpp |
System.Net.URLClient | TURLClient |
Description
Calls either the AuthCallback or the AuthEvent.
If an AuthCallback is defined, the AuthEvent is not called. In case the AuthCallback is not defined, the AuthEvent is called.
Input arguments specify user credentials, these parameters are:
AnAuthTarget
|
Target type of the credential. |
ARealm
|
Realm where the credential can be used. |
AURL
|
URL that defines the scope of the credential. |
AUserName
|
UserName of the credential. |
APassword
|
Password of the credential. |
AbortAuth
|
Boolean to abort the authorization process. |
Persistence
|
Persistence type of the credential. |