atoti_plus.user_service_client.roles.role_mapping module#

class atoti_plus.RoleMapping#

Mapping between roles or usernames coming from the authentication provider to those to use in the session.

update(__m: SupportsKeysAndGetItem[str, _RoleMappingDescription], **kwargs: Union[Iterable[str], _MappedRoles]) None#
update(__m: Iterable[Tuple[str, Union[Iterable[str], _MappedRoles]]], **kwargs: Union[Iterable[str], _MappedRoles]) None
update(**kwargs: Union[Iterable[str], _MappedRoles]) None

Update the mapping.