Mabasej_Team/.venv/lib/python3.9/site-packages/fastapi/security/utils.py
Untriex Programming ed6afdb5c9 new
2021-03-17 08:57:57 +01:00

9 lines
266 B
Python

from typing import Tuple
def get_authorization_scheme_param(authorization_header_value: str) -> Tuple[str, str]:
if not authorization_header_value:
return "", ""
scheme, _, param = authorization_header_value.partition(" ")
return scheme, param