verified_oidc_token

async gafaelfawr.dependencies.auth.verified_oidc_token(*, context)

Require that a request be authenticated with an OpenID Connect token.

Raises:

fastapi.HTTPException – Raised if no token is provided or if the token is not valid. Contains an authorization challenge.

Parameters:

context (RequestContext)

Return type:

OIDCVerifiedToken