libfilezilla
0.59.0
A cross-platform C++ library for asynchronous and networked applications
Toggle main menu visibility
Loading...
Searching...
No Matches
lib
libfilezilla
http
digest.hpp
Go to the documentation of this file.
1
#ifndef LIBFILEZILLA_HTTP_DIGEST_HEADER
2
#define LIBFILEZILLA_HTTP_DIGEST_HEADER
3
7
8
#include "
headers.hpp
"
9
10
namespace
fz
{
11
12
class
logger_interface
;
13
class
uri
;
14
15
namespace
http {
16
17
typedef
fz::http::headers auth_params;
18
typedef
std::map<std::string, auth_params, fz::less_insensitive_ascii> auth_challenges;
19
21
auth_challenges FZ_PUBLIC_SYMBOL
parse_auth_challenges
(std::string
const
& header);
22
24
std::string FZ_PUBLIC_SYMBOL
build_digest_authorization
(auth_params
const
& params,
unsigned
int
& nonce_counter, std::string
const
& verb,
uri
const
&
uri
, std::string
const
&
user
, std::string
const
& password,
fz::logger_interface
& logger);
25
26
}
27
}
28
29
#endif
fz::logger_interface
Abstract interface for logging strings.
Definition
logger.hpp:51
fz::uri
The uri class is used to decompose URIs into their individual components.
Definition
uri.hpp:30
fz::user
Definition
impersonation.hpp:29
fz::http::build_digest_authorization
std::string build_digest_authorization(auth_params const ¶ms, unsigned int &nonce_counter, std::string const &verb, uri const &uri, std::string const &user, std::string const &password, fz::logger_interface &logger)
Builds the digest going into the Authorization: request header.
fz::http::parse_auth_challenges
auth_challenges parse_auth_challenges(std::string const &header)
Parses challenges from the WWW-Authenticate response header.
headers.hpp
Declares fz::with_headers as base for HTTP requests/responses.
fz
The namespace used by libfilezilla.
Definition
apply.hpp:17
Generated by
1.18.0