AUTHENTICATION_INFO Structure
The AUTHENTICATION_INFO data structure contains authentication information for each URL, such as user name and password.
typedef struct _AUTHENTICATION_INFO{
DWORD dwSize;
AUTH_TYPE atAuthenticationType;
LPCWSTR pcwszUser;
LPCWSTR pcwszPassword;
} AUTHENTICATION_INFO
Members
The following table shows members of the AUTHENTICATION_INFO data structure and a brief description of each.
Name | Description |
---|---|
dwSize |
A DWORD representing the actual size of structure (bytes) |
atAuthenticationType |
A value from the AUTH_TYPE Enumeration defining the authentication type used for the URL. |
pcwszUser |
A LPCWSTSR representing the username, including domain to use for crawling content. |
pcwszPassword |
A LPCWSTSR representing the password to use for crawling content. |
Remarks
The pcwszUser and pcwszPassword fields are only used for authentication types that require a username and password explicitly specified, such as Basic authentication.
See Also
Reference
Concepts
Protocol Handler Data Structures
Protocol Handler Reference
AUTH_TYPE Enumeration