service_man/api/infrastructure/dependencies/protocols.py

7 lines
227 B
Python
Raw Normal View History

from api.application.protocols.password_hasher import PasswordHasher
from api.infrastructure.security.password_hasher import Pbkdf2PasswordHasher
def get_password_hasher() -> PasswordHasher:
return Pbkdf2PasswordHasher()