9 lines
198 B
Python
9 lines
198 B
Python
from abc import ABC, abstractmethod
|
|
from typing import Generic, TypeVar
|
|
|
|
T = TypeVar("T")
|
|
|
|
class MailIntakeAuthProvider(ABC, Generic[T]):
|
|
@abstractmethod
|
|
def get_credentials(self) -> T: ...
|