MCPcopy Index your code
hub / github.com/fastapi-users/fastapi-users / hash

Method hash

fastapi_users/password.py:36–37  ·  view source on GitHub ↗
(self, password: str)

Source from the content-addressed store, hash-verified

34 return self.password_hash.verify_and_update(plain_password, hashed_password)
35
36 def hash(self, password: str) -> str:
37 return self.password_hash.hash(password)
38
39 def generate(self) -> str:
40 return secrets.token_urlsafe()

Callers 7

createMethod · 0.45
oauth_callbackMethod · 0.45
forgot_passwordMethod · 0.45
authenticateMethod · 0.45
_updateMethod · 0.45
conftest.pyFile · 0.45
_forgot_password_tokenFunction · 0.45

Calls

no outgoing calls

Tested by 1

_forgot_password_tokenFunction · 0.36