diff options
Diffstat (limited to 'src/privet/security_manager.cc')
-rw-r--r-- | src/privet/security_manager.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/privet/security_manager.cc b/src/privet/security_manager.cc index 5bb35cc..d2025b1 100644 --- a/src/privet/security_manager.cc +++ b/src/privet/security_manager.cc @@ -140,8 +140,8 @@ std::string SecurityManager::ClaimRootClientAuthToken(ErrorPtr* error) { RootClientTokenOwner::kClient, error)); } -bool SecurityManager::ConfirmAuthToken(const std::string& token, - ErrorPtr* error) { +bool SecurityManager::ConfirmClientAuthToken(const std::string& token, + ErrorPtr* error) { std::vector<uint8_t> token_decoded; if (!Base64Decode(token, &token_decoded)) { Error::AddToPrintf(error, FROM_HERE, errors::kDomain, @@ -149,7 +149,7 @@ bool SecurityManager::ConfirmAuthToken(const std::string& token, "Invalid auth token string: '%s'", token.c_str()); return false; } - return auth_manager_->ConfirmAuthToken(token_decoded, error); + return auth_manager_->ConfirmClientAuthToken(token_decoded, error); } bool SecurityManager::IsValidPairingCode(const std::string& auth_code) const { |