Enum Class AuthWeiboScope

java.lang.Object
java.lang.Enum<AuthWeiboScope>
me.zhyd.oauth.enums.scope.AuthWeiboScope
All Implemented Interfaces:
Serializable, Comparable<AuthWeiboScope>, Constable, AuthScope

public enum AuthWeiboScope extends Enum<AuthWeiboScope> implements AuthScope
微博平台 OAuth 授权范围
Since:
1.0.0
Version:
1.0.0
Author:
yadong.zhang (yadong.zhang0415(a)gmail.com)
  • Enum Constant Details

    • ALL

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

      public static final AuthWeiboScope EMAIL
    • DIRECT_MESSAGES_WRITE

      public static final AuthWeiboScope DIRECT_MESSAGES_WRITE
    • DIRECT_MESSAGES_READ

      public static final AuthWeiboScope DIRECT_MESSAGES_READ
    • INVITATION_WRITE

      public static final AuthWeiboScope INVITATION_WRITE
    • FRIENDSHIPS_GROUPS_READ

      public static final AuthWeiboScope FRIENDSHIPS_GROUPS_READ
    • FRIENDSHIPS_GROUPS_WRITE

      public static final AuthWeiboScope FRIENDSHIPS_GROUPS_WRITE
    • STATUSES_TO_ME_READ

      public static final AuthWeiboScope STATUSES_TO_ME_READ
    • FOLLOW_APP_OFFICIAL_MICROBLOG

      public static final AuthWeiboScope FOLLOW_APP_OFFICIAL_MICROBLOG
  • Method Details

    • values

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