HTTP_FILTER_AUTHENT (Compact 2013)

3/26/2014

This structure contains user name and password information for use when the server is about to authenticate the client. The structure is pointed to by the pvNotification parameter in the HttpFilterProc function when NotificationType is SF_NOTIFY_AUTHENTICATION.

Syntax

typedef struct _HTTP_FILTER_AUTHENT{ 
  CHAR* pszUser;
  DWORD cbUserBuff;
  CHAR* pszPassword;
  DWORD cbPasswordBuff;
} HTTP_FILTER_AUTHENT, *PHTTP_FILTER_AUTHENT;

Parameters

  • pszUser
    Pointer to a string containing the user name for this request. An empty string indicates an anonymous user.
  • cbUserBuff
    Size of the buffer pointed to by pszUser. This is guaranteed to be at least SF_MAX_USERNAME.
  • pszPassword
    Pointer to a string containing the password for this request.
  • cbPasswordBuff
    Size of the buffer pointed to by pszPassword. This is guaranteed to be at least SF_MAX_PASSWORD.

Requirements

Header

httpfilt.h

See Also

Reference

Web Server Structures
HttpFilterProc