All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.firefly.wechat.service.WechatAuthService Maven / Gradle / Ivy

There is a newer version: 5.0.2
Show newest version
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);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy