Package org.pac4j.oauth.client
Enum WeiboClient.WeiboScope
- java.lang.Object
-
- java.lang.Enum<WeiboClient.WeiboScope>
-
- org.pac4j.oauth.client.WeiboClient.WeiboScope
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<WeiboClient.WeiboScope>
- Enclosing class:
- WeiboClient
public static enum WeiboClient.WeiboScope extends java.lang.Enum<WeiboClient.WeiboScope>
WeiboScope.More info at: Scope
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ALL
DIRECT_MESSAGES_READ
DIRECT_MESSAGES_WRITE
EMAIL
FOLLOW_APP_OFFICIAL_MICROBLOG
FRIENDSHIPS_GROUPS_READ
FRIENDSHIPS_GROUPS_WRITE
INVITATION_WRITE
STATUSES_TO_ME_READ
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static WeiboClient.WeiboScope
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static WeiboClient.WeiboScope[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ALL
public static final WeiboClient.WeiboScope ALL
-
EMAIL
public static final WeiboClient.WeiboScope EMAIL
-
DIRECT_MESSAGES_WRITE
public static final WeiboClient.WeiboScope DIRECT_MESSAGES_WRITE
-
DIRECT_MESSAGES_READ
public static final WeiboClient.WeiboScope DIRECT_MESSAGES_READ
-
INVITATION_WRITE
public static final WeiboClient.WeiboScope INVITATION_WRITE
-
FRIENDSHIPS_GROUPS_READ
public static final WeiboClient.WeiboScope FRIENDSHIPS_GROUPS_READ
-
FRIENDSHIPS_GROUPS_WRITE
public static final WeiboClient.WeiboScope FRIENDSHIPS_GROUPS_WRITE
-
STATUSES_TO_ME_READ
public static final WeiboClient.WeiboScope STATUSES_TO_ME_READ
-
FOLLOW_APP_OFFICIAL_MICROBLOG
public static final WeiboClient.WeiboScope FOLLOW_APP_OFFICIAL_MICROBLOG
-
-
Method Detail
-
values
public static WeiboClient.WeiboScope[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (WeiboClient.WeiboScope c : WeiboClient.WeiboScope.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static WeiboClient.WeiboScope valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
-