Files

10 lines
219 B
Python
Raw Permalink Normal View History

2024-02-15 00:17:51 +03:30
from fastapi.security import OAuth2PasswordBearer
oauth2 = OAuth2PasswordBearer(
tokenUrl="token",
scopes={
"account": "Read information about the current user.",
"scm": "Scm Modules",
},
)