MCPcopy
hub / github.com/fastapi/fastapi / make_authenticate_headers

Method make_authenticate_headers

fastapi/security/http.py:84–85  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

82 self.auto_error = auto_error
83
84 def make_authenticate_headers(self) -> dict[str, str]:
85 return {"WWW-Authenticate": f"{self.model.scheme.title()}"}
86
87 def make_not_authenticated_error(self) -> HTTPException:
88 return HTTPException(

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected