Go to the documentation of this file.
22 #ifndef AVFORMAT_HTTPAUTH_H
23 #define AVFORMAT_HTTPAUTH_H
77 const char *path,
const char *method);
@ HTTP_AUTH_BASIC
HTTP 1.0 Basic auth from RFC 1945 (also in RFC 2617)
DigestParams digest_params
The parameters specific to digest authentication.
char qop[30]
Quality of protection, containing the one that we've chosen to use, from the alternatives that the se...
@ HTTP_AUTH_DIGEST
HTTP 1.1 Digest auth from RFC 2617.
char nonce[300]
Server specified nonce.
HTTP Authentication state structure.
char stale[10]
The server indicated that the auth was ok, but needs to be redone with a new, non-stale nonce.
@ HTTP_AUTH_NONE
No authentication specified.
char opaque[300]
A server-specified string that should be included in authentication responses, not included in the ac...
it s the only field you need to keep assuming you have a context There is some magic you don t need to care about around this just let it vf default value
char * ff_http_auth_create_response(HTTPAuthState *state, const char *auth, const char *path, const char *method)
int nc
Nonce count, the number of earlier replies where this particular nonce has been used.
int stale
Auth ok, but needs to be resent with a new nonce.
void ff_http_auth_handle_header(HTTPAuthState *state, const char *key, const char *value)
char algorithm[10]
Server specified digest algorithm.
HTTPAuthType
Authentication types, ordered from weakest to strongest.
int auth_type
The currently chosen auth type.
char realm[200]
Authentication realm.