public abstract class UserResolver extends Object
Constructor and Description |
---|
UserResolver(OpenIDConnectProvider provider) |
Modifier and Type | Method and Description |
---|---|
protected DocumentModel |
createNuxeoUser(String nuxeoLogin) |
protected abstract String |
findNuxeoUser(OpenIDUserInfo userInfo) |
String |
findOrCreateNuxeoUser(OpenIDUserInfo userInfo) |
protected String |
generateRandomUserId() |
OpenIDConnectProvider |
getProvider() |
protected abstract DocumentModel |
updateUserInfo(DocumentModel user,
OpenIDUserInfo userInfo) |
public UserResolver(OpenIDConnectProvider provider)
public OpenIDConnectProvider getProvider()
protected abstract String findNuxeoUser(OpenIDUserInfo userInfo)
protected DocumentModel createNuxeoUser(String nuxeoLogin)
protected abstract DocumentModel updateUserInfo(DocumentModel user, OpenIDUserInfo userInfo)
public String findOrCreateNuxeoUser(OpenIDUserInfo userInfo)
protected String generateRandomUserId()
Copyright © 2018 Nuxeo. All rights reserved.