Authentication and User Management#
- class GroupInfo(*, id=None, groupname, description='')[source]#
Bases:
BaseModelInformation about a group
Create a new model by parsing and validating input data from keyword arguments.
Raises ValidationError if the input data cannot be parsed to form a valid model.
- Parameters:
id (int | None)
groupname (str)
description (str)
- id: int | None#
- groupname: str#
- description: str#
- class UserInfo(*, id=None, auth_type=AuthTypeEnum.password, username, role, groups=[], enabled, fullname='', organization='', email='')[source]#
Bases:
BaseModelInformation about a user
Create a new model by parsing and validating input data from keyword arguments.
Raises ValidationError if the input data cannot be parsed to form a valid model.
- Parameters:
id (int | None)
auth_type (AuthTypeEnum)
username (str)
role (str)
groups (List[str])
enabled (bool)
fullname (ConstrainedStrValue)
organization (ConstrainedStrValue)
email (ConstrainedStrValue)
- id: int | None#
- auth_type: AuthTypeEnum#
- username: str#
- role: str#
- groups: List[str]#
- enabled: bool#
- fullname: constr(max_length=128)#
- organization: constr(max_length=128)#
- email: constr(max_length=128)#