当前位置: 首页>>代码示例>>Java>>正文


Java SignatureType.Header方法代码示例

本文整理汇总了Java中org.scribe.model.SignatureType.Header方法的典型用法代码示例。如果您正苦于以下问题:Java SignatureType.Header方法的具体用法?Java SignatureType.Header怎么用?Java SignatureType.Header使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在org.scribe.model.SignatureType的用法示例。


在下文中一共展示了SignatureType.Header方法的7个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。

示例1: internalInit

import org.scribe.model.SignatureType; //导入方法依赖的package包/类
@Override
protected void internalInit() {
    super.internalInit();

    this.api20 = new TencentApi();
    String theScope = StringUtils.isNotBlank(this.scope) ? this.scope : null;
    final OAuthConfig conf = new OAuthConfig(this.key, this.secret,
            this.callbackUrl, SignatureType.Header, theScope, null);
    this.service = new TencentOAuth20ServiceImpl(this.api20, conf);
}
 
开发者ID:btpka3,项目名称:pac4j-oauth-tencent,代码行数:11,代码来源:TencentClient.java

示例2: internalInit

import org.scribe.model.SignatureType; //导入方法依赖的package包/类
@Override
protected void internalInit() {
	super.internalInit();

	this.scopeValue = "";
	this.service = new ProxyOAuthFIWARE(new FIWAREApi(this.serverURL), 
			new OAuthConfig(this.key, this.secret,
					this.callbackUrl,
					SignatureType.Header,
					this.scopeValue, null),
			this.connectTimeout, this.readTimeout, this.proxyHost,
			this.proxyPort, false, true);
}
 
开发者ID:conwetlab,项目名称:WMarket,代码行数:14,代码来源:FIWAREClient.java

示例3: internalInit

import org.scribe.model.SignatureType; //导入方法依赖的package包/类
@Override
protected void internalInit() {
    super.internalInit();
    this.scopeValue = "";
    this.service = new ProxyOAuthFIWARE(new FIWAREApi(this.serverURL),
            new OAuthConfig(this.key, this.secret,
                    this.callbackUrl,
                    SignatureType.Header,
                    this.scopeValue, null),
            this.connectTimeout, this.readTimeout, this.proxyHost,
            this.proxyPort, false, true);
}
 
开发者ID:conwetlab,项目名称:fiware-rss,代码行数:13,代码来源:FIWAREClient.java

示例4: internalInit

import org.scribe.model.SignatureType; //导入方法依赖的package包/类
@Override
protected void internalInit() {
    super.internalInit();

    this.scopeValue = "";
    this.service = new ProxyOAuthFIWARE(new FIWAREApi(this.serverURL),
            new OAuthConfig(this.key, this.secret,
                    this.callbackUrl,
                    SignatureType.Header,
                    this.scopeValue, null),
            this.connectTimeout, this.readTimeout, this.proxyHost,
            this.proxyPort, false, true);
}
 
开发者ID:conwetlab,项目名称:Repository-RI,代码行数:14,代码来源:FIWAREClient.java

示例5: internalInit

import org.scribe.model.SignatureType; //导入方法依赖的package包/类
protected void internalInit() {
super.internalInit();
String url = "https://open.weixin.qq.com/connect/oauth2/authorize?appid=%s&redirect_uri=%s&response_type=code&scope=snsapi_userinfo&state=WeiXinClientOauth#wechat_redirect";
WeiXinApi20 api = new WeiXinApi20(url);
this.service = new WeiXinOAuth20ServiceImpl(api, new OAuthConfig(this.key, this.secret, this.callbackUrl, SignatureType.Header, null, null),
        this.connectTimeout, this.readTimeout, this.proxyHost, this.proxyPort);    }
 
开发者ID:luotuo,项目名称:cas4.0.x-server-wechat,代码行数:7,代码来源:WeiXinClientOauth.java

示例6: internalInit

import org.scribe.model.SignatureType; //导入方法依赖的package包/类
protected void internalInit() {
super.internalInit();
//String url = "https://open.weixin.qq.com/connect/oauth2/authorize?appid=%s&redirect_uri=%s&response_type=code&scope=snsapi_userinfo#wechat_redirect";
WeiXinApi20 api = new WeiXinApi20();
this.service = new WeiXinOAuth20ServiceImpl(api, new OAuthConfig(this.key, this.secret, this.callbackUrl, SignatureType.Header, null, null),
        this.connectTimeout, this.readTimeout, this.proxyHost, this.proxyPort);    }
 
开发者ID:luotuo,项目名称:cas4.0.x-server-wechat,代码行数:7,代码来源:WeiXinClient.java

示例7: asConfig

import org.scribe.model.SignatureType; //导入方法依赖的package包/类
synchronized public OAuthConfig asConfig() {
	String injected = getInjecter().injectIdToCallback(callback, getId());
	return new OAuthConfig(apiKey, apiSecret, injected, SignatureType.Header, scope, null);
}
 
开发者ID:ahn,项目名称:vaadin-oauthpopup,代码行数:5,代码来源:OAuthData.java


注:本文中的org.scribe.model.SignatureType.Header方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。