public class OAuthRegistrationServicesImpl extends Object implements OAuthRegistrationServices
| Constructor and Description |
|---|
OAuthRegistrationServicesImpl(org.exoplatform.container.xml.InitParams initParams,
org.exoplatform.services.organization.OrganizationService orgService,
org.exoplatform.social.core.manager.IdentityManager identityManager) |
| Modifier and Type | Method and Description |
|---|---|
org.exoplatform.services.organization.User |
createGateInUser(org.gatein.security.oauth.spi.OAuthPrincipal<? extends org.gatein.security.oauth.spi.AccessTokenContext> principal) |
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)
attempts to detect if a user account already exists for current social network user
|
boolean |
isRegistrationOnFly(org.gatein.security.oauth.spi.OAuthProviderType<? extends org.gatein.security.oauth.spi.AccessTokenContext> oauthProviderType) |
public OAuthRegistrationServicesImpl(org.exoplatform.container.xml.InitParams initParams,
org.exoplatform.services.organization.OrganizationService orgService,
org.exoplatform.social.core.manager.IdentityManager identityManager)
public boolean isRegistrationOnFly(org.gatein.security.oauth.spi.OAuthProviderType<? extends org.gatein.security.oauth.spi.AccessTokenContext> oauthProviderType)
isRegistrationOnFly in interface OAuthRegistrationServicespublic 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)
OAuthRegistrationServicesdetectGateInUser in interface OAuthRegistrationServicespublic org.exoplatform.services.organization.User createGateInUser(org.gatein.security.oauth.spi.OAuthPrincipal<? extends org.gatein.security.oauth.spi.AccessTokenContext> principal)
createGateInUser in interface OAuthRegistrationServicesCopyright © 2003–2019 eXo Platform SAS. All rights reserved.