Module bus.auth

Enum Class WechatMpScope

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

public enum WechatMpScope extends Enum<WechatMpScope> implements AuthorizeScope
微信公众平台 授权范围
Since:
Java 17+
Author:
Kimi Liu
  • Enum Constant Details

    • SNSAPI_USERINFO

      public static final WechatMpScope SNSAPI_USERINFO
      scope 含义,以description 为准
    • SNSAPI_BASE

      public static final WechatMpScope SNSAPI_BASE
  • Method Details

    • values

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