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

com.github.lontime.extpac4j.oauth.api.WechatExtApi20 Maven / Gradle / Ivy

The newest version!
package com.github.lontime.extpac4j.oauth.api;

import com.github.lontime.extpac4j.oauth.extractors.WechatJsonExtExtractor;
import com.github.scribejava.core.extractors.TokenExtractor;
import com.github.scribejava.core.model.OAuth2AccessToken;
import org.pac4j.scribe.builder.api.WechatApi20;

/**
 * WechatExtApi20.
 * @author lontime
 * @since 1.0
 */
public class WechatExtApi20 extends WechatApi20 {

    @Override
    public TokenExtractor getAccessTokenExtractor() {
        return WechatJsonExtExtractor.instance();
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy