GNU libmicrohttpd 1.0.2
|
#include <microhttpd.h>
Data Fields | |
char * | username |
size_t | username_len |
char * | password |
size_t | password_len |
Information decoded from Basic Authentication client's header.
The username and the password are technically allowed to have binary zeros, username_len and password_len could be used to detect such situations.
The buffers pointed by username and password members are freed when MHD_free() is called for pointer to this structure.
Application may modify buffers as needed until MHD_free() is called for pointer to this structure
Definition at line 5986 of file microhttpd.h.
char* MHD_BasicAuthInfo::password |
The password, may be NULL if password is not encoded by the client. The buffer pointed by the password becomes invalid when the pointer to the structure is freed by MHD_free().
Definition at line 6005 of file microhttpd.h.
Referenced by MHD_basic_auth_get_username_password(), and MHD_basic_auth_get_username_password3().
size_t MHD_BasicAuthInfo::password_len |
The length of the password, not including zero-termination; when the password is NULL, the length is always zero.
Definition at line 6011 of file microhttpd.h.
Referenced by MHD_basic_auth_get_username_password(), and MHD_basic_auth_get_username_password3().
char* MHD_BasicAuthInfo::username |
The username, cannot be NULL. The buffer pointed by the username becomes invalid when the pointer to the structure is freed by MHD_free().
Definition at line 5993 of file microhttpd.h.
Referenced by MHD_basic_auth_get_username_password(), and MHD_basic_auth_get_username_password3().
size_t MHD_BasicAuthInfo::username_len |
The length of the username, not including zero-termination
Definition at line 5998 of file microhttpd.h.
Referenced by MHD_basic_auth_get_username_password(), and MHD_basic_auth_get_username_password3().