Interface GigyaLoginFacade

All Known Implementing Classes:
DefaultGigyaB2BLoginFacade, DefaultGigyaLoginFacade

public interface GigyaLoginFacade
Facade to carry out gigya login functionality
  • Method Details

    • processGigyaLogin

      boolean processGigyaLogin(GigyaJsOnLoginInfo jsInfo, GigyaConfigModel gigyaConfig)
      Method to process gigya login
      Parameters:
      jsInfo - the js info object
      gigyaConfig - the gigya config model
      Returns:
      boolean, true if successfully processed otherwise false
    • getHybrisUidForGigyaUser

      String getHybrisUidForGigyaUser(String gigyaUid)
      Get hybris uid for gigya user ID
      Parameters:
      gigyaUid - the gigya uid
      Returns:
      String the uid of gigya user
    • createNewCustomer

      UserModel createNewCustomer(GigyaConfigModel gigyaConfig, String uid) throws de.hybris.platform.commerceservices.customer.DuplicateUidException
      Create new customer from gigya Uid
      Parameters:
      gigyaConfig - the gigyaConfig model
      uid - the uid
      Returns:
      UserModel the user model created
      Throws:
      de.hybris.platform.commerceservices.customer.DuplicateUidException - When duplicate uid found
    • processGigyaProfileUpdate

      boolean processGigyaProfileUpdate(GigyaJsOnLoginInfo jsInfo, GigyaConfigModel gigyaConfig)
      Processes gigya profile update
      Parameters:
      jsInfo - the gigya js info object
      gigyaConfig - the gigya config model
      Returns:
      boolean, true if successfully processed
    • updateUser

      void updateUser(GigyaConfigModel gigyaConfig, UserModel user) throws com.gigya.socialize.GSKeyNotFoundException
      Method to update user by scheduling update user task
      Parameters:
      gigyaConfig - the gigyaConfig model
      user - the user model
      Throws:
      com.gigya.socialize.GSKeyNotFoundException - exception when gs key not found