Authentication Middlewares#
Authentication Middlewares.
- class blacksmith.middleware._async.auth.AsyncHTTPAuthorizationMiddleware(scheme: str, value: str)#
Authentication Mechanism based on the header Authorization.
- Parameters
scheme – the scheme of the mechanism.
value – the value that authenticate the user using the scheme.
- __init__(scheme: str, value: str)#
- headers: Dict[str, str]#