Buckets:
AnonymousSpottedToad/human_verified_bucket / codebase /python /bluesky_tiled /tiled /server /protocols.py
| from abc import ABC | |
| from dataclasses import dataclass | |
| from typing import Optional | |
| from fastapi import Request | |
| class UserSessionState: | |
| """Data transfer class to communicate custom session state information.""" | |
| user_name: str | |
| state: dict = None | |
| class InternalAuthenticator(ABC): | |
| def authenticate(self, username: str, password: str) -> Optional[UserSessionState]: | |
| raise NotImplementedError | |
| class ExternalAuthenticator(ABC): | |
| def authenticate(self, request: Request) -> Optional[UserSessionState]: | |
| raise NotImplementedError | |
Xet Storage Details
- Size:
- 574 Bytes
- Xet hash:
- eaa94d08295a8e791b20bb8a17949192397c0778dfc6dfd2efd70b5a22755533
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.