aistore.sdk.authn.types
Module Contents
Classes
API
Bases: BaseModel
Represents a bucket with its associated permissions.
Bases: BaseModel
Represents information about a cluster.
Bases: BaseModel
Represents a list of clusters.
Bases: BaseModel
Represents a cluster with its associated permissions.
Bases: BaseModel
Represents a login message with a password and optional expiration duration.
Converts the instance to a dict, converting the expiration duration to nanoseconds if specified.
Returns:
Dict[str, Union[str, int]]: The dict representation of the login message.
Bases: BaseModel
Represents role information including permissions for clusters and buckets.
Bases: RootModel[List[RoleInfo]]
Represents a list of roles.
Bases: BaseModel
Represents a message containing a token.
Bases: BaseModel
Represents user information in the AuthN service.
Override the dict method to serialize the ‘password’ field as ‘pass’.
Returns:
Dict[str, Union[str, RolesList]]: The dict representation of the user information.
Bases: RootModel[Dict[str, UserInfo]]
Represents a map of usernames to their info.