Package org.teiid
Interface OAuthCredential
-
- All Known Implementing Classes:
OAuth10CredentialImpl
,OAuth20CredentialImpl
public interface OAuthCredential
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getAuthorizationHeader(String resourceURI, String httpMethod)
Get Authorization Header for the OAuth 1.0a & OAuth 2.0 specificationString
getAuthrorizationProperty(String key)
Get Authorization Token properties by Name
-
-
-
Method Detail
-
getAuthorizationHeader
String getAuthorizationHeader(String resourceURI, String httpMethod)
Get Authorization Header for the OAuth 1.0a & OAuth 2.0 specification- Parameters:
resourceURI
- - protected resource that is being accessedhttpMethod
- - for ex: GET, PUT- Returns:
- Authorization header for HTTP call.
-
-