Package org.pac4j.oauth.client
Enum Class QQClient.QQScope
- All Implemented Interfaces:
Serializable
,Comparable<QQClient.QQScope>
,Constable
- Enclosing class:
- QQClient
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionCreate a new personal album in the user's QQZone albumGet the delivery address of Tenpay usersGet the nickname, avatar, and gender of the logged in userGet basic information about QQ VIPGet advanced information about QQ VIPGet user QQZone album listGet a list of photos in the user's QQZone albumUpload a photo to the QQZone album -
Method Summary
Modifier and TypeMethodDescriptionstatic QQClient.QQScope
Returns the enum constant of this class with the specified name.static QQClient.QQScope[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
GET_USER_INFO
Get the nickname, avatar, and gender of the logged in user -
GET_VIP_INFO
Get basic information about QQ VIP -
GET_VIP_RICH_INFO
Get advanced information about QQ VIP -
LIST_ALBUM
Get user QQZone album list -
UPLOAD_PIC
Upload a photo to the QQZone album -
ADD_ALBUM
Create a new personal album in the user's QQZone album -
LIST_PHOTO
Get a list of photos in the user's QQZone album -
GET_TENPAY_ADDR
Get the delivery address of Tenpay users
-
-
Method Details
-
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
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 nameNullPointerException
- if the argument is null
-