MCPcopy Index your code
hub / github.com/dataease/SQLBot / TokenPayload

Class TokenPayload

backend/common/core/schemas.py:10–13  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

8from fastapi.security.utils import get_authorization_scheme_param
9from typing import Generic, TypeVar, Optional
10class TokenPayload(BaseModel):
11 account: str | None = None
12 id: int | None = None
13 oid: int | None = None
14
15class Token(SQLModel):
16 access_token: str

Callers 3

get_userFunction · 0.90
validateTokenMethod · 0.90
validateAssistantMethod · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected