Home
last modified time | relevance | path

Searched refs:auth_manager_ (Results 1 – 7 of 7) sorted by relevance

/external/libweave/src/privet/
Dsecurity_manager.cc75 : config_{config}, auth_manager_{auth_manager}, task_runner_{task_runner} { in SecurityManager()
76 CHECK(auth_manager_);
103 *access_token = auth_manager_->CreateAccessToken(user_info, kTtl); in CreateAccessTokenImpl()
147 return auth_manager_->CreateAccessTokenFromAuth( in CreateAccessTokenImpl()
194 return auth_manager_->ParseAccessToken(decoded, user_info, error); in ParseAccessToken()
221 return Base64Encode(auth_manager_->ClaimRootClientAuthToken( in ClaimRootClientAuthToken()
233 return auth_manager_->ConfirmClientAuthToken(token_decoded, error); in ConfirmClientAuthToken()
359 auth_manager_->GetCertificateFingerprint(); in ConfirmPairing()
392 return auth_manager_->CreateSessionId(); in CreateSessionId()
404 if (block_pairing_until_ > auth_manager_->Now()) { in CheckIfPairingAllowed()
[all …]
Dsecurity_manager_unittest.cc140 AuthManager auth_manager_{ member in weave::privet::SecurityManagerTest
152 SecurityManager security_{&config_, &auth_manager_, &task_runner_};
Dsecurity_manager.h120 AuthManager* auth_manager_{nullptr};
/external/libweave/src/
Ddevice_manager.cc36 auth_manager_.reset(new privet::AuthManager(
42 network, auth_manager_.get()));
80 privet_->Start(network, dns_sd, http_server, wifi, auth_manager_.get(), in StartPrivet()
Ddevice_registration_info.cc246 auth_manager_{auth_manager} {
927 if (!auth_manager_ || auth_info_update_inprogress_) in SendAuthInfo()
939 std::vector<uint8_t> token = auth_manager_->ClaimRootClientAuthToken( in SendAuthInfo()
945 Base64Encode(auth_manager_->GetCertificateFingerprint()); in SendAuthInfo()
967 if (!error && auth_manager_->ConfirmClientAuthToken(token, nullptr)) in OnSendAuthInfoDone()
1331 if (auth_manager_) in RemoveCredentials()
1332 auth_manager_->SetAuthSecret({}, RootClientTokenOwner::kNone); in RemoveCredentials()
Ddevice_manager.h108 std::unique_ptr<privet::AuthManager> auth_manager_; variable
Ddevice_registration_info.h347 privet::AuthManager* auth_manager_{nullptr};