Part of twisted.cred.checkers View Source View In Hierarchy
Implements interfaces: twisted.cred.checkers.ICredentialsChecker
An extremely simple credentials checker.
This is only of use in one-off test programs or examples which don't want to focus too much on how credentials are verified.You really don't want to use this for anything else. It is, at best, a toy. If you need a simple credentials checker for a real application, see
|Parameters||credentials||something which implements one of the interfaces in self.credentialInterfaces.|
|Returns||a Deferred which will fire a string which identifies an avatar, an empty tuple to specify an authenticated anonymous user (provided as checkers.ANONYMOUS) or fire a Failure(UnauthorizedLogin). Alternatively, return the result itself.|