Initial commit
This commit is contained in:
commit
4be2036f3b
10 changed files with 1303 additions and 0 deletions
11
src/oidc-test/models.py
Normal file
11
src/oidc-test/models.py
Normal file
|
@ -0,0 +1,11 @@
|
|||
from pydantic import BaseModel, EmailStr, AnyHttpUrl
|
||||
|
||||
# from app.models import User
|
||||
|
||||
|
||||
class User(BaseModel, extra="ignore"):
|
||||
|
||||
id: str | None = None
|
||||
name: str
|
||||
email: EmailStr | None = None
|
||||
picture: AnyHttpUrl | None = None
|
Loading…
Add table
Add a link
Reference in a new issue