Module bus.auth

Enum Class Endpoint

java.lang.Object
java.lang.Enum<Endpoint>
org.miaixz.bus.auth.Endpoint
All Implemented Interfaces:
Serializable, Comparable<Endpoint>, Constable

public enum Endpoint extends Enum<Endpoint>
  • Enum Constant Details

    • AUTHORIZE

      public static final Endpoint AUTHORIZE
      授权端点配置键
    • ACCESS_TOKEN

      public static final Endpoint ACCESS_TOKEN
      访问令牌端点配置键
    • USERINFO

      public static final Endpoint USERINFO
      用户信息端点配置键
    • REFRESH

      public static final Endpoint REFRESH
      刷新令牌端点配置键
    • REVOKE

      public static final Endpoint REVOKE
      撤销授权端点配置键
  • Method Details

    • values

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