Class OAuthRegistrationServicesImpl
java.lang.Object
org.exoplatform.oauth.service.impl.OAuthRegistrationServicesImpl
- All Implemented Interfaces:
OAuthRegistrationServices
-
Constructor Summary
ConstructorsConstructorDescriptionOAuthRegistrationServicesImpl(org.exoplatform.container.xml.InitParams initParams, org.exoplatform.services.organization.OrganizationService orgService, org.exoplatform.social.core.manager.IdentityManager identityManager) -
Method Summary
Modifier and TypeMethodDescriptionorg.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)
-
Constructor Details
-
OAuthRegistrationServicesImpl
public OAuthRegistrationServicesImpl(org.exoplatform.container.xml.InitParams initParams, org.exoplatform.services.organization.OrganizationService orgService, org.exoplatform.social.core.manager.IdentityManager identityManager)
-
-
Method Details
-
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
-