AdminTokenRequest#

class gafaelfawr.models.token.AdminTokenRequest(*, username, token_type, token_name=None, scopes={}, expires=None, name=None, email=None, uid=None, gid=None, groups=None)#

Bases: BaseModel

A request to create a new token via the admin interface.

Parameters:

Attributes Summary

model_config

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].

Attributes Documentation

model_config: ClassVar[ConfigDict] = {}#

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].