Files
sakhteman/auth/utils/schema.py
T
2024-02-15 00:17:51 +03:30

10 lines
219 B
Python

from fastapi.security import OAuth2PasswordBearer
oauth2 = OAuth2PasswordBearer(
tokenUrl="token",
scopes={
"account": "Read information about the current user.",
"scm": "Scm Modules",
},
)