public class OAuth10CredentialImpl extends Object implements OAuthCredential, Serializable
Constructor and Description |
---|
OAuth10CredentialImpl() |
Modifier and Type | Method and Description |
---|---|
String |
getAccessSecret() |
String |
getAccessToken() |
String |
getAuthorizationHeader(String resourceURI,
String httpMethod)
Get Authorization Header for the OAuth 1.0a & OAuth 2.0 specification
|
String |
getAuthrorizationProperty(String key)
Get Authorization Token properties by Name
|
String |
getConsumerKey() |
String |
getConsumerSecret() |
void |
setAccessSecret(String accessSecret) |
void |
setAccessToken(String accessToken) |
void |
setConsumerKey(String consumerKey) |
void |
setConsumerSecret(String consumerSecret) |
public String getAuthorizationHeader(String resourceURI, String httpMethod)
OAuthCredential
getAuthorizationHeader
in interface OAuthCredential
resourceURI
- - protected resource that is being accessedhttpMethod
- - for ex: GET, PUTpublic String getAuthrorizationProperty(String key)
OAuthCredential
getAuthrorizationProperty
in interface OAuthCredential
public String getConsumerKey()
public void setConsumerKey(String consumerKey)
public String getConsumerSecret()
public void setConsumerSecret(String consumerSecret)
public String getAccessToken()
public void setAccessToken(String accessToken)
public String getAccessSecret()
public void setAccessSecret(String accessSecret)
Copyright © 2018 JBoss by Red Hat. All rights reserved.