Module bus.auth

Enum Class GitlabScope

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

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

    • READ_USER

      public static final GitlabScope READ_USER
      scope 含义,以description 为准
    • OPENID

      public static final GitlabScope OPENID
    • PROFILE

      public static final GitlabScope PROFILE
    • EMAIL

      public static final GitlabScope EMAIL
    • READ_API

      public static final GitlabScope READ_API
    • READ_REPOSITORY

      public static final GitlabScope READ_REPOSITORY
    • WRITE_REPOSITORY

      public static final GitlabScope WRITE_REPOSITORY
    • READ_REGISTRY

      public static final GitlabScope READ_REGISTRY
    • WRITE_REGISTRY

      public static final GitlabScope WRITE_REGISTRY
    • SUDO

      public static final GitlabScope SUDO
    • API

      public static final GitlabScope API
  • Method Details

    • values

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