1#include "cpr/auth.h"
2#include "cpr/util.h"
3
4namespace cpr {
5Authentication::~Authentication() noexcept {
6 util::secureStringClear(s&: auth_string_);
7}
8
9const char* Authentication::GetAuthString() const noexcept {
10 return auth_string_.c_str();
11}
12
13AuthMode Authentication::GetAuthMode() const noexcept {
14 return auth_mode_;
15}
16} // namespace cpr
17