public static enum WechatClient.WechatScope extends Enum<WechatClient.WechatScope>
Enum Constant and Description |
---|
SNSAPI_BASE
Exchange code for access_token, refresh_token, and authorized scope
|
SNSAPI_LOGIN
Only for WeChat QRCode login.
|
SNSAPI_USERINFO
Get user personal information
|
Modifier and Type | Method and Description |
---|---|
static WechatClient.WechatScope |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static WechatClient.WechatScope[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final WechatClient.WechatScope SNSAPI_LOGIN
public static final WechatClient.WechatScope SNSAPI_BASE
public static final WechatClient.WechatScope SNSAPI_USERINFO
public static WechatClient.WechatScope[] values()
for (WechatClient.WechatScope c : WechatClient.WechatScope.values()) System.out.println(c);
public static WechatClient.WechatScope valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2019. All rights reserved.