GNU libmicrohttpd  0.9.59
basicauth.c File Reference

Implements HTTP basic authentication methods. More...

#include "platform.h"
#include "mhd_limits.h"
#include "internal.h"
#include "base64.h"
#include "mhd_compat.h"
Include dependency graph for basicauth.c:

Go to the source code of this file.

Macros

#define _BASIC_BASE   "Basic "
 

Functions

_MHD_EXTERN char * MHD_basic_auth_get_username_password (struct MHD_Connection *connection, char **password)
 
_MHD_EXTERN int MHD_queue_basic_auth_fail_response (struct MHD_Connection *connection, const char *realm, struct MHD_Response *response)
 

Detailed Description

Implements HTTP basic authentication methods.

Author
Amr Ali
Matthieu Speder

Definition in file basicauth.c.

Macro Definition Documentation

◆ _BASIC_BASE

#define _BASIC_BASE   "Basic "

Beginning string for any valid Basic authentication header.

Definition at line 34 of file basicauth.c.

Referenced by MHD_basic_auth_get_username_password().