public class BaseProtectedResourceDetails extends Object implements ProtectedResourceDetails
Constructor and Description |
---|
BaseProtectedResourceDetails() |
Modifier and Type | Method and Description |
---|---|
String |
getAccessTokenHttpMethod()
The HTTP method to use with getAccessTokenURL()
|
String |
getAccessTokenURL()
The URL to use to obtain an OAuth access token.
|
Map<String,String> |
getAdditionalParameters()
The additional OAuth parameters for this protected resource.
|
Map<String,String> |
getAdditionalRequestHeaders()
The additional request headers to send.
|
String |
getAuthorizationHeaderRealm()
The value of the realm of the authorization header, or null if none.
|
String |
getConsumerKey()
The consumer key with which to interact with the provider.
|
String |
getId()
An identifier for these resource details.
|
String |
getRequestTokenHttpMethod()
The HTTP method to use with getRequestTokenURL()
|
String |
getRequestTokenURL()
The URL to use to obtain an OAuth request token.
|
SignatureSecret |
getSharedSecret()
The shared signature secret.
|
String |
getSignatureMethod()
The signature method to use for OAuth requests.
|
String |
getUserAuthorizationURL()
The URL to which to redirect the user for authorization of access to the protected resource.
|
boolean |
isAcceptsAuthorizationHeader()
Whether the provider of this resource accepts the OAuth Authorization HTTP header.
|
boolean |
isUse10a()
Whether to use OAuth Core 1.0a.
|
void |
setAcceptsAuthorizationHeader(boolean acceptsAuthorizationHeader) |
void |
setAccessTokenHttpMethod(String accessTokenHttpMethod) |
void |
setAccessTokenURL(String accessTokenURL) |
void |
setAdditionalParameters(Map<String,String> additionalParameters) |
void |
setAdditionalRequestHeaders(Map<String,String> additionalRequestHeaders) |
void |
setAuthorizationHeaderRealm(String authorizationHeaderRealm) |
void |
setConsumerKey(String consumerKey) |
void |
setId(String id) |
void |
setRequestTokenHttpMethod(String requestTokenHttpMethod) |
void |
setRequestTokenURL(String requestTokenURL) |
void |
setSharedSecret(SignatureSecret sharedSecret) |
void |
setSignatureMethod(String signatureMethod) |
void |
setUse10a(boolean use10a) |
void |
setUserAuthorizationURL(String userAuthorizationURL) |
public String getId()
ProtectedResourceDetails
getId
in interface ProtectedResourceDetails
public void setId(String id)
public String getConsumerKey()
ProtectedResourceDetails
getConsumerKey
in interface ProtectedResourceDetails
public void setConsumerKey(String consumerKey)
public String getSignatureMethod()
ProtectedResourceDetails
getSignatureMethod
in interface ProtectedResourceDetails
public void setSignatureMethod(String signatureMethod)
public SignatureSecret getSharedSecret()
ProtectedResourceDetails
getSharedSecret
in interface ProtectedResourceDetails
public void setSharedSecret(SignatureSecret sharedSecret)
public String getRequestTokenURL()
ProtectedResourceDetails
getRequestTokenURL
in interface ProtectedResourceDetails
public void setRequestTokenURL(String requestTokenURL)
public String getRequestTokenHttpMethod()
ProtectedResourceDetails
getRequestTokenHttpMethod
in interface ProtectedResourceDetails
public void setRequestTokenHttpMethod(String requestTokenHttpMethod)
public String getUserAuthorizationURL()
ProtectedResourceDetails
getUserAuthorizationURL
in interface ProtectedResourceDetails
public void setUserAuthorizationURL(String userAuthorizationURL)
public String getAccessTokenURL()
ProtectedResourceDetails
getAccessTokenURL
in interface ProtectedResourceDetails
public void setAccessTokenURL(String accessTokenURL)
public String getAccessTokenHttpMethod()
ProtectedResourceDetails
getAccessTokenHttpMethod
in interface ProtectedResourceDetails
public void setAccessTokenHttpMethod(String accessTokenHttpMethod)
public boolean isAcceptsAuthorizationHeader()
ProtectedResourceDetails
isAcceptsAuthorizationHeader
in interface ProtectedResourceDetails
public void setAcceptsAuthorizationHeader(boolean acceptsAuthorizationHeader)
public String getAuthorizationHeaderRealm()
ProtectedResourceDetails
getAuthorizationHeaderRealm
in interface ProtectedResourceDetails
public void setAuthorizationHeaderRealm(String authorizationHeaderRealm)
public boolean isUse10a()
ProtectedResourceDetails
isUse10a
in interface ProtectedResourceDetails
public void setUse10a(boolean use10a)
public Map<String,String> getAdditionalParameters()
ProtectedResourceDetails
getAdditionalParameters
in interface ProtectedResourceDetails
public void setAdditionalParameters(Map<String,String> additionalParameters)
public Map<String,String> getAdditionalRequestHeaders()
ProtectedResourceDetails
getAdditionalRequestHeaders
in interface ProtectedResourceDetails
Copyright © 2019. All rights reserved.