Java Code Examples for me.zhyd.oauth.config.AuthConfig#getClientSecret()

The following examples show how to use me.zhyd.oauth.config.AuthConfig#getClientSecret() . You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: AuthAlipayRequest.java    From JustAuth with MIT License 4 votes vote down vote up
public AuthAlipayRequest(AuthConfig config) {
    super(config, AuthDefaultSource.ALIPAY);
    this.alipayClient = new DefaultAlipayClient(AuthDefaultSource.ALIPAY.accessToken(), config.getClientId(), config.getClientSecret(), "json", "UTF-8", config
        .getAlipayPublicKey(), "RSA2");
}
 
Example 2
Source File: AuthAlipayRequest.java    From JustAuth with MIT License 4 votes vote down vote up
public AuthAlipayRequest(AuthConfig config, AuthStateCache authStateCache) {
    super(config, AuthDefaultSource.ALIPAY, authStateCache);
    this.alipayClient = new DefaultAlipayClient(AuthDefaultSource.ALIPAY.accessToken(), config.getClientId(), config.getClientSecret(), "json", "UTF-8", config
        .getAlipayPublicKey(), "RSA2");
}