useridresolver.SCIMIdResolver module

This module implements the communication interface
for resolving user information from a SCIM service

status is experimental

class useridresolver.SCIMIdResolver.IdResolver[source]

Bases: useridresolver.UserIdResolver.UserIdResolver

checkPass(uid, password)[source]

This function checks the password for a given uid. - returns true in case of success - false if password does not match

TODO

check_scim()[source]
close()[source]
create_scim_object()[source]
getConfigEntry(config, key, conf, required=True)[source]
classmethod getResolverClassDescriptor()[source]

return the descriptor of the resolver, which is - the class name and - the config description

Returns:resolver description dict
Return type:dict
classmethod getResolverClassType()[source]
getResolverDescriptor()[source]
getResolverId(LoginName)[source]
  • returns the resolver identifier string
  • empty string if not exist
getResolverType()[source]
getUserId(LoginName)[source]

returns the uid for a given loginname/username

getUserInfo(userId)[source]

returns the user information for a given uid.

getUserList(searchDict)[source]

Return the list of users

getUsername(userId)[source]

returns the loginname for a given userId

get_access_token(server=None, client=None, secret=None)[source]
loadConfig(configDict)[source]

The UserIdResolver could be configured from the pylon app config

classmethod setup(config=None, cache_dir=None)[source]

this setup hook is triggered, when the server starts to serve the first request

Parameters:config (the linotp config dict) – the linotp config