Searched refs:auth_manager_ (Results 1 – 7 of 7) sorted by relevance
/external/libweave/src/privet/ |
D | security_manager.cc | 75 : 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 …]
|
D | security_manager_unittest.cc | 140 AuthManager auth_manager_{ member in weave::privet::SecurityManagerTest 152 SecurityManager security_{&config_, &auth_manager_, &task_runner_};
|
D | security_manager.h | 120 AuthManager* auth_manager_{nullptr};
|
/external/libweave/src/ |
D | device_manager.cc | 36 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()
|
D | device_registration_info.cc | 246 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()
|
D | device_manager.h | 108 std::unique_ptr<privet::AuthManager> auth_manager_; variable
|
D | device_registration_info.h | 347 privet::AuthManager* auth_manager_{nullptr};
|