Package paramiko :: Class AuthHandler
[show private | hide private]
[frames | no frames]

Type AuthHandler

object --+
         |
        AuthHandler


Internal class to handle the mechanics of authentication.
Method Summary
  __init__(self, transport)
  _disconnect_no_more_auth(self)
  _disconnect_service_not_available(self)
  _get_session_blob(self, key, service, username)
  _interactive_query(self, q)
  _parse_service_accept(self, m)
  _parse_service_request(self, m)
  _parse_userauth_banner(self, m)
  _parse_userauth_failure(self, m)
  _parse_userauth_info_request(self, m)
  _parse_userauth_info_response(self, m)
  _parse_userauth_request(self, m)
  _parse_userauth_success(self, m)
  _request_auth(self)
  _send_auth_result(self, username, method, result)
  abort(self)
  auth_interactive(self, username, handler, event, submethods)
response_list = handler(title, instructions, prompt_list)
  auth_none(self, username, event)
  auth_password(self, username, password, event)
  auth_publickey(self, username, key, event)
  get_username(self)
  is_authenticated(self)
  wait_for_response(self, event)
    Inherited from object
  __delattr__(...)
x.__delattr__('name') <==> del x.name
  __getattribute__(...)
x.__getattribute__('name') <==> x.name
  __hash__(x)
x.__hash__() <==> hash(x)
  __new__(T, S, ...)
T.__new__(S, ...) -> a new object with type S, a subtype of T
  __reduce__(...)
helper for pickle
  __reduce_ex__(...)
helper for pickle
  __repr__(x)
x.__repr__() <==> repr(x)
  __setattr__(...)
x.__setattr__('name', value) <==> x.name = value
  __str__(x)
x.__str__() <==> str(x)

Class Variable Summary
dict _handler_table = {5: <function _parse_service_request at...

Method Details

auth_interactive(self, username, handler, event, submethods='')

response_list = handler(title, instructions, prompt_list)

Class Variable Details

_handler_table

Type:
dict
Value:
{5: <function _parse_service_request at 0xb7b0ae2c>,
 6: <function _parse_service_accept at 0xb7b0ae64>,
 50: <function _parse_userauth_request at 0xb7b0af0c>,
 51: <function _parse_userauth_failure at 0xb7b0af7c>,
 52: <function _parse_userauth_success at 0xb7b0af44>,
 53: <function _parse_userauth_banner at 0xb7b0afb4>,
 60: <function _parse_userauth_info_request at 0xb7b1302c>,
 61: <function _parse_userauth_info_response at 0xb7b13064>}           

Generated by Epydoc 2.1 on Sun Dec 4 11:16:48 2005 http://epydoc.sf.net