Buckets:
AnonymousSpottedToad/candidate_bucket / codebase /python /fastapi-users_fastapi-users /fastapi_users /authentication /strategy /base.py
| from typing import Generic, Protocol | |
| from fastapi_users import models | |
| from fastapi_users.manager import BaseUserManager | |
| class StrategyDestroyNotSupportedError(Exception): | |
| pass | |
| class Strategy(Protocol, Generic[models.UP, models.ID]): | |
| async def read_token( | |
| self, token: str | None, user_manager: BaseUserManager[models.UP, models.ID] | |
| ) -> models.UP | None: ... # pragma: no cover | |
| async def write_token(self, user: models.UP) -> str: ... # pragma: no cover | |
| async def destroy_token( | |
| self, token: str, user: models.UP | |
| ) -> None: ... # pragma: no cover | |
Xet Storage Details
- Size:
- 597 Bytes
- Xet hash:
- 19b95fe57cf4d75f77f8208a004a492e113df0c106680218e1bb3798a63f0c75
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.