Opened 10 years ago
#3451 enhancement new
twisted.web._auth.digest.DigestedCredentials duplicates digest calculation code between checkPassword and checkHash methods
Reported by: | Jean-Paul Calderone | Owned by: | |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | web | Keywords: | |
Cc: | Branch: | ||
Author: |
Description
There's a lot of duplication between these two methods. It could be refactored into a third method and used by each of these. As a bonus, this would perhaps be code useful to a client library which also needs to construct an appropriate value for the response field.
Note: See
TracTickets for help on using
tickets.