Workflow-Engine / api /services /auth /api_key_auth_base.py
Severian's picture
initial commit
a8b3f00
raw
history blame
238 Bytes
from abc import ABC, abstractmethod
class ApiKeyAuthBase(ABC):
def __init__(self, credentials: dict):
self.credentials = credentials
@abstractmethod
def validate_credentials(self):
raise NotImplementedError