Skip to main content
ATL Server Library Reference 
CBasicAuthObject Class 

This class implements support for performing HTTP navigation using the BASIC authentication scheme.


class CBasicAuthObject : public CAtlBaseAuthObject

This class performs BASIC authentication for protected URLs and is provided to the CAtlHttpClientT Class class through its AddAuthObj method before the request is launched. In addition to an instance of the CBasicAuthObject class itself, an implementation of the IAuthInfo interface must be provided to AddAuthObj so that the CAtlHttpClientT class can retrieve the required credentials when needed.

ATL Server also support NTLM authentication through the CNTLMAuthObject class.

Header: atlhttp.h