Enum Class OauthScope.Google

java.lang.Object
java.lang.Enum<OauthScope.Google>
org.aoju.bus.oauth.metric.OauthScope.Google
All Implemented Interfaces:
Serializable, Comparable<OauthScope.Google>, Constable, OauthScope.Scope
Enclosing class:
OauthScope

public static enum OauthScope.Google extends Enum<OauthScope.Google> implements OauthScope.Scope
Google 授权范围
  • Enum Constant Details

  • Method Details

    • values

      public static OauthScope.Google[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static OauthScope.Google valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • getAdminDirectoryScopes

      public static List<String> getAdminDirectoryScopes()
    • getGmailScopes

      public static List<String> getGmailScopes()
      View And manage user's mail in Gmail.
      Returns:
      List
    • getOidcScopes

      public static List<String> getOidcScopes()
      Used for OIDC authorization and certification
      Returns:
      List
    • getPeopleScopes

      public static List<String> getPeopleScopes()
      View And manage user's detail and Google Contacts.
      Returns:
      List
    • getPhotosLibraryScopes

      public static List<String> getPhotosLibraryScopes()
      View and manage user's photo library.
      Returns:
      List
    • getYouTubeScopes

      public static List<String> getYouTubeScopes()
      View And manage user's videos, activity and playlists.
      Returns:
      List
    • getGoogleAnalyticsScopes

      public static List<String> getGoogleAnalyticsScopes()
      View And manage user's Google Analytics.
      Returns:
      List
    • getCalendarScopes

      public static List<String> getCalendarScopes()
      View And manage user's calendars in Google Calendar.
      Returns:
      List
    • getDriveScopes

      public static List<String> getDriveScopes()
      List, download, create, move, edit, share and search all of user's documents and files in Google Drive.
      Returns:
      List