mirror of
https://github.com/aljazceru/enclava.git
synced 2025-12-17 23:44:24 +01:00
simplifying the auth and creating strict separation
This commit is contained in:
@@ -4,7 +4,7 @@ Handles authentication, routing, and security for plugin APIs
|
||||
"""
|
||||
import asyncio
|
||||
import time
|
||||
import jwt
|
||||
from jose import jwt
|
||||
from typing import Dict, Any, List, Optional, Tuple
|
||||
from fastapi import FastAPI, Request, Response, HTTPException, Depends
|
||||
from fastapi.security import HTTPBearer, HTTPAuthorizationCredentials
|
||||
|
||||
Reference in New Issue
Block a user