Class OAuthRegistrationServicesImpl
- java.lang.Object
-
- org.exoplatform.oauth.service.impl.OAuthRegistrationServicesImpl
-
- All Implemented Interfaces:
OAuthRegistrationServices
public class OAuthRegistrationServicesImpl extends Object implements OAuthRegistrationServices
-
-
Constructor Summary
Constructors Constructor Description OAuthRegistrationServicesImpl(org.exoplatform.container.xml.InitParams initParams, org.exoplatform.services.organization.OrganizationService orgService, org.exoplatform.social.core.manager.IdentityManager identityManager)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.exoplatform.services.organization.UsercreateGateInUser(org.gatein.security.oauth.spi.OAuthPrincipal<? extends org.gatein.security.oauth.spi.AccessTokenContext> principal)org.exoplatform.services.organization.UserdetectGateInUser(javax.servlet.http.HttpServletRequest request, org.gatein.security.oauth.spi.OAuthPrincipal<? extends org.gatein.security.oauth.spi.AccessTokenContext> principal)attempts to detect if a user account already exists for current social network userbooleanisRegistrationOnFly(org.gatein.security.oauth.spi.OAuthProviderType<? extends org.gatein.security.oauth.spi.AccessTokenContext> oauthProviderType)
-
-
-
Method Detail
-
isRegistrationOnFly
public boolean isRegistrationOnFly(org.gatein.security.oauth.spi.OAuthProviderType<? extends org.gatein.security.oauth.spi.AccessTokenContext> oauthProviderType)
- Specified by:
isRegistrationOnFlyin interfaceOAuthRegistrationServices
-
detectGateInUser
public org.exoplatform.services.organization.User detectGateInUser(javax.servlet.http.HttpServletRequest request, org.gatein.security.oauth.spi.OAuthPrincipal<? extends org.gatein.security.oauth.spi.AccessTokenContext> principal)Description copied from interface:OAuthRegistrationServicesattempts to detect if a user account already exists for current social network user- Specified by:
detectGateInUserin interfaceOAuthRegistrationServices- Returns:
-
createGateInUser
public org.exoplatform.services.organization.User createGateInUser(org.gatein.security.oauth.spi.OAuthPrincipal<? extends org.gatein.security.oauth.spi.AccessTokenContext> principal)
- Specified by:
createGateInUserin interfaceOAuthRegistrationServices
-
-