public class OAuth20CredentialImpl extends Object implements OAuthCredential
| Constructor and Description |
|---|
OAuth20CredentialImpl() |
| Modifier and Type | Method and Description |
|---|---|
protected org.apache.cxf.rs.security.oauth2.common.ClientAccessToken |
getAccessToken() |
String |
getAccessTokenString() |
String |
getAccessTokenURI() |
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 |
getClientId() |
String |
getClientSecret() |
String |
getRefreshToken() |
void |
setAccessTokenString(String accessTokenString) |
void |
setAccessTokenURI(String accessTokenURI) |
void |
setClientId(String clientId) |
void |
setClientSecret(String clientSecret) |
void |
setRefreshToken(String refreshToken) |
public String getAuthorizationHeader(String resourceURI, String httpMethod)
OAuthCredentialgetAuthorizationHeader in interface OAuthCredentialresourceURI - - protected resource that is being accessedhttpMethod - - for ex: GET, PUTpublic String getAuthrorizationProperty(String key)
OAuthCredentialgetAuthrorizationProperty in interface OAuthCredentialprotected org.apache.cxf.rs.security.oauth2.common.ClientAccessToken getAccessToken()
public String getClientId()
public void setClientId(String clientId)
public String getClientSecret()
public void setClientSecret(String clientSecret)
public String getRefreshToken()
public void setRefreshToken(String refreshToken)
public String getAccessTokenURI()
public void setAccessTokenURI(String accessTokenURI)
public String getAccessTokenString()
public void setAccessTokenString(String accessTokenString)
Copyright © 2018 JBoss by Red Hat. All rights reserved.