Mixin for handling HTTP authentication for twisted.web Resources,
using issuers and bouncers.
|
|
|
setDomain(self,
domain)
Set a domain name on the resource, used in HTTP auth challenges and
on the keycard. |
source code
|
|
|
|
|
|
|
|
|
|
|
authenticate(self,
request)
Returns: a deferred returning a keycard or None |
source code
|
|
|
authenticateKeycard(self,
bouncerName,
keycard) |
source code
|
|
|
|
|
|
|
|
|
_durationCallLater(self,
fd)
Expire a client due to a duration expiration. |
source code
|
|
|
expireKeycard(self,
keycardId)
Expire a client's connection associated with the keycard Id. |
source code
|
|
|
|
|
_authenticatedCallback(self,
keycard,
request) |
source code
|
|
|
_authenticatedErrback(self,
failure,
request) |
source code
|
|
|
|
Inherited from common.log.Loggable :
__providedBy__ ,
debug ,
doLog ,
error ,
info ,
log ,
logFunction ,
logObjectName ,
warning ,
warningFailure
|