MCPcopy
hub / github.com/pallets/werkzeug / check_auth

Method check_auth

examples/httpbasicauth.py:14–15  ·  view source on GitHub ↗
(self, username, password)

Source from the content-addressed store, hash-verified

12 self.realm = realm
13
14 def check_auth(self, username, password):
15 return username in self.users and self.users[username] == password
16
17 def auth_required(self, request):
18 return Response(

Callers 1

__call__Method · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected