Home
last modified time | relevance | path

Searched refs:AuthManager (Results 1 – 13 of 13) sorted by relevance

/external/libweave/src/privet/
Dauth_manager.cc275 AuthManager::AuthManager(Config* config, in AuthManager() function in weave::privet::AuthManager
288 AuthManager::AuthManager(const std::vector<uint8_t>& auth_secret, in AuthManager() function in weave::privet::AuthManager
292 : AuthManager(nullptr, certificate_fingerprint) { in AuthManager()
300 void AuthManager::SetAuthSecret(const std::vector<uint8_t>& secret, in SetAuthSecret()
320 AuthManager::~AuthManager() {} in ~AuthManager()
322 std::vector<uint8_t> AuthManager::CreateAccessToken(const UserInfo& user_info, in CreateAccessToken()
343 bool AuthManager::ParseAccessToken(const std::vector<uint8_t>& token, in ParseAccessToken()
387 std::vector<uint8_t> AuthManager::ClaimRootClientAuthToken( in ClaimRootClientAuthToken()
402 std::unique_ptr<AuthManager>{new AuthManager{nullptr, {}}}, owner)); in ClaimRootClientAuthToken()
408 bool AuthManager::ConfirmClientAuthToken(const std::vector<uint8_t>& token, in ConfirmClientAuthToken()
[all …]
Dauth_manager.h26 class AuthManager {
28 AuthManager(Config* config,
32 AuthManager(const std::vector<uint8_t>& auth_secret,
36 ~AuthManager();
91 std::deque<std::pair<std::unique_ptr<AuthManager>, RootClientTokenOwner>>
94 DISALLOW_COPY_AND_ASSIGN(AuthManager);
Dauth_manager_unittest.cc49 AuthManager auth_{kSecret1, kFingerprint, kSecret2, &clock_};
53 AuthManager auth{{}, {}, {}, &clock_}; in TEST_F()
59 AuthManager auth{kSecret2, {}, kSecret1}; in TEST_F()
155 AuthManager({}, {}).CreateAccessToken( in TEST_F()
165 AuthManager auth{{}, {}, {}, &clock_}; in TEST_F()
213 AuthManager auth{kSecret2, {}, kSecret1, &clock_}; in TEST_F()
224 AuthManager auth{{}, {}, {}, &clock_}; in TEST_F()
335 AuthManager auth_{&config_, {}};
Dsecurity_manager.h34 class AuthManager; variable
56 AuthManager* auth_manager,
120 AuthManager* auth_manager_{nullptr};
Dprivet_manager.h53 AuthManager* auth_manager,
Dprivet_manager.cc50 AuthManager* auth_manager, in Start()
Dsecurity_manager_unittest.cc140 AuthManager auth_manager_{
Dsecurity_manager.cc73 AuthManager* auth_manager, in SecurityManager()
/external/libweave/src/
Ddevice_registration_info.h45 class AuthManager; variable
61 privet::AuthManager* auth_manager);
347 privet::AuthManager* auth_manager_{nullptr};
Ddevice_manager.h21 class AuthManager; variable
108 std::unique_ptr<privet::AuthManager> auth_manager_;
Ddevice_manager.cc36 auth_manager_.reset(new privet::AuthManager(
Ddevice_registration_info_unittest.cc205 privet::AuthManager auth_{
Ddevice_registration_info.cc240 privet::AuthManager* auth_manager) in DeviceRegistrationInfo()