Helper object 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
|
|
|
keepAlive(self,
bouncerName,
issuerName,
ttl) |
source code
|
|
|
|
|
|
|
doCleanupKeycard(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
|
|
|
expireKeycards(self,
keycardIds)
Expire client's connections associated with the keycard Ids. |
source code
|
|
|
|
|
_authenticatedCallback(self,
keycard,
request) |
source code
|
|
|
_authenticatedErrback(self,
failure,
request) |
source code
|
|
|
|
|
|
Inherited from extern.log.log.Loggable :
__providedBy__ ,
__provides__ ,
debug ,
doLog ,
error ,
info ,
log ,
logFunction ,
logObjectName ,
warning ,
warningFailure ,
writeMarker
|