MCPcopy Create free account
hub / github.com/dbunt1tled/python-fast-api / __init__

Method __init__

src/app/auth/service/auth_service.py:14–22  ·  view source on GitHub ↗
(
        self,
        user_service: UserService,
        hash_service: HashService,
        app_email_service: AppMailService,
    )

Source from the content-addressed store, hash-verified

12
13class AuthService:
14 def __init__(
15 self,
16 user_service: UserService,
17 hash_service: HashService,
18 app_email_service: AppMailService,
19 ) -> None:
20 self.user_service = user_service
21 self.hash_service = hash_service
22 self.app_email_service = app_email_service
23
24 async def login(self, email: str, password: str) -> TokenBearer:
25 user = await self.user_service.one(

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected