diff options
author | Vitaly Buka <vitalybuka@google.com> | 2015-12-15 12:02:59 -0800 |
---|---|---|
committer | Vitaly Buka <vitalybuka@google.com> | 2015-12-16 01:40:11 +0000 |
commit | 305ab613de85f6640f300010a17cb6ea22be2081 (patch) | |
tree | 17befb891acd88efc54b83927506e6a9b8faf8e1 /src/privet/auth_manager.cc | |
parent | 2d24e0ea050085e91bb8282a0408561d6a17797a (diff) | |
download | libweave-305ab613de85f6640f300010a17cb6ea22be2081.tar.gz |
Rename ConfirmAuthToken -> ConfirmClientAuthToken
Change-Id: If7ecdb3cfd168a7054300fd229bd1e8dc534469a
Reviewed-on: https://weave-review.googlesource.com/1965
Reviewed-by: Alex Vakulenko <avakulenko@google.com>
Diffstat (limited to 'src/privet/auth_manager.cc')
-rw-r--r-- | src/privet/auth_manager.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/privet/auth_manager.cc b/src/privet/auth_manager.cc index f9f6777..62a640f 100644 --- a/src/privet/auth_manager.cc +++ b/src/privet/auth_manager.cc @@ -171,8 +171,8 @@ std::vector<uint8_t> AuthManager::ClaimRootClientAuthToken( return pending_claims_.back().first->GetRootClientAuthToken(); } -bool AuthManager::ConfirmAuthToken(const std::vector<uint8_t>& token, - ErrorPtr* error) { +bool AuthManager::ConfirmClientAuthToken(const std::vector<uint8_t>& token, + ErrorPtr* error) { // Cover case when caller sent confirm twice. if (pending_claims_.empty() && IsValidAuthToken(token)) return true; |