twisted.conch.test.test_userauth.PrivateKeyChecker(object) class documentationtwisted.conch.test.test_userauth
(View In Hierarchy)
Implements interfaces: twisted.cred.checkers.ICredentialsChecker
A very simple public key checker which authenticates anyone whose public/private keypair is the same keydata.public/privateRSA_openssh.
| 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 Deferredwhich will fire with abytesthat identifies an avatar, an empty tuple to specify an authenticated 
anonymous user (provided astwisted.cred.checkers.ANONYMOUS)
or fail withUnauthorizedLogin.
Alternatively, return the result itself. | |
| See Also | twisted.cred.credentials | |