System.Net.URLClient.TCredentialsStorage.FindAccurateCredential
Delphi
function FindAccurateCredential(AnAuthTargetType: TAuthTargetType; const ARealm: string; const AURL: string = ''; const AUser: string = ''): TCredential;
C++
TCredential __fastcall FindAccurateCredential(TAuthTargetType AnAuthTargetType, const System::UnicodeString ARealm, const System::UnicodeString AURL = System::UnicodeString(), const System::UnicodeString AUser = System::UnicodeString());
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | public | System.Net.URLClient.pas System.Net.URLClient.hpp |
System.Net.URLClient | TCredentialsStorage |
Description
Finds the credential that fits best with the input arguments in the credential storage FCredentials.
The FindAccurateCredential method finds the credential that fits best with the input arguments in the credential storage FCredentials. The FindAccurateCredential method uses the parameters AnAuthTargetType
, ARealm
, AURL
and AUser
for filtering the credentials. The method returns the TCredential found.