Go to the latest version of this document.
search in docstrings

Search bar offers the following options:

- Term presence. The below example searches for documents that must contain “foo”, might contain “bar” and must not contain “baz”: `+foo bar -baz`
- Wildcards. The below example searches for documents with words beginning with “foo”: `foo*`
- Search in specific fields. The following search matches all objects in "twisted.mail" that matches “search”: `+qname:twisted.mail.* +search`

  Possible fields: 'name', 'qname' (fully qualified name), 'docstring', and 'kind'. Last two fields are only applicable if "search in docstrings" is enabled.

- Fuzzy matches. The following search matches all documents that have a word within 1 edit distance of “foo”: `foo~1`

Results provided by Lunr.js

# ``twisted`.`cred`.`credentials`.`DigestedCredentials``

class documentation

`class DigestedCredentials: (source)`

Implements interfaces: `twisted.cred.credentials.IUsernameHashedPassword`, `twisted.web.iweb.IUsernameDigestHash`

View In Hierarchy

Yet Another Simple HTTP Digest authentication scheme.

Method | `__init__` | Undocumented
Method | `checkHash` | Verify that the credentials represented by this object agree with the credentials represented by the H(A1) given in `digestHash`.
Method | `checkPassword` | Verify that the credentials represented by this object agree with the given plaintext `password` by hashing `password` in the same way the response hash represented by this object was generated and comparing the results.
Instance Variable | `fields` | Undocumented
Instance Variable | `method` | Undocumented
Instance Variable | `realm` | Undocumented
Instance Variable | `username` | Undocumented

def __init__(self, username, method, realm, fields): (source)

Undocumented

def checkHash(self, digestHash): (source)
from `twisted.web.iweb.IUsernameDigestHash`

Verify that the credentials represented by this object agree with the credentials represented by the H(A1) given in `digestHash`.

Parameters
digestHash | A precomputed H(A1) value based on the username, realm, and password associate with this credentials object.

def checkPassword(self, password): (source)
from `twisted.cred.credentials.IUsernameHashedPassword`

Verify that the credentials represented by this object agree with the given plaintext `password` by hashing `password` in the same way the response hash represented by this object was generated and comparing the results.

fields = (source)

Undocumented

method = (source)

Undocumented

realm = (source)

Undocumented

username = (source)
from `twisted.cred.credentials.IUsernameHashedPassword`

Undocumented