Modifier and Type | Class and Description |
---|---|
class |
InvalidOAuthRealmException
Thrown when a different realm appears to be the cause of the authorization failure.
|
class |
UnverifiedRequestTokenException
Thrown when an attempt is made to use an unverified request token.
|
Modifier and Type | Method and Description |
---|---|
URL |
OAuthConsumerSupport.configureURLForProtectedAccess(URL url,
OAuthConsumerToken accessToken,
String httpMethod,
Map<String,String> additionalParameters)
Create a configured URL.
|
OAuthConsumerToken |
OAuthConsumerSupport.getAccessToken(OAuthConsumerToken requestToken,
String verifier)
Get an access token for a protected resource.
|
OAuthConsumerToken |
OAuthConsumerSupport.getUnauthorizedRequestToken(ProtectedResourceDetails resource,
String callback)
Get an unauthorized request token for a protected resource.
|
OAuthConsumerToken |
OAuthConsumerSupport.getUnauthorizedRequestToken(String resourceId,
String callback)
Get an unauthorized request token for a protected resource.
|
InputStream |
OAuthConsumerSupport.readProtectedResource(URL url,
OAuthConsumerToken accessToken,
String httpMethod)
Read a protected resource from the given URL using the specified access token and HTTP method.
|
Modifier and Type | Method and Description |
---|---|
URL |
CoreOAuthConsumerSupport.configureURLForProtectedAccess(URL url,
OAuthConsumerToken accessToken,
String httpMethod,
Map<String,String> additionalParameters)
Create a configured URL.
|
OAuthConsumerToken |
CoreOAuthConsumerSupport.getAccessToken(OAuthConsumerToken requestToken,
String verifier) |
OAuthConsumerToken |
CoreOAuthConsumerSupport.getUnauthorizedRequestToken(ProtectedResourceDetails details,
String callback) |
OAuthConsumerToken |
CoreOAuthConsumerSupport.getUnauthorizedRequestToken(String resourceId,
String callback) |
InputStream |
CoreOAuthConsumerSupport.readProtectedResource(URL url,
OAuthConsumerToken accessToken,
String httpMethod) |
Modifier and Type | Method and Description |
---|---|
protected void |
OAuthConsumerContextFilter.fail(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
OAuthRequestFailedException failure)
Common logic for OAuth failed.
|
Copyright © 2019. All rights reserved.