mirror of
https://gitee.com/binary/weixin-java-tools.git
synced 2025-10-29 01:18:36 +08:00
issue #39 企业号添加oauth2的支持
This commit is contained in:
@ -16,11 +16,12 @@ public class WxMpInMemoryConfigStorage implements WxMpConfigStorage {
|
||||
protected String aesKey;
|
||||
protected int expiresIn;
|
||||
|
||||
protected String oauth2redirectUri;
|
||||
|
||||
protected String http_proxy_host;
|
||||
protected int http_proxy_port;
|
||||
protected String http_proxy_username;
|
||||
protected String http_proxy_password;
|
||||
protected String oauth2redirectUri;
|
||||
|
||||
public void updateAccessToken(WxAccessToken accessToken) {
|
||||
updateAccessToken(accessToken.getAccessToken(), accessToken.getExpiresIn());
|
||||
|
||||
@ -16,9 +16,6 @@ import java.io.IOException;
|
||||
import java.io.InputStream;
|
||||
import java.util.Map;
|
||||
|
||||
/**
|
||||
* @author Daniel Qian
|
||||
*/
|
||||
public class WxMpDemoServer {
|
||||
|
||||
private static WxMpConfigStorage wxMpConfigStorage;
|
||||
|
||||
@ -22,9 +22,6 @@ import java.io.IOException;
|
||||
import java.io.InputStream;
|
||||
import java.util.Map;
|
||||
|
||||
/**
|
||||
* @author Daniel Qian
|
||||
*/
|
||||
public class WxMpOAuth2Servlet extends HttpServlet {
|
||||
|
||||
protected WxMpService wxMpService;
|
||||
|
||||
Reference in New Issue
Block a user