Back to the room

Pass 3 of 3 · Deep dive of PHAROSPass 1 · OverviewPass 2 · How it works

Code Observatory / function

parse_bearer

shared.auth.parse_bearer

PINNED SOURCE Source and edges from the index at this commit. An execution appears only where one was recorded.

PHAROS at 975a38dMIT license

Around this symbol

Search all symbols

Loading

Inside (1)
SymbolFileResolved by
authauth.pysame file
shared.auth.parse_bearerbackend/app/shared/auth.py, lines 113–119Open source
def parse_bearer(header: str | None) -> str | None:    if not header:        return None    scheme, _, value = header.partition(" ")    if scheme.lower() != "bearer" or not value.strip():        return None    return value.strip()

What the index recorded

Signature
def parse_bearer(header: str | None) -> str | None:
File
backend/app/shared/auth.py
Lines
113–119
Parser
python-ast
Git blob
c77f24b3d7406a6b302764a8fc5e475c40480e60
Call sites
3 named, 0 resolved, 3 left unlinked
Outside this subset
1 more edges reach code outside the graph shown here

Read it on GitHub at this commit