org.springframework.social.connect.ApiAdapter Java Examples

The following examples show how to use org.springframework.social.connect.ApiAdapter. 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: WechatConnectionFactory.java    From cola with MIT License 4 votes vote down vote up
private ApiAdapter<Wechat> getApiAdapter(String providerUserId) {
    return new WechatAdapter(providerUserId);
}
 
Example #2
Source File: WechatMpConnectionFactory.java    From cola with MIT License 4 votes vote down vote up
private ApiAdapter<WechatMp> getApiAdapter(String providerUserId) {
    return new WechatMpAdapter(providerUserId);
}
 
Example #3
Source File: WeixinConnectionFactory.java    From pre with GNU General Public License v3.0 4 votes vote down vote up
private ApiAdapter<Weixin> getApiAdapter(String providerUserId) {
    return new WeixinAdapter(providerUserId);
}
 
Example #4
Source File: WechatConnectionFactory.java    From spring-social-wechat with Apache License 2.0 4 votes vote down vote up
public WechatConnectionFactory(String appId, String appSecret, ApiAdapter<Wechat> apiAdapter) {
	super("wechat", new WechatServiceProvider<Wechat>(appId, appSecret), apiAdapter);
}
 
Example #5
Source File: WechatMpConnectionFactory.java    From spring-social-wechat with Apache License 2.0 4 votes vote down vote up
public WechatMpConnectionFactory(String appId, String appSecret, ApiAdapter<WechatMp> apiAdapter) {
	super("wechatmp", new WechatServiceProvider<WechatMp>(appId, appSecret, UrlConstants.AUTHORIZE_API_URL),
			apiAdapter);
}
 
Example #6
Source File: WeixinConnectionFactory.java    From paascloud-master with Apache License 2.0 4 votes vote down vote up
private ApiAdapter<Weixin> getApiAdapter(String providerUserId) {
	return new WeixinAdapter(providerUserId);
}
 
Example #7
Source File: WeiXinConnectionFactory.java    From FEBS-Security with Apache License 2.0 4 votes vote down vote up
private ApiAdapter<WeiXin> getApiAdapter(String providerUserId) {
    return new WeiXinAdapter(providerUserId);
}