class documentation
class FakeDigestCredentialFactory(DigestCredentialFactory): (source)
A Fake Digest Credential Factory that generates a predictable nonce and opaque
Method | __init__ |
Undocumented |
Instance Variable | private |
Undocumented |
Method | _generate |
Generate a static nonce |
Method | _get |
Return a stable time |
Inherited from DigestCredentialFactory
:
Method | decode |
Decode the given response and attempt to generate a DigestedCredentials from it. |
Method | get |
Generate the challenge for use in the WWW-Authenticate header. |
Constant | CHALLENGE |
The number of seconds for which an opaque should be valid. |
Class Variable | scheme |
Undocumented |
Instance Variable | algorithm |
Undocumented |
Instance Variable | authentication |
Undocumented |
Method | _generate |
Generate an opaque to be returned to the client. This is a unique string that can be returned to us and verified. |
Method | _verify |
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 |