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.
def requestAvatarId(self, creds):

Validate credentials and produce an avatar ID.

Parameterscredentialssomething which implements one of the interfaces in credentialInterfaces.
Returnsa 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 Alsotwisted.cred.credentials
API Documentation for twisted, generated by pydoctor at 2020-03-25 17:34:30.