Package org.pac4j.oauth.client
Enum QQClient.QQScope
- java.lang.Object
-
- java.lang.Enum<QQClient.QQScope>
-
- org.pac4j.oauth.client.QQClient.QQScope
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<QQClient.QQScope>
- Enclosing class:
- QQClient
public static enum QQClient.QQScope extends java.lang.Enum<QQClient.QQScope>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ADD_ALBUM
Create a new personal album in the user's QQZone albumGET_TENPAY_ADDR
Get the delivery address of Tenpay usersGET_USER_INFO
Get the nickname, avatar, and gender of the logged in userGET_VIP_INFO
Get basic information about QQ VIPGET_VIP_RICH_INFO
Get advanced information about QQ VIPLIST_ALBUM
Get user QQZone album listLIST_PHOTO
Get a list of photos in the user's QQZone albumUPLOAD_PIC
Upload a photo to the QQZone album
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static QQClient.QQScope
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static QQClient.QQScope[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
GET_USER_INFO
public static final QQClient.QQScope GET_USER_INFO
Get the nickname, avatar, and gender of the logged in user
-
GET_VIP_INFO
public static final QQClient.QQScope GET_VIP_INFO
Get basic information about QQ VIP
-
GET_VIP_RICH_INFO
public static final QQClient.QQScope GET_VIP_RICH_INFO
Get advanced information about QQ VIP
-
LIST_ALBUM
public static final QQClient.QQScope LIST_ALBUM
Get user QQZone album list
-
UPLOAD_PIC
public static final QQClient.QQScope UPLOAD_PIC
Upload a photo to the QQZone album
-
ADD_ALBUM
public static final QQClient.QQScope ADD_ALBUM
Create a new personal album in the user's QQZone album
-
LIST_PHOTO
public static final QQClient.QQScope LIST_PHOTO
Get a list of photos in the user's QQZone album
-
GET_TENPAY_ADDR
public static final QQClient.QQScope GET_TENPAY_ADDR
Get the delivery address of Tenpay users
-
-
Method Detail
-
values
public static QQClient.QQScope[] 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 (QQClient.QQScope c : QQClient.QQScope.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static QQClient.QQScope 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
-
-