gd-tools/cpr-1.10.5/cpr/auth.cpp

17 lines
349 B
C++
Raw Normal View History

2024-02-07 20:32:30 +00:00
#include "cpr/auth.h"
#include "cpr/util.h"
namespace cpr {
Authentication::~Authentication() noexcept {
util::secureStringClear(auth_string_);
}
const char* Authentication::GetAuthString() const noexcept {
return auth_string_.c_str();
}
AuthMode Authentication::GetAuthMode() const noexcept {
return auth_mode_;
}
} // namespace cpr