Ticket #4537 enhancement new
Opened 4 years ago
Implement replacements for BasicAuthorizer and DigestAuthorizer in twisted.protocols.sip
|Reported by:||exarkun||Owned by:|
BasicAuthorizer and DigestAuthorizer are both deprecated. DigestAuthorizer also creates instances of the deprecated DigestedCredentials class. At some point we'll want to remove all of these things (actually, I want to remove them now, because they're affected by #4536).
Before they can be deleted though, something new needs to be created so that RegisterProxy can have something to authenticate against.
twisted.cred.credentials.DigestCredentialsFactory is very similar to IAuthorizer (it was probably partly based on it).
I don't remember why IAuthorizer isn't deprecated. It seems like it should be, but I could be misremember. Perhaps it's a perfectly servicable interface and merely needs new implementations based on things from twisted.cred.