(self, app: ASGIApp, user_service: UserService, hash_service: HashService)
| 28 | ] |
| 29 | |
| 30 | def __init__(self, app: ASGIApp, user_service: UserService, hash_service: HashService) -> None: |
| 31 | super().__init__(app=app) |
| 32 | self.hash_service = hash_service |
| 33 | self.user_service = user_service |
| 34 | self.bearer_scheme = HTTPBearer(auto_error=False) |
| 35 | self.logger = logging.getLogger(__name__) |
| 36 | |
| 37 | async def dispatch(self, request: Request, call_next: RequestResponseEndpoint) -> Response: |
| 38 | request.state.is_authenticated = False |
nothing calls this directly
no outgoing calls
no test coverage detected