Lines Matching refs:security_

93     EXPECT_TRUE(security_.StartPairing(PairingType::kEmbeddedCode,  in PairAndAuthenticate()
104 EXPECT_TRUE(security_.ConfirmPairing(session_id, client_commitment_base64, in PairAndAuthenticate()
124 EXPECT_TRUE(security_.CreateAccessToken(AuthType::kPairing, in PairAndAuthenticate()
131 EXPECT_TRUE(security_.ParseAccessToken(token, &info, nullptr)); in PairAndAuthenticate()
152 SecurityManager security_{&config_, &auth_manager_, &task_runner_}; member in weave::privet::SecurityManagerTest
165 EXPECT_TRUE(security_.CreateAccessToken(AuthType::kAnonymous, "", in TEST_F()
172 EXPECT_TRUE(security_.ParseAccessToken(token, &info, nullptr)); in TEST_F()
183 security_.ConfirmPairing("123", "345", &fingerprint, &signature, &error)); in TEST_F()
202 security_.RegisterPairingListeners( in TEST_F()
213 EXPECT_TRUE(security_.StartPairing(PairingType::kEmbeddedCode, in TEST_F()
228 security_.ConfirmPairing(session_id, client_commitment + commitment_suffix, in TEST_F()
236 security_.RegisterPairingListeners( in TEST_F()
244 EXPECT_TRUE(security_.StartPairing(PairingType::kEmbeddedCode, in TEST_F()
248 EXPECT_TRUE(security_.CancelPairing(session_id, nullptr)); in TEST_F()
256 bool result = security_.StartPairing(PairingType::kEmbeddedCode, in TEST_F()
267 EXPECT_GT(security_.block_pairing_until_, clock_.Now()); in TEST_F()
268 EXPECT_LE(security_.block_pairing_until_, in TEST_F()
272 security_.block_pairing_until_ = in TEST_F()
280 security_.block_pairing_until_ = in TEST_F()
299 EXPECT_TRUE(security_.StartPairing(PairingType::kEmbeddedCode, in TEST_F()
302 EXPECT_TRUE(security_.CancelPairing(session_id, nullptr)); in TEST_F()