Coverage for app/ddd/domain/service/auth_service.py: 100%
2 statements
« prev ^ index » next coverage.py v7.6.10, created at 2025-01-15 01:44 +0000
« prev ^ index » next coverage.py v7.6.10, created at 2025-01-15 01:44 +0000
1from abc import ABCMeta, abstractmethod
4class AuthService(metaclass=ABCMeta):
5 @abstractmethod
6 def verify_password(self, plain_password: str, hashed_password: str) -> bool:
7 raise NotImplementedError
9 @abstractmethod
10 def create_hashed_password(self, plain_password: str) -> str:
11 raise NotImplementedError