Package org.scribe.model
Class OAuthConfig
- java.lang.Object
-
- org.scribe.model.OAuthConfig
-
public class OAuthConfig extends java.lang.Object
Parameter object that groups OAuth config values
-
-
Constructor Summary
Constructors Constructor Description OAuthConfig(java.lang.String key, java.lang.String secret)
OAuthConfig(java.lang.String key, java.lang.String secret, java.lang.String callback, SignatureType type, java.lang.String scope, java.io.OutputStream stream)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getApiKey()
java.lang.String
getApiSecret()
java.lang.String
getCallback()
java.lang.String
getScope()
SignatureType
getSignatureType()
boolean
hasScope()
void
log(java.lang.String message)
-
-
-
Constructor Detail
-
OAuthConfig
public OAuthConfig(java.lang.String key, java.lang.String secret)
-
OAuthConfig
public OAuthConfig(java.lang.String key, java.lang.String secret, java.lang.String callback, SignatureType type, java.lang.String scope, java.io.OutputStream stream)
-
-
Method Detail
-
getApiKey
public java.lang.String getApiKey()
-
getApiSecret
public java.lang.String getApiSecret()
-
getCallback
public java.lang.String getCallback()
-
getSignatureType
public SignatureType getSignatureType()
-
getScope
public java.lang.String getScope()
-
hasScope
public boolean hasScope()
-
log
public void log(java.lang.String message)
-
-