linotp.lib.tools.import_user.ImportHandler module¶
Interface for import handling
- class linotp.lib.tools.import_user.ImportHandler.ImportHandler¶
Bases:
object
interface for ImportHandler - example implemetation is the SQLImportHandler
- class User¶
Bases:
object
- add(user)¶
- close()¶
external steps called from the UserImport during the finalization
- commit()¶
external steps called from the UserImport - within this step the resolver is created
- delete_by_id(user_id)¶
- lookup(user)¶
the lookup is called during the user import, to look for an already existing user - could be used to optimze the user lookup
- prepare()¶
external steps called from the UserImport
- rollback()¶
external steps called from the UserImport in case of an error
- update(former_user, user)¶