tranny / App /Authentication.py
Mbonea's picture
hello
252d749
raw
history blame
176 Bytes
from fastapi import APIRouter, status
from fastapi.security import OAuth2PasswordBearer, OAuth2PasswordRequestForm
oauth_scheme = OAuth2PasswordBearer(tokenUrl="/user/login")