Lines Matching defs:scopes
55 const char kInvalidScopes[] = "Invalid OAuth2 scopes.";
329 std::set<std::string> scopes(oauth2_info.scopes.begin(),
330 oauth2_info.scopes.end());
352 if (params->details->scopes.get()) {
353 scopes = std::set<std::string>(params->details->scopes->begin(),
354 params->details->scopes->end());
358 if (scopes.size() == 0) {
364 new ExtensionTokenKey(extension()->id(), account_key, scopes));
732 OAuth2TokenService::ScopeSet scopes;
733 scopes.insert(GaiaConstants::kAnyApiOAuth2Scope);
736 scopes,
795 std::vector<std::string>(token_key_->scopes.begin(),
796 token_key_->scopes.end()),