auth_delegated_token_dependency#
- async safir.dependencies.gafaelfawr.auth_delegated_token_dependency(x_auth_request_token=Header(PydanticUndefined))#
Retrieve Gafaelfawr delegated token from HTTP headers.
Intended for use with applications protected by Gafaelfawr, this retrieves a delegated token from headers added to the incoming request by the Gafaelfawr
auth_request
NGINX subhandler. The delegated token can be used to make requests to other services on the user’s behalf, see https://gafaelfawr.lsst.io/user-guide/gafaelfawringress.html#requesting-delegated-tokens