<reponame>Max-Zhenzhera/my_vocab_backend<filename>app/services/authentication/server/base.py<gh_stars>1-10
from abc import abstractmethod

from ..base import BaseAuthenticationService
from ....schemas.authentication import AuthenticationResult


__all__ = ['BaseServerAuthenticationService']


class BaseServerAuthenticationService(BaseAuthenticationService):
    @abstractmethod
    async def refresh(self, *args, **kwargs) -> AuthenticationResult:
        """ Refresh the user`s session. """

from abc import abstractmethod

from ..base import BaseAuthenticationService
from ....schemas.authentication import AuthenticationResult


__all__ = ['BaseServerAuthenticationService']


class BaseServerAuthenticationService(BaseAuthenticationService):
    @abstractmethod
    async def refresh(self, *args, **kwargs) -> AuthenticationResult:
        """ Refresh the user`s session. """
Refresh the user`s session.