twisted.cred.credentialsView Source (View In Hierarchy)
Known implementations: twisted.cred.credentials.CramMD5Credentials, twisted.cred.credentials.DigestedCredentials, twisted.cred.credentials.UsernameHashedPassword, twisted.spread.pb._PortalAuthChallenger
I encapsulate a username and a hashed password.
This credential is used when a hashed password is received from the party requesting authentication. CredentialCheckers which check this kind of credential must store the passwords in plaintext (or as password-equivalent hashes) form so that they can be hashed in a manner appropriate for the particular credentials class.
|Instance Variable||username||The username associated with these credentials. (type:
|Method||checkPassword||Validate these credentials against the correct password.|
Validate these credentials against the correct password.
|Parameters||password||The correct, plaintext password against which to check. (type: |