| Package | Description |
|---|---|
| org.gatein.security.oauth.google | |
| org.gatein.security.oauth.utils |
| Modifier and Type | Method and Description |
|---|---|
GoogleAccessTokenContext |
GoogleProcessorImpl.getAccessTokenFromUserProfile(org.exoplatform.services.organization.UserProfile userProfile,
OAuthCodec codec) |
GoogleAccessTokenContext |
GoogleProcessorImpl.validateTokenAndUpdateScopes(GoogleAccessTokenContext accessTokenContext) |
| Modifier and Type | Method and Description |
|---|---|
protected InteractionState<GoogleAccessTokenContext> |
GoogleProcessorImpl.initialInteraction(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
Set<String> scopes) |
InteractionState<GoogleAccessTokenContext> |
GoogleProcessorImpl.processOAuthInteraction(javax.servlet.http.HttpServletRequest httpRequest,
javax.servlet.http.HttpServletResponse httpResponse) |
InteractionState<GoogleAccessTokenContext> |
GoogleProcessorImpl.processOAuthInteraction(javax.servlet.http.HttpServletRequest httpRequest,
javax.servlet.http.HttpServletResponse httpResponse,
String scope) |
protected InteractionState<GoogleAccessTokenContext> |
GoogleProcessorImpl.processOAuthInteractionImpl(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
Set<String> scopes) |
| Modifier and Type | Method and Description |
|---|---|
<C> C |
GoogleProcessorImpl.getAuthorizedSocialApiObject(GoogleAccessTokenContext accessToken,
Class<C> socialApiObjectType) |
com.google.api.services.oauth2.Oauth2 |
GoogleProcessorImpl.getOAuth2Instance(GoogleAccessTokenContext accessTokenContext) |
com.google.api.services.oauth2.Oauth2 |
GoogleProcessor.getOAuth2Instance(GoogleAccessTokenContext accessTokenContext)
Obtain instance of Google
Oauth2 object, which can be used to call various operations in Google API (obtain user informations,
obtain informations about your access token etc) |
com.google.api.services.plus.Plus |
GoogleProcessorImpl.getPlusService(GoogleAccessTokenContext accessTokenContext) |
com.google.api.services.plus.Plus |
GoogleProcessor.getPlusService(GoogleAccessTokenContext accessTokenContext)
Obtain instance of Google (@link Plus} object, which can be used to call various operations in Google+ API (Obtain list of your friends,
obtain your statuses, comments, activities etc...)
|
com.google.api.services.oauth2.model.Userinfo |
GoogleProcessorImpl.obtainUserInfo(GoogleAccessTokenContext accessTokenContext) |
com.google.api.services.oauth2.model.Userinfo |
GoogleProcessor.obtainUserInfo(GoogleAccessTokenContext accessTokenContext)
Obtain informations about user from Google+ .
|
void |
GoogleProcessorImpl.refreshToken(GoogleAccessTokenContext accessTokenContext) |
void |
GoogleProcessor.refreshToken(GoogleAccessTokenContext accessTokenContext)
Refresh Google+ token.
|
void |
GoogleProcessorImpl.revokeToken(GoogleAccessTokenContext accessTokenContext) |
void |
GoogleProcessorImpl.saveAccessTokenAttributesToUserProfile(org.exoplatform.services.organization.UserProfile userProfile,
OAuthCodec codec,
GoogleAccessTokenContext accessToken) |
GoogleAccessTokenContext |
GoogleProcessorImpl.validateTokenAndUpdateScopes(GoogleAccessTokenContext accessTokenContext) |
| Modifier and Type | Method and Description |
|---|---|
static OAuthPrincipal<GoogleAccessTokenContext> |
OAuthUtils.convertGoogleInfoToOAuthPrincipal(com.google.api.services.oauth2.model.Userinfo userInfo,
GoogleAccessTokenContext accessToken,
OAuthProviderType<GoogleAccessTokenContext> googleProviderType) |
| Modifier and Type | Method and Description |
|---|---|
static OAuthPrincipal<GoogleAccessTokenContext> |
OAuthUtils.convertGoogleInfoToOAuthPrincipal(com.google.api.services.oauth2.model.Userinfo userInfo,
GoogleAccessTokenContext accessToken,
OAuthProviderType<GoogleAccessTokenContext> googleProviderType) |
| Modifier and Type | Method and Description |
|---|---|
static OAuthPrincipal<GoogleAccessTokenContext> |
OAuthUtils.convertGoogleInfoToOAuthPrincipal(com.google.api.services.oauth2.model.Userinfo userInfo,
GoogleAccessTokenContext accessToken,
OAuthProviderType<GoogleAccessTokenContext> googleProviderType) |
Copyright © 2017 JBoss by Red Hat. All Rights Reserved.