22 #ifndef AVFORMAT_HTTPAUTH_H
23 #define AVFORMAT_HTTPAUTH_H
77 const char *path,
const char *method);
HTTPAuthType
Authentication types, ordered from weakest to strongest.
char algorithm[10]
Server specified digest algorithm.
HTTP Authentication state structure.
int auth_type
The currently chosen auth type.
char opaque[300]
A server-specified string that should be included in authentication responses, not included in the ac...
HTTP 1.0 Basic auth from RFC 1945 (also in RFC 2617)
GLsizei GLboolean const GLfloat * value
int stale
Auth ok, but needs to be resent with a new nonce.
char * ff_http_auth_create_response(HTTPAuthState *state, const char *auth, const char *path, const char *method)
char realm[200]
Authentication realm.
HTTP 1.1 Digest auth from RFC 2617.
char qop[30]
Quality of protection, containing the one that we've chosen to use, from the alternatives that the se...
char nonce[300]
Server specified nonce.
DigestParams digest_params
The parameters specific to digest authentication.
int nc
Nonce count, the number of earlier replies where this particular nonce has been used.
char stale[10]
The server indicated that the auth was ok, but needs to be redone with a new, non-stale nonce...
void ff_http_auth_handle_header(HTTPAuthState *state, const char *key, const char *value)
No authentication specified.