OIDCVerifiedToken

pydantic model gafaelfawr.models.oidc.OIDCVerifiedToken

Holds a verified JWT.

Holds a JWT whose signature has been checked and whose claims have been decoded.

Parameters:

data (Any)

Show JSON schema
{
   "title": "OIDCVerifiedToken",
   "description": "Holds a verified JWT.\n\nHolds a JWT whose signature has been checked and whose claims have been\ndecoded.",
   "type": "object",
   "properties": {
      "encoded": {
         "title": "The encoded form of a JWT",
         "type": "string"
      },
      "claims": {
         "title": "The claims contained in the token",
         "type": "object"
      },
      "jti": {
         "anyOf": [
            {
               "type": "string"
            },
            {
               "type": "null"
            }
         ],
         "default": null,
         "title": "The jti (JWT ID) claim from the token"
      }
   },
   "required": [
      "encoded",
      "claims"
   ]
}

Fields:
field claims: dict[str, Any] [Required]
field encoded: str [Required]
field jti: str | None = None