com.firefly.wechat.service.WechatAuthService Maven / Gradle / Ivy
package com.firefly.wechat.service;
import com.firefly.wechat.model.ErrorResponse;
import com.firefly.wechat.model.auth.*;
import java.util.concurrent.CompletableFuture;
/**
* @author Pengtao Qiu
*/
public interface WechatAuthService {
CompletableFuture getAccessToken(AccessTokenRequest request);
CompletableFuture refreshToken(RefreshTokenRequest request);
CompletableFuture verifyToken(VerifyTokenRequest request);
CompletableFuture getUserInfo(WechatUserInfoRequest request);
CompletableFuture getClientAccessToken(ClientAccessTokenRequest request);
CompletableFuture getJsApiTicket(String accessToken);
JsConfigResponse getJsConfig(JsConfigRequest request);
CompletableFuture getApiAccessToken(ApiAccessTokenRequest request);
}