benchling_api_client.models.token_create module

class TokenCreate

Bases: object

__init__(grant_type: TokenCreateGrantType, client_id: Union[benchling_api_client.types.Unset, str] = attr_dict['_client_id'].default, client_secret: Union[benchling_api_client.types.Unset, str] = attr_dict['_client_secret'].default) None

Method generated by attrs for class TokenCreate.

property additional_keys: List[str]
additional_properties: Dict[str, Any]
property client_id: str

ID of client to request token for. Leave off if client ID and secret are being supplied through Authorization header.

property client_secret: str

Leave off if client ID and secret are being supplied through Authorization header.

classmethod from_dict(src_dict: Dict[str, Any]) benchling_api_client.models.token_create.T
get(key, default=None) Optional[Any]
property grant_type: TokenCreateGrantType
to_dict() Dict[str, Any]