Enum QQClient.QQScope

java.lang.Object
java.lang.Enum<QQClient.QQScope>
org.pac4j.oauth.client.QQClient.QQScope
All Implemented Interfaces:
Serializable, Comparable<QQClient.QQScope>, java.lang.constant.Constable
Enclosing class:
QQClient

public static enum QQClient.QQScope extends Enum<QQClient.QQScope>
  • Enum Constant Details

    • 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 Details

    • values

      public static QQClient.QQScope[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static QQClient.QQScope valueOf(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:
      IllegalArgumentException - if this enum type has no constant with the specified name
      NullPointerException - if the argument is null