Skip to content

Base AuthΒΆ

Bases: Protocol

Source code in src/plankapy/handlers.py
226
227
228
229
230
231
class BaseAuth(Protocol):
    endpoint = None
    def __repr__(self) -> str:
        return f"< {self.__class__.__name__}: {self.endpoint} >"

    def authenticate(self) -> str: ...