NewToken

pydantic model gafaelfawr.models.token.NewToken

Response to a token creation request.

Parameters:

data (Any)

Show JSON schema
{
   "title": "NewToken",
   "description": "Response to a token creation request.",
   "type": "object",
   "properties": {
      "token": {
         "examples": [
            "gt-2T1RHkIi4b14JzswnXfCsQ.8t5XdPSYTrteD0pDB15zqQ"
         ],
         "title": "Newly-created token",
         "type": "string"
      }
   },
   "required": [
      "token"
   ]
}

Fields:
field token: str [Required]