mirror of
https://gh-proxy.org/https://github.com/klinsmaya/SQLBot.git
synced 2026-11-09 09:46:55 +08:00
perf(X-Pack): Optimize the OAuth2 Logout Flow
This commit is contained in:
committed by
fit2cloud-chenyw
parent
7cfca5a7a5
commit
c5ce41fdbf
@@ -14,6 +14,7 @@ class TokenPayload(BaseModel):
|
||||
class Token(SQLModel):
|
||||
access_token: str
|
||||
token_type: str = "bearer"
|
||||
platform_info: Optional[dict] = None
|
||||
|
||||
class XOAuth2PasswordBearer(OAuth2PasswordBearer):
|
||||
async def __call__(self, request: Request) -> Optional[str]:
|
||||
|
||||
Reference in New Issue
Block a user