Interface GigyaLoginFacade
- All Known Implementing Classes:
DefaultGigyaB2BLoginFacade,DefaultGigyaLoginFacade
public interface GigyaLoginFacade
Facade to carry out gigya login functionality
-
Method Summary
Modifier and TypeMethodDescriptioncreateNewCustomer(GigyaConfigModel gigyaConfig, String uid) Create new customer from gigya UidgetHybrisUidForGigyaUser(String gigyaUid) Get hybris uid for gigya user IDbooleanprocessGigyaLogin(GigyaJsOnLoginInfo jsInfo, GigyaConfigModel gigyaConfig) Method to process gigya loginbooleanprocessGigyaProfileUpdate(GigyaJsOnLoginInfo jsInfo, GigyaConfigModel gigyaConfig) Processes gigya profile updatevoidupdateUser(GigyaConfigModel gigyaConfig, UserModel user) Method to update user by scheduling update user task
-
Method Details
-
processGigyaLogin
Method to process gigya login- Parameters:
jsInfo- the js info objectgigyaConfig- the gigya config model- Returns:
- boolean, true if successfully processed otherwise false
-
getHybrisUidForGigyaUser
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 modeluid- the uid- Returns:
- UserModel the user model created
- Throws:
de.hybris.platform.commerceservices.customer.DuplicateUidException- When duplicate uid found
-
processGigyaProfileUpdate
Processes gigya profile update- Parameters:
jsInfo- the gigya js info objectgigyaConfig- 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 modeluser- the user model- Throws:
com.gigya.socialize.GSKeyNotFoundException- exception when gs key not found
-