Home
last modified time | relevance | path

Searched refs:pwd_context (Results 1 – 16 of 16) sorted by relevance

/dports/security/py-passlib/passlib-1.7.4/
H A DREADME34 >>> from passlib.apps import custom_app_context as pwd_context
37 >>> hash = pwd_context.hash("somepass")
42 >>> ok = pwd_context.verify("somepass", hash)
44 >>> ok = pwd_context.verify("letmein", hash)
/dports/www/py-fastapi/fastapi-0.70.0/docs_src/security/
H A Dtutorial004.py48 pwd_context = CryptContext(schemes=["bcrypt"], deprecated="auto") variable
56 return pwd_context.verify(plain_password, hashed_password)
60 return pwd_context.hash(password)
H A Dtutorial005.py60 pwd_context = CryptContext(schemes=["bcrypt"], deprecated="auto") variable
71 return pwd_context.verify(plain_password, hashed_password)
75 return pwd_context.hash(password)
/dports/security/py-passlib/passlib-1.7.4/docs/narr/
H A Dquickstart.rst25 >>> from passlib.apps import custom_app_context as pwd_context
28 >>> hash = pwd_context.hash("somepass")
31 >>> ok = pwd_context.verify("somepass", hash)
37 >>> hash = pwd_context.hash("somepass", category="admin")
247 pwd_context = CryptContext(
267 >>> from myapp.model.security import pwd_context
270 >>> hash = pwd_context.hash("somepass")
275 >>> pwd_context.verify("somepass", hash)
277 >>> pwd_context.verify("wrongpass", hash)
/dports/www/moinmoin/moin-1.9.11/MoinMoin/
H A Duser.py283 return '{PASSLIB}' + cfg.cache.pwd_context.encrypt(pwd, salt=salt)
708 pwd_context = self._cfg.cache.pwd_context
710 password_correct = pwd_context.verify(password, d)
718 … recompute_hash = pwd_context.hash_needs_update(d) or wanted_scheme != '{PASSLIB}'
/dports/www/py-flask-security/Flask-Security-3.0.0/flask_security/
H A Dutils.py43 _pwd_context = LocalProxy(lambda: _security.pwd_context)
H A Dcore.py331 pwd_context=_get_pwd_context(app),
/dports/sysutils/bareos-client/bareos-Release-20.0.3/rest-api/
H A Dbareos-restapi.py58 pwd_context = CryptContext(schemes=["bcrypt"], deprecated="auto") variable
93 return pwd_context.verify(plain_password, hashed_password)
97 return pwd_context.hash(password)
/dports/sysutils/bareos-traymonitor/bareos-Release-20.0.3/systemtests/tests/python-restapi/api/
H A Dbareos-restapi.py58 pwd_context = CryptContext(schemes=["bcrypt"], deprecated="auto") variable
93 return pwd_context.verify(plain_password, hashed_password)
97 return pwd_context.hash(password)
/dports/sysutils/bareos-traymonitor/bareos-Release-20.0.3/rest-api/
H A Dbareos-restapi.py58 pwd_context = CryptContext(schemes=["bcrypt"], deprecated="auto") variable
93 return pwd_context.verify(plain_password, hashed_password)
97 return pwd_context.hash(password)
/dports/sysutils/bareos-client/bareos-Release-20.0.3/systemtests/tests/python-restapi/api/
H A Dbareos-restapi.py58 pwd_context = CryptContext(schemes=["bcrypt"], deprecated="auto") variable
93 return pwd_context.verify(plain_password, hashed_password)
97 return pwd_context.hash(password)
/dports/sysutils/bareos-server/bareos-Release-20.0.3/rest-api/
H A Dbareos-restapi.py58 pwd_context = CryptContext(schemes=["bcrypt"], deprecated="auto") variable
93 return pwd_context.verify(plain_password, hashed_password)
97 return pwd_context.hash(password)
/dports/sysutils/bareos-server/bareos-Release-20.0.3/systemtests/tests/python-restapi/api/
H A Dbareos-restapi.py58 pwd_context = CryptContext(schemes=["bcrypt"], deprecated="auto") variable
93 return pwd_context.verify(plain_password, hashed_password)
97 return pwd_context.hash(password)
/dports/www/bareos-webui/bareos-Release-20.0.3/rest-api/
H A Dbareos-restapi.py58 pwd_context = CryptContext(schemes=["bcrypt"], deprecated="auto") variable
93 return pwd_context.verify(plain_password, hashed_password)
97 return pwd_context.hash(password)
/dports/www/bareos-webui/bareos-Release-20.0.3/systemtests/tests/python-restapi/api/
H A Dbareos-restapi.py58 pwd_context = CryptContext(schemes=["bcrypt"], deprecated="auto") variable
93 return pwd_context.verify(plain_password, hashed_password)
97 return pwd_context.hash(password)
/dports/www/moinmoin/moin-1.9.11/MoinMoin/config/
H A Dmulticonfig.py445 self.cache.pwd_context = CryptContext(**self.passlib_crypt_context)