mirror of
https://github.com/VCMP-SqMod/SqMod.git
synced 2024-11-08 00:37:15 +01:00
9298065cef
CPR has features disabled and PCRE is fully disabled until updated to new code.
17 lines
349 B
C++
17 lines
349 B
C++
#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
|