Spaces:
Sleeping
Sleeping
File size: 228 Bytes
01c6926 | 1 2 3 4 5 6 7 8 9 10 11 12 | from abc import ABC, abstractmethod
class JWTService(ABC):
@abstractmethod
def create_access_token(self, data: dict) -> str:
...
@abstractmethod
def decode_token(self, token: str) -> dict:
...
|