MCPcopy Index your code
hub / github.com/fastapi/fastapi / get_authorization_scheme_param

Function get_authorization_scheme_param

fastapi/security/utils.py:1–7  ·  view source on GitHub ↗
(
    authorization_header_value: str | None,
)

Source from the content-addressed store, hash-verified

1def get_authorization_scheme_param(
2 authorization_header_value: str | None,
3) -> tuple[str, str]:
4 if not authorization_header_value:
5 return "", ""
6 scheme, _, param = authorization_header_value.partition(" ")
7 return scheme, param.strip()

Callers 6

__call__Method · 0.90
__call__Method · 0.90
__call__Method · 0.90
__call__Method · 0.90
__call__Method · 0.90
__call__Method · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…