Module bus.auth

Enum Class WeiboScope

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

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

    • ALL

      public static final WeiboScope ALL
      scope 含义,以description 为准
    • EMAIL

      public static final WeiboScope EMAIL
    • DIRECT_MESSAGES_WRITE

      public static final WeiboScope DIRECT_MESSAGES_WRITE
    • DIRECT_MESSAGES_READ

      public static final WeiboScope DIRECT_MESSAGES_READ
    • INVITATION_WRITE

      public static final WeiboScope INVITATION_WRITE
    • FRIENDSHIPS_GROUPS_READ

      public static final WeiboScope FRIENDSHIPS_GROUPS_READ
    • FRIENDSHIPS_GROUPS_WRITE

      public static final WeiboScope FRIENDSHIPS_GROUPS_WRITE
    • STATUSES_TO_ME_READ

      public static final WeiboScope STATUSES_TO_ME_READ
    • FOLLOW_APP_OFFICIAL_MICROBLOG

      public static final WeiboScope FOLLOW_APP_OFFICIAL_MICROBLOG
  • Method Details

    • values

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