public interface OAuthManager
Modifier and Type | Method and Description |
---|---|
String |
getAuthorizedId(javax.servlet.http.HttpServletRequest request,
String configId)
Retrieve the user id who has been authorized for the app configured; (The user id is stored in the
encrypted cookie)
|
Response |
getOAuthDataWithSharedToken(Resource encryptedTokenResource,
String configId,
OAuthRequest oauthRequest)
Use a shared token stored on encryptedTokenNode to retrieve protected data with the specified
OAuthRequest |
Response |
getOAuthDataWithUserToken(SlingHttpServletRequest request,
String configId,
OAuthRequest oauthRequest)
Use the user's access token (stored on the cookie or user profile jcr node) to retrieve protected data with
the specified
OAuthRequest |
Provider |
getProvider(String configId)
Retrieve the Provider implementation specific within the config with this configId
|
Response getOAuthDataWithSharedToken(Resource encryptedTokenResource, String configId, OAuthRequest oauthRequest) throws IOException
OAuthRequest
encryptedTokenResource
- configId
- oauthRequest
- IOException
Response getOAuthDataWithUserToken(SlingHttpServletRequest request, String configId, OAuthRequest oauthRequest) throws IOException
OAuthRequest
request
- configId
- oauthRequest
- IOException
Provider getProvider(String configId)
configId
- "Copyright © 2006 - 2015 Adobe Systems Incorporated. All Rights Reserved"