FFmpeg  4.0
Data Fields
HTTPAuthState Struct Reference

HTTP Authentication state structure. More...

#include <libavformat/httpauth.h>

Data Fields

int auth_type
 The currently chosen auth type. More...
 
char realm [200]
 Authentication realm. More...
 
DigestParams digest_params
 The parameters specific to digest authentication. More...
 
int stale
 Auth ok, but needs to be resent with a new nonce. More...
 

Detailed Description

HTTP Authentication state structure.

Must be zero-initialized before used with the functions below.

Definition at line 55 of file httpauth.h.

Field Documentation

◆ auth_type

int HTTPAuthState::auth_type

◆ realm

char HTTPAuthState::realm[200]

Authentication realm.

Definition at line 63 of file httpauth.h.

Referenced by ff_http_auth_handle_header(), handle_basic_params(), handle_digest_params(), and make_digest_auth().

◆ digest_params

DigestParams HTTPAuthState::digest_params

The parameters specific to digest authentication.

Definition at line 67 of file httpauth.h.

Referenced by ff_http_auth_handle_header(), handle_digest_params(), handle_digest_update(), and make_digest_auth().

◆ stale

int HTTPAuthState::stale

Auth ok, but needs to be resent with a new nonce.

Definition at line 71 of file httpauth.h.

Referenced by ff_http_auth_create_response(), ff_http_auth_handle_header(), ff_rtsp_open_transport_ctx(), http_open_cnx(), and rtsp_read_packet().


The documentation for this struct was generated from the following file: