public class OAuthConfig extends Object
Constructor and Description |
---|
OAuthConfig(String key,
String secret) |
OAuthConfig(String apiKey,
String apiSecret,
String callback,
OAuth1SignatureType signatureType,
String scope,
OutputStream debugStream,
String state,
String responseType,
String userAgent,
HttpClientConfig httpClientConfig,
HttpClient httpClient)
Deprecated.
use
OAuthConfig(java.lang.String, java.lang.String, java.lang.String, java.lang.String,
java.io.OutputStream, java.lang.String, java.lang.String, java.lang.String,
com.github.scribejava.core.httpclient.HttpClientConfig, com.github.scribejava.core.httpclient.HttpClient)
without OAuth1SignatureType param. to change OAuth1SignatureType override or change in Pull Request DefaultApi10a.getSignatureType() |
OAuthConfig(String apiKey,
String apiSecret,
String callback,
String scope,
OutputStream debugStream,
String state,
String responseType,
String userAgent,
HttpClientConfig httpClientConfig,
HttpClient httpClient) |
Modifier and Type | Method and Description |
---|---|
String |
getApiKey() |
String |
getApiSecret() |
String |
getCallback() |
HttpClient |
getHttpClient() |
HttpClientConfig |
getHttpClientConfig() |
String |
getResponseType() |
String |
getScope() |
OAuth1SignatureType |
getSignatureType()
Deprecated.
override or change in Pull Request
DefaultApi10a.getSignatureType() |
String |
getState() |
String |
getUserAgent() |
void |
log(String message) |
@Deprecated public OAuthConfig(String apiKey, String apiSecret, String callback, OAuth1SignatureType signatureType, String scope, OutputStream debugStream, String state, String responseType, String userAgent, HttpClientConfig httpClientConfig, HttpClient httpClient)
OAuthConfig(java.lang.String, java.lang.String, java.lang.String, java.lang.String,
java.io.OutputStream, java.lang.String, java.lang.String, java.lang.String,
com.github.scribejava.core.httpclient.HttpClientConfig, com.github.scribejava.core.httpclient.HttpClient)
DefaultApi10a.getSignatureType()
apiKey
- apiKeyapiSecret
- apiSecretcallback
- callbacksignatureType
- signatureTypescope
- scopedebugStream
- debugStreamstate
- stateresponseType
- responseTypeuserAgent
- userAgenthttpClientConfig
- httpClientConfighttpClient
- httpClientpublic OAuthConfig(String apiKey, String apiSecret, String callback, String scope, OutputStream debugStream, String state, String responseType, String userAgent, HttpClientConfig httpClientConfig, HttpClient httpClient)
public String getApiKey()
public String getApiSecret()
public String getCallback()
@Deprecated public OAuth1SignatureType getSignatureType()
DefaultApi10a.getSignatureType()
public String getScope()
public String getState()
public String getResponseType()
public String getUserAgent()
public void log(String message)
public HttpClientConfig getHttpClientConfig()
public HttpClient getHttpClient()
Copyright © 2017. All rights reserved.