| 构造器和说明 |
|---|
WxLoginImpl() |
| 限定符和类型 | 方法和说明 |
|---|---|
WxResp |
access_token(String code)
根据code换取access_token
|
WxResp |
auth(String token)
验证token是否还有效
|
String |
authorize(String redirect_uri,
String scope,
String state) |
WxLoginImpl |
configure(org.nutz.ioc.impl.PropertiesProxy conf,
String prefix) |
String |
qrconnect(String redirect_uri,
String scope,
String state)
返回重定向到微信登录页面的URL
|
WxResp |
refresh_token(String refresh_token)
刷新token
|
WxResp |
userinfo(String openid,
String access_token)
获取用户信息
|
public String qrconnect(String redirect_uri, String scope, String state)
WxLoginpublic WxResp access_token(String code)
WxLoginaccess_token 在接口中 WxLoginpublic WxResp refresh_token(String refresh_token)
WxLoginrefresh_token 在接口中 WxLoginpublic WxLoginImpl configure(org.nutz.ioc.impl.PropertiesProxy conf, String prefix)
Copyright © 2019. All rights reserved.