10 lines
234 B
Python
10 lines
234 B
Python
from __future__ import annotations
|
|
|
|
from abc import ABC, abstractmethod
|
|
|
|
|
|
class IdentityAdapter(ABC):
|
|
@abstractmethod
|
|
def login(self, username: str, password: str) -> tuple[str, dict] | None:
|
|
raise NotImplementedError
|