22 #ifndef AVFORMAT_HTTPAUTH_H 23 #define AVFORMAT_HTTPAUTH_H 28 typedef enum HTTPAuthType {
74 void ff_http_auth_handle_header(
HTTPAuthState *state,
const char *key,
76 char *ff_http_auth_create_response(
HTTPAuthState *state,
const char *auth,
77 const char *path,
const char *method);
Definition: httpauth.h:35
char algorithm[10]
Server specified digest algorithm.
Definition: httpauth.h:37
HTTP Authentication state structure.
Definition: httpauth.h:55
int auth_type
The currently chosen auth type.
Definition: httpauth.h:59
char opaque[300]
A server-specified string that should be included in authentication responses, not included in the ac...
Definition: httpauth.h:41
int stale
Auth ok, but needs to be resent with a new nonce.
Definition: httpauth.h:71
char qop[30]
Quality of protection, containing the one that we've chosen to use, from the alternatives that the se...
Definition: httpauth.h:38
char nonce[300]
Server specified nonce.
Definition: httpauth.h:36
DigestParams digest_params
The parameters specific to digest authentication.
Definition: httpauth.h:67
int nc
Nonce count, the number of earlier replies where this particular nonce has been used.
Definition: httpauth.h:47
char stale[10]
The server indicated that the auth was ok, but needs to be redone with a new, non-stale nonce...
Definition: httpauth.h:44