twisted.cred.checkers.ICredentialsChecker(Interface)
interface documentationtwisted.cred.checkers
(View In Hierarchy)
Known implementations: twisted.conch.checkers.SSHProtocolChecker, twisted.conch.checkers.SSHPublicKeyChecker, twisted.conch.checkers.SSHPublicKeyDatabase, twisted.conch.checkers.UNIXPasswordDatabase, twisted.conch.test.test_userauth.AnonymousChecker, twisted.conch.test.test_userauth.PasswordChecker, twisted.conch.test.test_userauth.PrivateKeyChecker, twisted.cred.checkers.AllowAnonymousAccess, twisted.cred.checkers.FilePasswordDB, twisted.cred.checkers.InMemoryUsernamePasswordDatabaseDontUse, twisted.mail.maildir.DirdbmDatabase, twisted.mail.test.test_smtp.DummyChecker, twisted.plugins.cred_unix.UNIXChecker
An object that can check sub-interfaces of ICredentials
.
Attribute | credentialInterfaces | A list of sub-interfaces of ICredentials
which specifies which I may check. |
Method | requestAvatarId | Validate credentials and produce an avatar ID. |
Validate credentials and produce an avatar ID.
Parameters | credentials | something which implements one of the interfaces in
credentialInterfaces . |
Returns | a Deferred
which will fire with a bytes
that identifies an avatar, an empty tuple to specify an authenticated
anonymous user (provided as twisted.cred.checkers.ANONYMOUS )
or fail with UnauthorizedLogin .
Alternatively, return the result itself. | |
See Also | twisted.cred.credentials |