| Package | Description |
|---|---|
| org.brickred.socialauth | |
| org.brickred.socialauth.oauthstrategy | |
| org.brickred.socialauth.provider | |
| org.brickred.socialauth.util |
| Modifier and Type | Method and Description |
|---|---|
AccessGrant |
SocialAuthManager.createAccessGrant(String providerId,
Map<String,String> params,
String redirectURL) |
AccessGrant |
SocialAuthManager.createAccessGrant(String providerId,
String authCode,
String redirectURL)
Generates access token and creates a object of AccessGrant
|
AccessGrant |
AuthProvider.getAccessGrant()
Retrieves the AccessGrant object.
|
| Modifier and Type | Method and Description |
|---|---|
AuthProvider |
SocialAuthManager.connect(AccessGrant accessGrant)
Creates the provider with given access grant
|
AuthProvider |
SocialAuthManager.refreshToken(AccessGrant accessGrant)
Makes a call for a provider to get RefreshToken and returns object of
that provider
|
void |
AuthProvider.refreshToken(AccessGrant accessGrant)
Makes a call for a provider to get RefreshToken and returns object of
that provider
|
void |
AbstractProvider.refreshToken(AccessGrant accessGrant) |
void |
AuthProvider.setAccessGrant(AccessGrant accessGrant)
Stores access grant for the provider *
|
| Modifier and Type | Method and Description |
|---|---|
AccessGrant |
OAuth2.getAccessGrant() |
AccessGrant |
OAuthStrategyBase.getAccessGrant()
Retrieves the AccessGrant object.
|
AccessGrant |
OAuth1.getAccessGrant() |
AccessGrant |
Hybrid.getAccessGrant() |
AccessGrant |
OAuth2.verifyResponse(Map<String,String> requestParams) |
AccessGrant |
OAuthStrategyBase.verifyResponse(Map<String,String> requestParams)
Verifies the user and get access token
|
AccessGrant |
OAuth1.verifyResponse(Map<String,String> requestParams) |
AccessGrant |
Hybrid.verifyResponse(Map<String,String> requestParams) |
AccessGrant |
OAuth2.verifyResponse(Map<String,String> requestParams,
String methodType) |
AccessGrant |
OAuthStrategyBase.verifyResponse(Map<String,String> requestParams,
String methodType)
Verifies the user and get access token
|
AccessGrant |
OAuth1.verifyResponse(Map<String,String> requestParams,
String methodType) |
AccessGrant |
Hybrid.verifyResponse(Map<String,String> requestParams,
String methodType) |
| Modifier and Type | Method and Description |
|---|---|
void |
OAuth2.setAccessGrant(AccessGrant accessGrant) |
void |
OAuthStrategyBase.setAccessGrant(AccessGrant accessGrant)
Stores access grant for the provider
|
void |
OAuth1.setAccessGrant(AccessGrant accessGrant) |
void |
Hybrid.setAccessGrant(AccessGrant accessGrant) |
| Modifier and Type | Method and Description |
|---|---|
void |
FacebookImpl.refreshToken(AccessGrant expireAccessGrant) |
void |
YammerImpl.setAccessGrant(AccessGrant accessGrant)
Stores access grant for the provider
|
void |
OpenIdImpl.setAccessGrant(AccessGrant accessGrant) |
void |
SalesForceImpl.setAccessGrant(AccessGrant accessGrant)
Stores access grant for the provider
|
void |
HotmailImpl.setAccessGrant(AccessGrant accessGrant)
Stores access grant for the provider
|
void |
NimbleImpl.setAccessGrant(AccessGrant accessGrant)
Stores access grant for the provider
|
void |
StackExchangeImpl.setAccessGrant(AccessGrant accessGrant)
Stores access grant for the provider
|
void |
MySpaceImpl.setAccessGrant(AccessGrant accessGrant)
Stores access grant for the provider
|
void |
TwitterImpl.setAccessGrant(AccessGrant accessGrant)
Stores access grant for the provider
|
void |
FacebookImpl.setAccessGrant(AccessGrant accessGrant)
Stores access grant for the provider
|
void |
YahooImpl.setAccessGrant(AccessGrant accessGrant)
Stores access grant for the provider
|
void |
FourSquareImpl.setAccessGrant(AccessGrant accessGrant)
Stores access grant for the provider
|
void |
GoogleImpl.setAccessGrant(AccessGrant accessGrant)
Stores access grant for the provider *
|
void |
LinkedInImpl.setAccessGrant(AccessGrant accessGrant)
Stores access grant for the provider
|
void |
LinkedInOAuth2Impl.setAccessGrant(AccessGrant accessGrant)
Stores access grant for the provider
|
void |
GooglePlusImpl.setAccessGrant(AccessGrant accessGrant)
Stores access grant for the provider
|
void |
InstagramImpl.setAccessGrant(AccessGrant accessGrant) |
void |
MendeleyImpl.setAccessGrant(AccessGrant accessGrant)
Stores access grant for the provider
|
void |
AmazonImpl.setAccessGrant(AccessGrant accessGrant)
Stores access grant for the provider
|
void |
GenericOAuth2Provider.setAccessGrant(AccessGrant accessGrant)
Stores access grant for the provider
|
void |
RunkeeperImpl.setAccessGrant(AccessGrant accessGrant)
Stores access grant for the provider
|
void |
GitHubImpl.setAccessGrant(AccessGrant accessGrant) |
void |
GenericOAuth1Provider.setAccessGrant(AccessGrant accessGrant)
Stores access grant for the provider
|
void |
FlickerImpl.setAccessGrant(AccessGrant accessGrant)
Stores access grant for the provider
|
| Modifier and Type | Method and Description |
|---|---|
AccessGrant |
ProviderSupport.getAccessGrant()
Retrieves the AccessGrant object.
|
AccessGrant |
OAuthConsumer.getAccessToken(String accessTokenURL,
AccessGrant reqToken)
It obtains the access token.
|
AccessGrant |
OAuthConsumer.getRequestToken(String reqTokenURL,
String callbackURL)
It obtains the request token.
|
| Modifier and Type | Method and Description |
|---|---|
StringBuilder |
OAuthConsumer.buildAuthUrl(String authUrl,
AccessGrant token,
String callbackUrl)
Builds the auth url to redirect the user to, based from the given token
and callback url.
|
String |
OAuthConsumer.generateSignature(String signatureType,
String method,
String url,
Map<String,String> args,
AccessGrant token)
It returns a signature for signing OAuth request.
|
AccessGrant |
OAuthConsumer.getAccessToken(String accessTokenURL,
AccessGrant reqToken)
It obtains the access token.
|
Response |
OAuthConsumer.httpGet(String reqURL,
Map<String,String> headerParams,
AccessGrant token)
Does an HTTP GET request.
|
Response |
OAuthConsumer.httpPost(String reqURL,
Map<String,String> params,
Map<String,String> headerParams,
String body,
AccessGrant token)
Does an HTTP POST request.
|
Response |
OAuthConsumer.httpPut(String reqURL,
Map<String,String> params,
Map<String,String> headerParams,
String body,
AccessGrant token)
Does an HTTP PUT request.
|
Response |
OAuthConsumer.httpPut(String reqURL,
Map<String,String> params,
Map<String,String> headerParams,
String body,
AccessGrant token,
boolean isHeaderRequired)
Does an HTTP PUT request.
|
Response |
OAuthConsumer.uploadImage(String reqURL,
Map<String,String> paramsMap,
Map<String,String> headerParams,
InputStream inputStream,
String fileParamName,
String fileName,
String methodName,
AccessGrant token,
boolean isHeaderRequired) |
Copyright © 2018. All Rights Reserved.