Bases: endian.authentication.providers.commons.AuthProvider
Bases: endian.authentication.providers.commons.AuthProvider
Bases: endian.emi.acl.AuthException
Bases: endian.emi.acl.AuthException
Bases: object
Overwrite this function to authenticate a user. E.g. raise UserNotFoundError, InvalidPasswordError or UserNotEnableddError exceptions if authentication fails.
Parameters: |
|
---|---|
Return type: | dict |
Overwrite this function to create a new group.
Parameters: |
|
---|---|
Return type: | dict |
Overwrite this function to create a new user.
Parameters: |
|
---|---|
Return type: | dict |
Overwrite this function to delete an existing group.
Parameters: |
|
---|---|
Return type: | dict |
Overwrite this function to delete an existing user.
Parameters: |
|
---|---|
Return type: | dict |
Overwrite this function to get info of a group by name and scope.
Parameters: |
|
---|---|
Return type: | dict |
Overwrite this function to get info of a user by name and scope.
Parameters: |
|
---|---|
Return type: | dict |
Overwrite this function to return infos about all groups of this provider by scope.
Parameters: |
|
---|---|
Return type: | list of dicts |
Overwrite this function to return infos about all users of this provider.
Parameters: |
|
---|---|
Return type: | list of dicts |
Sync groups from remote source e.g. LDAP Overwrite this function to sync groups from a remote source.
Parameters: | scope (string) – a scope name or a string starting with the prefix ‘provider:’ followed by the name of a provider |
---|
Sync users from remote source e.g. LDAP Overwrite this function to sync users from a remote source.
Parameters: | scope (string) – a scope name or a string starting with the prefix ‘provider:’ followed by the name of a provider |
---|
Overwrite this function to update values of an existing group.
Parameters: |
|
---|---|
Return type: | dict |
Overwrite this function to update values of an existing user.
Parameters: |
|
---|---|
Return type: | dict |
Bases: endian.emi.acl.AuthException
Bases: endian.authentication.providers.commons.AuthProvider
Bases: endian.authentication.providers.commons.StorageAuthProvider
Bases: endian.authentication.providers.commons.StorageAuthProvider, endian.authentication.utils.pldap.LDAPConnection
Bases: endian.authentication.providers.commons.AuthProvider
Bases: endian.authentication.providers.commons.AuthProvider
Bases: endian.authentication.providers.commons.AuthProvider