Interface GigyaLoginFacade
-
- All Known Implementing Classes:
DefaultGigyaLoginFacade
public interface GigyaLoginFacadeFacade to carry out gigya login functionality
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description UserModelcreateNewCustomer(GigyaConfigModel gigyaConfig, java.lang.String uid)Create new customer from gigya Uidjava.lang.StringgetHybrisUidForGigyaUser(java.lang.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 Detail
-
processGigyaLogin
boolean processGigyaLogin(GigyaJsOnLoginInfo jsInfo, GigyaConfigModel gigyaConfig)
Method to process gigya login- Parameters:
jsInfo- the js info objectgigyaConfig- the gigya config model- Returns:
- boolean, true if successfully processed otherwise false
-
getHybrisUidForGigyaUser
java.lang.String getHybrisUidForGigyaUser(java.lang.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, java.lang.String uid) throws DuplicateUidException
Create new customer from gigya Uid- Parameters:
gigyaConfig- the gigyaConfig modeluid- the uid- Returns:
- UserModel the user model created
- Throws:
DuplicateUidException- When duplicate uid found
-
processGigyaProfileUpdate
boolean processGigyaProfileUpdate(GigyaJsOnLoginInfo jsInfo, GigyaConfigModel gigyaConfig)
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
-
-