Module bus.auth

Enum Class GithubScope

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

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

    • REPO_STATUS

      public static final GithubScope REPO_STATUS
      scope 含义,以description 为准
    • REPO_DEPLOYMENT

      public static final GithubScope REPO_DEPLOYMENT
    • PUBLIC_REPO

      public static final GithubScope PUBLIC_REPO
    • REPO_INVITE

      public static final GithubScope REPO_INVITE
    • SECURITY_EVENTS

      public static final GithubScope SECURITY_EVENTS
    • WRITE_REPO_HOOK

      public static final GithubScope WRITE_REPO_HOOK
    • READ_REPO_HOOK

      public static final GithubScope READ_REPO_HOOK
    • ADMIN_ORG

      public static final GithubScope ADMIN_ORG
    • WRITE_ORG

      public static final GithubScope WRITE_ORG
    • READ_ORG

      public static final GithubScope READ_ORG
    • ADMIN_PUBLIC_KEY

      public static final GithubScope ADMIN_PUBLIC_KEY
    • WRITE_PUBLIC_KEY

      public static final GithubScope WRITE_PUBLIC_KEY
    • READ_PUBLIC_KEY

      public static final GithubScope READ_PUBLIC_KEY
    • GIST

      public static final GithubScope GIST
    • NOTIFICATIONS

      public static final GithubScope NOTIFICATIONS
    • USER

      public static final GithubScope USER
    • READ_USER

      public static final GithubScope READ_USER
    • USER_EMAIL

      public static final GithubScope USER_EMAIL
    • USER_FOLLOW

      public static final GithubScope USER_FOLLOW
    • DELETE_REPO

      public static final GithubScope DELETE_REPO
    • WRITE_DISCUSSION

      public static final GithubScope WRITE_DISCUSSION
    • READ_DISCUSSION

      public static final GithubScope READ_DISCUSSION
    • WRITE_PACKAGES

      public static final GithubScope WRITE_PACKAGES
    • READ_PACKAGES

      public static final GithubScope READ_PACKAGES
    • DELETE_PACKAGES

      public static final GithubScope DELETE_PACKAGES
    • ADMIN_GPG_KEY

      public static final GithubScope ADMIN_GPG_KEY
    • WRITE_GPG_KEY

      public static final GithubScope WRITE_GPG_KEY
    • READ_GPG_KEY

      public static final GithubScope READ_GPG_KEY
    • WORKFLOW

      public static final GithubScope WORKFLOW
  • Method Details

    • values

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