Home | Trees | Index | Help |
|
---|
Package twisted :: Package conch :: Module identity :: Class ConchIdentity |
|
Identity
--+
|
ConchIdentity
OpenSSHConchIdentity
Method Summary | |
---|---|
Adds a client class for the given service. | |
This will add the service, using our name as the name for the perspective. | |
str
|
Return the users home directory. |
str
|
Return the users shell. |
tuple
|
Return a uid and gid for this user as a tuple (uid, gid). |
Deferred
|
This should return a Deferred, that gets either called or erred back, depending on if this is a valid key for the user. |
Inherited from Identity | |
Create an identity. | |
| |
Put a key on my keyring. | |
Add a key for the given perspective. | |
I return some random data. | |
Returns a list of all services and perspectives this identity can connect to. | |
Remove a key from my keyring. | |
Get a perspective request (a Deferred) for the given key. | |
Get the first available perspective for a given service. | |
Persist this Identity to the authorizer. | |
(legacy) Set a password for this identity, already md5 hashed. | |
| |
| |
Verify a challenge/response password. | |
Verify plain text password. |
Class Variable Summary | |
---|---|
dict |
clients = {}
|
Inherited from Identity | |
NoneType |
hashedPassword = None |
Method Details |
---|
addClientForService(self, serviceName, clientClass)Adds a client class for the given service. Currently unused.
|
addServiceForSelf(self, serviceName)This will add the service, using our name as the name for the perspective. Currently unused.
|
getHomeDir(self)Return the users home directory.
|
getShell(self)Return the users shell.
|
getUserGroupID(self)Return a uid and gid for this user as a tuple (uid, gid).
|
validatePublicKey(self, pubKeyString)This should return a Deferred, that gets either called or erred back, depending on if this is a valid key for the user.
|
Class Variable Details |
---|
clients
|
Home | Trees | Index | Help |
|
---|
Generated by Epydoc 2.0 on Sat May 15 20:08:41 2004 | http://epydoc.sf.net |