Home | History | Annotate | Download | only in privet

Lines Matching full:rootclienttokenowner

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