Module bus.auth

Enum Class CodingScope

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

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

    • USER

      public static final CodingScope USER
      scope 含义,以description 为准
    • USER_EMAIL

      public static final CodingScope USER_EMAIL
    • USER_PHONE

      public static final CodingScope USER_PHONE
    • PROJECT

      public static final CodingScope PROJECT
    • PROJECT_DEPOT

      public static final CodingScope PROJECT_DEPOT
    • PROJECT_WIKI

      public static final CodingScope PROJECT_WIKI
  • Method Details

    • values

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