include/cpr/digest.h
Go to the documentation of this file.
1 #ifndef CPR_DIGEST_H
2 #define CPR_DIGEST_H
3 
4 #include "cpr/auth.h"
5 #include "cpr/defines.h"
6 
7 namespace cpr {
8 
9 class Digest : public Authentication {
10  public:
11  template <typename UserType, typename PassType>
12  Digest(UserType&& username, PassType&& password)
13  : Authentication{CPR_FWD(username), CPR_FWD(password)} {}
14 
15  const char* GetAuthString() const noexcept;
16 };
17 
18 } // namespace cpr
19 
20 #endif
static char * password
Definition: unit1304.c:27
#define CPR_FWD(...)
Definition: defines.h:6
Digest(UserType &&username, PassType &&password)
Definition: auth.cpp:3
const char * GetAuthString() const noexcept
Definition: digest.cpp:5


rc_tagdetect_client
Author(s): Monika Florek-Jasinska , Raphael Schaller
autogenerated on Sat Feb 13 2021 03:42:08