(self, environ: WSGIEnvironment)
| 462 | return (time.time() - PIN_TIME) < ts |
| 463 | |
| 464 | def check_host_trust(self, environ: WSGIEnvironment) -> bool: |
| 465 | return host_is_trusted(environ.get("HTTP_HOST"), self.trusted_hosts) |
| 466 | |
| 467 | def _fail_pin_auth(self) -> None: |
| 468 | with self._failed_pin_auth.get_lock(): |
no test coverage detected