Interface OAuthRegistrationServices

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method 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)  
    • Method Detail

      • isRegistrationOnFly

        boolean isRegistrationOnFly​(org.gatein.security.oauth.spi.OAuthProviderType<? extends org.gatein.security.oauth.spi.AccessTokenContext> oauthProviderType)
      • detectGateInUser

        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
        Parameters:
        request -
        principal -
        Returns:
      • createGateInUser

        org.exoplatform.services.organization.User createGateInUser​(org.gatein.security.oauth.spi.OAuthPrincipal<? extends org.gatein.security.oauth.spi.AccessTokenContext> principal)