Class EmailBasedUserResolver
- java.lang.Object
-
- org.nuxeo.ecm.platform.oauth2.openid.auth.UserResolver
-
- org.nuxeo.ecm.platform.oauth2.openid.auth.EmailBasedUserResolver
-
public class EmailBasedUserResolver extends UserResolver
Helper class to manage mapping between identification info comming from the OpenID provider and Nuxeo UserManager.- Since:
- 5.7
- Author:
- Tiry
-
-
Constructor Summary
Constructors Constructor Description EmailBasedUserResolver(OpenIDConnectProvider provider)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
findNuxeoUser(OpenIDUserInfo userInfo)
DocumentModel
updateUserInfo(DocumentModel user, OpenIDUserInfo userInfo)
-
Methods inherited from class org.nuxeo.ecm.platform.oauth2.openid.auth.UserResolver
createNuxeoUser, findOrCreateNuxeoUser, generateRandomUserId, getProvider
-
-
-
-
Constructor Detail
-
EmailBasedUserResolver
public EmailBasedUserResolver(OpenIDConnectProvider provider)
-
-
Method Detail
-
findNuxeoUser
public String findNuxeoUser(OpenIDUserInfo userInfo)
- Specified by:
findNuxeoUser
in classUserResolver
-
updateUserInfo
public DocumentModel updateUserInfo(DocumentModel user, OpenIDUserInfo userInfo)
- Specified by:
updateUserInfo
in classUserResolver
-
-