class InMemorySSHKeyDB: (source)
Implements interfaces: twisted.conch.checkers.IAuthorizedKeysDB
twisted.conch.ssh.keys.Keys.| Present Since | |
| 15.0 |
| Method | __init__ |
Initializes a new InMemorySSHKeyDB. |
| Method | getAuthorizedKeys |
Gets an iterable of authorized keys that are valid for the given avatarId. |
| Instance Variable | _mapping |
Undocumented |
InMemorySSHKeyDB.| Parameters | |
mapping:dict | mapping of usernames to iterables of twisted.conch.ssh.keys.Keys |
| Parameters | |
| username | Undocumented |
avatarId:valid return value of twisted.cred.checkers.ICredentialsChecker.requestAvatarId | the ID of the avatar |
| Returns | |
an iterable of twisted.conch.ssh.keys.Key | |