Source code for heimdall.models.token

from pydantic import BaseModel, Field
from pydantic.fields import Dict

from heimdall.models.links import Links


[docs]class Token(BaseModel): name: str expiration: str type: str data: Dict user_id: str links: Links = Field(alias="_links")