Module bus.auth

Enum Class GiteeScope

java.lang.Object
java.lang.Enum<GiteeScope>
org.miaixz.bus.auth.nimble.gitee.GiteeScope
All Implemented Interfaces:
Serializable, Comparable<GiteeScope>, Constable, AuthorizeScope

public enum GiteeScope extends Enum<GiteeScope> implements AuthorizeScope
Gitee 授权范围
Since:
Java 17+
Author:
Kimi Liu
  • Enum Constant Details

    • USER_INFO

      public static final GiteeScope USER_INFO
      scope 含义,以description 为准
    • PROJECTS

      public static final GiteeScope PROJECTS
    • PULL_REQUESTS

      public static final GiteeScope PULL_REQUESTS
    • ISSUES

      public static final GiteeScope ISSUES
    • NOTES

      public static final GiteeScope NOTES
    • KEYS

      public static final GiteeScope KEYS
    • HOOK

      public static final GiteeScope HOOK
    • GROUPS

      public static final GiteeScope GROUPS
    • GISTS

      public static final GiteeScope GISTS
    • ENTERPRISES

      public static final GiteeScope ENTERPRISES
    • EMAILS

      public static final GiteeScope EMAILS
  • Method Details

    • values

      public static GiteeScope[] 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 GiteeScope 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