Reviewed-on: #1 Co-authored-by: Vishesh 'ironeagle' Bangotra <aetoskia@gmail.com> Co-committed-by: Vishesh 'ironeagle' Bangotra <aetoskia@gmail.com>
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: ...
|