Hugging Face
Models
Datasets
Spaces
Buckets
new
Docs
Enterprise
Pricing
Log In
Sign Up
Spaces:
ByteRiot
/
CandidateExplorer
like
1
Sleeping
App
Files
Files
Community
Fetching metadata from the HF Docker repository...
1ee7e5c
CandidateExplorer
/
models
/
security.py
ishaq101
clean init
478dec6
18 days ago
raw
Copy download link
history
blame
Safe
204 Bytes
from
pydantic
import
BaseModel
class
TokenRequest
(
BaseModel
):
username:
str
password:
str
class
TokenResponse
(
BaseModel
):
access_token:
str
token_type:
str
=
"bearer"
expires_in:
int