| // Copyright 2012 The Chromium Authors |
| // Use of this source code is governed by a BSD-style license that can be |
| // found in the LICENSE file. |
| // |
| // Google Authentication service constants. |
| |
| #ifndef GOOGLE_APIS_GAIA_GAIA_CONSTANTS_H_ |
| #define GOOGLE_APIS_GAIA_GAIA_CONSTANTS_H_ |
| |
| #include "base/component_export.h" |
| |
| namespace GaiaConstants { |
| |
| // Gaia sources for accounting |
| COMPONENT_EXPORT(GOOGLE_APIS) extern const char kChromeOSSource[]; |
| COMPONENT_EXPORT(GOOGLE_APIS) extern const char kChromeSource[]; |
| // Used as Gaia source suffix to detect retry requests because of |
| // |GoogleServiceAuthError::UNEXPECTED_SERVICE_RESPONSE|. |
| COMPONENT_EXPORT(GOOGLE_APIS) extern const char kUnexpectedServiceResponse[]; |
| |
| // OAuth2 scopes. |
| COMPONENT_EXPORT(GOOGLE_APIS) extern const char kOAuth1LoginScope[]; |
| COMPONENT_EXPORT(GOOGLE_APIS) extern const char kDeviceManagementServiceOAuth[]; |
| COMPONENT_EXPORT(GOOGLE_APIS) extern const char kAnyApiOAuth2Scope[]; |
| COMPONENT_EXPORT(GOOGLE_APIS) extern const char kChromeSyncOAuth2Scope[]; |
| COMPONENT_EXPORT(GOOGLE_APIS) |
| extern const char kChromeSyncSupervisedOAuth2Scope[]; |
| COMPONENT_EXPORT(GOOGLE_APIS) |
| extern const char kKidManagementPrivilegedOAuth2Scope[]; |
| COMPONENT_EXPORT(GOOGLE_APIS) |
| extern const char kKidsSupervisionSetupChildOAuth2Scope[]; |
| COMPONENT_EXPORT(GOOGLE_APIS) extern const char kGoogleTalkOAuth2Scope[]; |
| COMPONENT_EXPORT(GOOGLE_APIS) extern const char kGoogleUserInfoEmail[]; |
| COMPONENT_EXPORT(GOOGLE_APIS) extern const char kGoogleUserInfoProfile[]; |
| COMPONENT_EXPORT(GOOGLE_APIS) extern const char kIpProtectionAuthScope[]; |
| COMPONENT_EXPORT(GOOGLE_APIS) extern const char kParentApprovalOAuth2Scope[]; |
| COMPONENT_EXPORT(GOOGLE_APIS) extern const char kPeopleApiReadOnlyOAuth2Scope[]; |
| COMPONENT_EXPORT(GOOGLE_APIS) |
| extern const char kProgrammaticChallengeOAuth2Scope[]; |
| COMPONENT_EXPORT(GOOGLE_APIS) extern const char kAccountsReauthOAuth2Scope[]; |
| COMPONENT_EXPORT(GOOGLE_APIS) extern const char kAuditRecordingOAuth2Scope[]; |
| COMPONENT_EXPORT(GOOGLE_APIS) extern const char kClearCutOAuth2Scope[]; |
| COMPONENT_EXPORT(GOOGLE_APIS) extern const char kFCMOAuthScope[]; |
| COMPONENT_EXPORT(GOOGLE_APIS) extern const char kTachyonOAuthScope[]; |
| COMPONENT_EXPORT(GOOGLE_APIS) extern const char kPhotosOAuth2Scope[]; |
| COMPONENT_EXPORT(GOOGLE_APIS) extern const char kCastBackdropOAuth2Scope[]; |
| COMPONENT_EXPORT(GOOGLE_APIS) |
| extern const char kPasswordsLeakCheckOAuth2Scope[]; |
| COMPONENT_EXPORT(GOOGLE_APIS) |
| extern const char kChromeSafeBrowsingOAuth2Scope[]; |
| COMPONENT_EXPORT(GOOGLE_APIS) |
| extern const char kClassifyUrlKidPermissionOAuth2Scope[]; |
| COMPONENT_EXPORT(GOOGLE_APIS) extern const char kKidFamilyReadonlyOAuth2Scope[]; |
| COMPONENT_EXPORT(GOOGLE_APIS) extern const char kPaymentsOAuth2Scope[]; |
| COMPONENT_EXPORT(GOOGLE_APIS) extern const char kCryptAuthOAuth2Scope[]; |
| COMPONENT_EXPORT(GOOGLE_APIS) extern const char kDriveOAuth2Scope[]; |
| COMPONENT_EXPORT(GOOGLE_APIS) |
| extern const char kExperimentsAndConfigsOAuth2Scope[]; |
| COMPONENT_EXPORT(GOOGLE_APIS) extern const char kDriveReadOnlyOAuth2Scope[]; |
| COMPONENT_EXPORT(GOOGLE_APIS) extern const char kAssistantOAuth2Scope[]; |
| COMPONENT_EXPORT(GOOGLE_APIS) |
| extern const char kCloudPlatformProjectsOAuth2Scope[]; |
| COMPONENT_EXPORT(GOOGLE_APIS) extern const char kNearbyShareOAuth2Scope[]; |
| COMPONENT_EXPORT(GOOGLE_APIS) extern const char kNearbyPresenceOAuth2Scope[]; |
| COMPONENT_EXPORT(GOOGLE_APIS) extern const char kGCMGroupServerOAuth2Scope[]; |
| COMPONENT_EXPORT(GOOGLE_APIS) extern const char kGCMCheckinServerOAuth2Scope[]; |
| COMPONENT_EXPORT(GOOGLE_APIS) extern const char kChromeWebstoreOAuth2Scope[]; |
| COMPONENT_EXPORT(GOOGLE_APIS) |
| extern const char kAccountCapabilitiesOAuth2Scope[]; |
| COMPONENT_EXPORT(GOOGLE_APIS) extern const char kSupportContentOAuth2Scope[]; |
| COMPONENT_EXPORT(GOOGLE_APIS) extern const char kPhotosModuleOAuth2Scope[]; |
| COMPONENT_EXPORT(GOOGLE_APIS) extern const char kPhotosModuleImageOAuth2Scope[]; |
| COMPONENT_EXPORT(GOOGLE_APIS) extern const char kSecureConnectOAuth2Scope[]; |
| COMPONENT_EXPORT(GOOGLE_APIS) extern const char kFeedOAuth2Scope[]; |
| COMPONENT_EXPORT(GOOGLE_APIS) extern const char kKAnonymityServiceOAuth2Scope[]; |
| COMPONENT_EXPORT(GOOGLE_APIS) extern const char kCalendarReadOnlyOAuth2Scope[]; |
| |
| // OAuth 2 scopes for Google Tasks API. |
| // https://developers.google.com/identity/protocols/oauth2/scopes#tasks |
| COMPONENT_EXPORT(GOOGLE_APIS) extern const char kTasksReadOnlyOAuth2Scope[]; |
| COMPONENT_EXPORT(GOOGLE_APIS) extern const char kTasksOAuth2Scope[]; |
| |
| // OAuth 2 scopes for Google Classroom API. |
| // https://developers.google.com/identity/protocols/oauth2/scopes#classroom |
| COMPONENT_EXPORT(GOOGLE_APIS) |
| extern const char kClassroomReadOnlyCoursesOAuth2Scope[]; |
| COMPONENT_EXPORT(GOOGLE_APIS) |
| extern const char kClassroomReadOnlyCourseWorkSelfOAuth2Scope[]; |
| COMPONENT_EXPORT(GOOGLE_APIS) |
| extern const char kClassroomReadOnlyCourseWorkStudentsOAuth2Scope[]; |
| COMPONENT_EXPORT(GOOGLE_APIS) |
| extern const char kClassroomReadOnlyStudentSubmissionsSelfOAuth2Scope[]; |
| COMPONENT_EXPORT(GOOGLE_APIS) |
| extern const char kClassroomReadOnlyStudentSubmissionsStudentsOAuth2Scope[]; |
| |
| // Used by wallet sign in helper. |
| COMPONENT_EXPORT(GOOGLE_APIS) extern const char kClientOAuthEmailKey[]; |
| |
| // Refresh token that is guaranteed to be invalid. |
| COMPONENT_EXPORT(GOOGLE_APIS) extern const char kInvalidRefreshToken[]; |
| |
| // Name of the Google authentication cookie. |
| COMPONENT_EXPORT(GOOGLE_APIS) extern const char kGaiaSigninCookieName[]; |
| } // namespace GaiaConstants |
| |
| #endif // GOOGLE_APIS_GAIA_GAIA_CONSTANTS_H_ |