Home / Function/ make_authenticate_headers() — fastapi Function Reference

make_authenticate_headers() — fastapi Function Reference

Architecture documentation for the make_authenticate_headers() function in http.py from the fastapi codebase.

Function python Security Schemes calls 1 called by 2

Entity Profile

Dependency Diagram

graph TD
  974dca00_b535_c294_ff38_23cb4d603d3a["make_authenticate_headers()"]
  3095b424_1269_68c9_350e_1ccbc9dc52df["HTTPBase"]
  974dca00_b535_c294_ff38_23cb4d603d3a -->|defined in| 3095b424_1269_68c9_350e_1ccbc9dc52df
  8a4f3cb1_2bb3_9484_ab7e_5424511db588["make_not_authenticated_error()"]
  8a4f3cb1_2bb3_9484_ab7e_5424511db588 -->|calls| 974dca00_b535_c294_ff38_23cb4d603d3a
  ed17ae85_3d39_469e_907e_e29828853a41["make_authenticate_headers()"]
  ed17ae85_3d39_469e_907e_e29828853a41 -->|calls| 974dca00_b535_c294_ff38_23cb4d603d3a
  ed17ae85_3d39_469e_907e_e29828853a41["make_authenticate_headers()"]
  974dca00_b535_c294_ff38_23cb4d603d3a -->|calls| ed17ae85_3d39_469e_907e_e29828853a41
  style 974dca00_b535_c294_ff38_23cb4d603d3a fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

fastapi/security/http.py lines 84–85

    def make_authenticate_headers(self) -> dict[str, str]:
        return {"WWW-Authenticate": f"{self.model.scheme.title()}"}

Domain

Subdomains

Frequently Asked Questions

What does make_authenticate_headers() do?
make_authenticate_headers() is a function in the fastapi codebase, defined in fastapi/security/http.py.
Where is make_authenticate_headers() defined?
make_authenticate_headers() is defined in fastapi/security/http.py at line 84.
What does make_authenticate_headers() call?
make_authenticate_headers() calls 1 function(s): make_authenticate_headers.
What calls make_authenticate_headers()?
make_authenticate_headers() is called by 2 function(s): make_authenticate_headers, make_not_authenticated_error.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free