falcon_auth2/getter.py
def load(self, req: Request, *, challenges: Optional[Iterable[str]] = None) -> str:
        """Loads the header from the provided request"""
        header_value = req.get_header(self.header_key)
        if not header_value:
            raise BackendNotApplicable(
                description=f"Missing {self.header_key} header", challenges=challenges
            )
        return header_value
Loads the header from the provided request
Loads the header from the provided request
Loads the header from the provided request
def load(self, req: Request, *, challenges: Optional[Iterable[str]] = None) -> str:
        header_value = req.get_header(self.header_key)
        if not header_value:
            raise BackendNotApplicable(
                description=f"Missing {self.header_key} header", challenges=challenges
            )
        return header_value
def load ( self , req : Request , * , challenges : Optional [ Iterable [ str ] ] = None ) -> str : header_value = req . get_header ( self . header_key ) if not header_value : raise BackendNotApplicable ( description = f"Missing {self.header_key} header" , challenges = challenges ) return header_value
Loads the header from the provided request
Loads the header from the provided request
"""Loads the header from the provided request"""
self
req
Request
challenges
Optional[Iterable[str]]