interface documentation

class IAuthorizedKeysDB(Interface): (source)

Known implementations: twisted.conch.checkers.InMemorySSHKeyDB, twisted.conch.checkers.UNIXAuthorizedKeysFiles

View In Hierarchy

An object that provides valid authorized ssh keys mapped to usernames.
Present Since
15.0
Method get​Authorized​Keys Gets an iterable of authorized keys that are valid for the given avatarId.
def getAuthorizedKeys(avatarId): (source)
Gets an iterable of authorized keys that are valid for the given avatarId.
Parameters
avatar​Id:valid return value of twisted.cred.checkers.ICredentialsChecker.requestAvatarIdthe ID of the avatar
Returns
an iterable of twisted.conch.ssh.keys.Key