![]() |
MapLink Pro 11.1.1.0.
Envitia MapLink Pro: The Ultimate Mapping Application Toolkit
|
This callback class is used by MapLink to request authentication credentials as part of network requests.
It is an abstract class, which requires clients to provide an implementation. Any caching of these credentials between requests must be handled by the client application.
Public Member Functions | |
virtual | ~TSLRemoteAuthenticationCallback ()=0 |
virtual void | onCredentialsRequired (TSLFileLoaderRemote *loader, TSLSimpleString &username, TSLSimpleString &password, const char *url)=0 |
|
inlinepure virtual |
Additional Declarations
|
pure virtual |
A callback function used to supply credentials for authenticating remote requests.
This function will be called every time an HTTP 401 Unauthorised response is encountered. The callback will not be made if a valid set of credentials has been found in the TSLFileLoaderRemote cache.
To add credentials to the cache, call TSLFileLoaderRemote::addCredentials.
loader | The instance of TSLFileLoaderRemote that the callback was made by. |
username | Used to supply a username to the server. |
password | Used to supply a password to the server. |
url | The url of the request that triggered the callback. |