MCPcopy
hub / github.com/cherrypy/cherrypy / checkpassword

Function checkpassword

cherrypy/lib/auth_basic.py:43–45  ·  view source on GitHub ↗
(realm, user, password)

Source from the content-addressed store, hash-verified

41 checkpassword argument to basic_auth().
42 """
43 def checkpassword(realm, user, password):
44 p = user_password_dict.get(user)
45 return p and p == password or False
46
47 return checkpassword
48

Callers 1

basic_authFunction · 0.85

Calls 1

getMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…