mainframe.authorization_header_elements

Classes

Functions

Module Contents

class mainframe.authorization_header_elements.AuthorizationHeaderElements[source]

Bases: NamedTuple

authorization_scheme: str[source]
bearer_token: str[source]
are_valid: bool[source]
mainframe.authorization_header_elements.get_authorization_header_elements(authorization_header: str) AuthorizationHeaderElements[source]
mainframe.authorization_header_elements.get_bearer_token(request: starlette.requests.Request) str[source]