class documentation

class FakeDigestCredentialFactory(DigestCredentialFactory): (source)

View In Hierarchy

A Fake Digest Credential Factory that generates a predictable nonce and opaque

Method __init__ Undocumented
Instance Variable privateKey Undocumented
Method _generateNonce Generate a static nonce
Method _getTime Return a stable time

Inherited from DigestCredentialFactory:

Method decode Decode the given response and attempt to generate a DigestedCredentials from it.
Method getChallenge Generate the challenge for use in the WWW-Authenticate header.
Constant CHALLENGE_LIFETIME_SECS The number of seconds for which an opaque should be valid.
Class Variable scheme Undocumented
Instance Variable algorithm Undocumented
Instance Variable authenticationRealm Undocumented
Method _generateOpaque Generate an opaque to be returned to the client. This is a unique string that can be returned to us and verified.
Method _verifyOpaque Given the opaque and nonce from the request, as well as the client IP that made the request, verify that the opaque was generated by us. And that it's not too old.
Class Variable _parseparts Undocumented