1
0
mirror of https://github.com/VCMP-SqMod/SqMod.git synced 2024-11-08 08:47:17 +01:00
SqMod/vendor/CPR/cpr/auth.cpp

17 lines
349 B
C++
Raw Normal View History

2021-03-26 23:18:51 +01:00
#include "cpr/auth.h"
#include "cpr/util.h"
2021-03-26 23:18:51 +01:00
namespace cpr {
Authentication::~Authentication() noexcept {
util::secureStringClear(auth_string_);
}
2021-03-26 23:18:51 +01:00
const char* Authentication::GetAuthString() const noexcept {
return auth_string_.c_str();
}
AuthMode Authentication::GetAuthMode() const noexcept {
return auth_mode_;
}
2021-03-26 23:18:51 +01:00
} // namespace cpr