Home | Trees | Index | Help |
|
---|
Package twisted :: Package cred :: Module credentials :: Class IUsernamePassword |
|
Interface
--+ |ICredentials
--+ | IUsernamePassword
I encapsulate a username and a plaintext password.
This encapsulates the case where the password received over the network has been hashed with the identity function (That is, not at all). The CredentialsChecker may store the password in whatever format it desires, it need only transform the stored password in a similar way before performing the comparison.Method Summary | |
---|---|
Validate these credentials against the correct password. |
Instance Variable Summary | |
---|---|
str |
password : The password associated with these credentials. |
str |
username : The username associated with these credentials. |
Class Variable Summary | |
---|---|
Inherited from ICredentials | |
__implements__ : Implementors _must_ provide an __implements__ attribute which contains
at least the list of sub-interfaces of ICredentials to which it
conforms. |
Method Details |
---|
checkPassword(self, password)Validate these credentials against the correct password.
|
Instance Variable Details |
---|
passwordThe password associated with these credentials.
|
usernameThe username associated with these credentials.
|
Home | Trees | Index | Help |
|
---|
Generated by Epydoc 2.0 on Sat May 15 20:08:37 2004 | http://epydoc.sf.net |