Interface t.c.c.ICredentialsChecker(Interface):

Part of twisted.cred.checkers View Source View In Hierarchy

Known implementations: twisted.conch.checkers.SSHProtocolChecker, twisted.conch.checkers.SSHPublicKeyDatabase, twisted.conch.checkers.UNIXPasswordDatabase, twisted.cred.checkers.AllowAnonymousAccess, twisted.cred.checkers.FilePasswordDB, twisted.cred.checkers.InMemoryUsernamePasswordDatabaseDontUse, twisted.cred.checkers.PluggableAuthenticationModulesChecker, twisted.mail.maildir.DirdbmDatabase
I check sub-interfaces of ICredentials.
Class VariablescredentialInterfacesA list of sub-interfaces of ICredentials which specifies which I may check.
Method requestAvatarId
def requestAvatarId(credentials): (source)
Parameterscredentialssomething which implements one of the interfaces in self.credentialInterfaces.
Returnsa 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.
API Documentation for twisted, generated by pydoctor.