class documentation
class InMemorySSHKeyDB: (source)
Constructor: InMemorySSHKeyDB(mapping)
Implements interfaces: twisted.conch.checkers.IAuthorizedKeysDB
Object that provides SSH public keys based on a dictionary of usernames mapped to twisted.conch.ssh.keys.Keys.
| Present Since | |
| 15.0 |
| Method | __init__ |
Initializes a new InMemorySSHKeyDB. |
| Method | get |
Look up the authorized keys for a user. |
| Instance Variable | _mapping |
Undocumented |
Initializes a new InMemorySSHKeyDB.
| Parameters | |
mapping:Mapping[ | mapping of usernames to iterables of twisted.conch.ssh.keys.Keys |
Look up the authorized keys for a user.
| Parameters | |
username:bytes | Name of the user |
| Returns | |
Iterable[ | Undocumented |