123/myapp/config/api.py

16 lines
294 B
Python
Raw Normal View History

2023-08-08 22:04:06 +00:00
"""API Config"""
from masonite.environment import env
from app.models.User import User
DRIVERS = {
"jwt": {
"algorithm": "HS512",
"secret": env("JWT_SECRET"),
"model": User,
"expires": None,
"authenticates": False,
"version": None,
}
}