OIDCTokenReply

pydantic model gafaelfawr.models.oidc.OIDCTokenReply

A reply to a successful OpenID Connect token request.

Parameters:

data (Any)

Show JSON schema
{
   "title": "OIDCTokenReply",
   "description": "A reply to a successful OpenID Connect token request.",
   "type": "object",
   "properties": {
      "access_token": {
         "description": "access_token and id_token are the same in this implementation",
         "examples": [
            "eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImtpZCI6InNvbWUta2lkIn0.eyJhdWQiOiJodHRwczovL2V4YW1wbGUuY29tLyIsImlhdCI6MTYxNTIzMzc4NCwiaXNzIjoiaHR0cHM6Ly90ZXN0LmV4YW1wbGUuY29tLyIsImV4cCI6MTYxNTMyMDE4NCwibmFtZSI6IlNvbWUgVXNlciIsInByZWZlcnJlZF91c2VybmFtZSI6InNvbWUtdXNlciIsInN1YiI6InNvbWUtdXNlciIsInVpZCI6InNvbWUtdXNlciIsInVpZE51bWJlciI6MTAwMCwianRpIjoiN2lDdjZvcHI3Vkp4ZkVDR19yWjA5dyIsInNjb3BlIjoib3BlbmlkIn0.vfR-J5SDWeydtd_HWBZ8o6RpLbOZcVXLvwfh_zpYAKRVN-nZ_H82hOsPjRKD0ujAxaPQJv5kmIAIVYrfDIpQDUcP0IISsZ_IuEO-BuotCtZ-MPU-hKMlWGG-B3goc3Ygu_HWlfO56GppTE7A9fksYVMcaSdi6zVvWZH-PmgZAlPZ4xs4NQ_pXdIUA5yc4NhLAoQ5jBkPCTXsr4tqTBkPKKXxsNDLUFeS262o58kvOAgSCDLRuFXVVHEUIOw-kGko_UGmG3O5R3o-dC7f7K3OOUI_UulCldWu1ZgdckUfIS7fyMDmcZ4vNL8EALDEewvmjwyO_OLqquNFnfMeJdKNPw"
         ],
         "title": "Authentication token",
         "type": "string"
      },
      "id_token": {
         "description": "access_token and id_token are the same in this implementation",
         "examples": [
            "eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImtpZCI6InNvbWUta2lkIn0.eyJhdWQiOiJodHRwczovL2V4YW1wbGUuY29tLyIsImlhdCI6MTYxNTIzMzc4NCwiaXNzIjoiaHR0cHM6Ly90ZXN0LmV4YW1wbGUuY29tLyIsImV4cCI6MTYxNTMyMDE4NCwibmFtZSI6IlNvbWUgVXNlciIsInByZWZlcnJlZF91c2VybmFtZSI6InNvbWUtdXNlciIsInN1YiI6InNvbWUtdXNlciIsInVpZCI6InNvbWUtdXNlciIsInVpZE51bWJlciI6MTAwMCwianRpIjoiN2lDdjZvcHI3Vkp4ZkVDR19yWjA5dyIsInNjb3BlIjoib3BlbmlkIn0.vfR-J5SDWeydtd_HWBZ8o6RpLbOZcVXLvwfh_zpYAKRVN-nZ_H82hOsPjRKD0ujAxaPQJv5kmIAIVYrfDIpQDUcP0IISsZ_IuEO-BuotCtZ-MPU-hKMlWGG-B3goc3Ygu_HWlfO56GppTE7A9fksYVMcaSdi6zVvWZH-PmgZAlPZ4xs4NQ_pXdIUA5yc4NhLAoQ5jBkPCTXsr4tqTBkPKKXxsNDLUFeS262o58kvOAgSCDLRuFXVVHEUIOw-kGko_UGmG3O5R3o-dC7f7K3OOUI_UulCldWu1ZgdckUfIS7fyMDmcZ4vNL8EALDEewvmjwyO_OLqquNFnfMeJdKNPw"
         ],
         "title": "Identity token",
         "type": "string"
      },
      "expires_in": {
         "examples": [
            86400
         ],
         "title": "Expiration in seconds",
         "type": "integer"
      },
      "scope": {
         "description": "Scopes of the issued token, with any unrecognized or unauthorized scopes from the request filtered out",
         "examples": [
            "email openid profile"
         ],
         "title": "Scopes of token",
         "type": "string"
      },
      "token_type": {
         "default": "Bearer",
         "description": "Will always be ``Bearer``",
         "examples": [
            "Bearer"
         ],
         "title": "Type of token",
         "type": "string"
      }
   },
   "required": [
      "access_token",
      "id_token",
      "expires_in",
      "scope"
   ]
}

Fields:
field access_token: str [Required]

access_token and id_token are the same in this implementation

field expires_in: int [Required]
field id_token: str [Required]

access_token and id_token are the same in this implementation

field scope: str [Required]

Scopes of the issued token, with any unrecognized or unauthorized scopes from the request filtered out

field token_type: str = 'Bearer'

Will always be Bearer