GitHubActionsJWKS#

class gafaelfawr.models.github_actions.GitHubActionsJWKS(*, keys)#

Bases: BaseModel

JSON Web Key Set published by GitHub for GitHub Actions ID tokens.

The keys are not modeled further. The verifier parses each one with PyJWT and skips any that it cannot use, so that one unusable key in the set does not prevent verifying tokens signed with the others.

Parameters:

keys (list[dict[str, Any]])

Attributes Summary

model_config

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].

Attributes Documentation

model_config: ClassVar[ConfigDict] = {'extra': 'ignore'}#

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].