Lines Matching refs:RootClientTokenOwner
195 auth_.GetRootClientAuthToken(RootClientTokenOwner::kClient))); in TEST_F()
201 Base64Encode(auth_.GetRootClientAuthToken(RootClientTokenOwner::kCloud))); in TEST_F()
209 auth_.GetRootClientAuthToken(RootClientTokenOwner::kClient))); in TEST_F()
216 Base64Encode(auth.GetRootClientAuthToken(RootClientTokenOwner::kClient))); in TEST_F()
221 auth_.GetRootClientAuthToken(RootClientTokenOwner::kClient), nullptr)); in TEST_F()
226 auto token = auth.GetRootClientAuthToken(RootClientTokenOwner::kClient); in TEST_F()
252 auto root = auth_.GetRootClientAuthToken(RootClientTokenOwner::kCloud); in TEST_F()
272 auto root = auth_.GetRootClientAuthToken(RootClientTokenOwner::kClient); in TEST_F()
280 auto root = auth_.GetRootClientAuthToken(RootClientTokenOwner::kClient); in TEST_F()
293 auto root = auth_.GetRootClientAuthToken(RootClientTokenOwner::kClient); in TEST_F()
308 auto root = auth_.GetRootClientAuthToken(RootClientTokenOwner::kClient); in TEST_F()
326 bool TestClaim(RootClientTokenOwner owner, RootClientTokenOwner claimer) { in TestClaim()
340 TestClaim(RootClientTokenOwner::kNone, RootClientTokenOwner::kNone), ""); in TEST_F()
342 TestClaim(RootClientTokenOwner::kClient, RootClientTokenOwner::kNone), in TEST_F()
345 TestClaim(RootClientTokenOwner::kCloud, RootClientTokenOwner::kNone), ""); in TEST_F()
347 TestClaim(RootClientTokenOwner::kNone, RootClientTokenOwner::kClient)); in TEST_F()
349 TestClaim(RootClientTokenOwner::kClient, RootClientTokenOwner::kClient)); in TEST_F()
351 TestClaim(RootClientTokenOwner::kCloud, RootClientTokenOwner::kClient)); in TEST_F()
353 TestClaim(RootClientTokenOwner::kNone, RootClientTokenOwner::kCloud)); in TEST_F()
355 TestClaim(RootClientTokenOwner::kClient, RootClientTokenOwner::kCloud)); in TEST_F()
357 TestClaim(RootClientTokenOwner::kCloud, RootClientTokenOwner::kCloud)); in TEST_F()
362 auth_.ClaimRootClientAuthToken(RootClientTokenOwner::kCloud, nullptr); in TEST_F()
364 EXPECT_EQ(RootClientTokenOwner::kNone, in TEST_F()
369 EXPECT_EQ(RootClientTokenOwner::kCloud, in TEST_F()
375 auth_.ClaimRootClientAuthToken(RootClientTokenOwner::kCloud, nullptr); in TEST_F()
382 auth_.ClaimRootClientAuthToken(RootClientTokenOwner::kCloud, nullptr); in TEST_F()
384 auth_.ClaimRootClientAuthToken(RootClientTokenOwner::kCloud, nullptr); in TEST_F()
391 auth_.ClaimRootClientAuthToken(RootClientTokenOwner::kCloud, nullptr); in TEST_F()
393 auth_.ClaimRootClientAuthToken(RootClientTokenOwner::kCloud, nullptr); in TEST_F()