l.c.o.OpenStackAuthConnection(ConnectionUserAndKey) : class documentation

Part of libcloud.common.openstack View Source View In Hierarchy

Undocumented
Method __init__ Initialize `user_id` and `key`; set `secure` to an int based on passed value.
Method morph_action_hook Undocumented
Method add_default_headers Adds default headers (such as Authorization, X-Foo-Bar) to the passed `headers`
Method authenticate Undocumented
Method authenticate_1_0 Undocumented
Method authenticate_1_1 Undocumented
Method authenticate_2_0_with_apikey Undocumented
Method authenticate_2_0_with_password Undocumented
Method authenticate_2_0_with_body Undocumented

Inherited from Connection (via ConnectionUserAndKey, ConnectionKey):

Method set_context Undocumented
Method connect Establish a connection with the API server.
Method user_agent_append Append a token to a user agent string.
Method request Request a given `action`.
Method add_default_params Adds default parameters (such as API key, version, etc.) to the passed `params`
Method pre_connect_hook A hook which is called before connecting to the remote server. This hook can perform a final manipulation on the params, headers and url parameters.
Method encode_data Encode body data.
Method _tuple_from_url Undocumented
Method _user_agent Undocumented
def __init__(self, parent_conn, auth_url, auth_version, user_id, key, tenant_name=None, timeout=None): (source)
Initialize `user_id` and `key`; set `secure` to an int based on passed value.
def morph_action_hook(self, action): (source)
Undocumented
def add_default_headers(self, headers): (source)
Adds default headers (such as Authorization, X-Foo-Bar) to the passed `headers`

Should return a dictionary.

def authenticate(self): (source)
Undocumented
def authenticate_1_0(self): (source)
Undocumented
def authenticate_1_1(self): (source)
Undocumented
def authenticate_2_0_with_apikey(self): (source)
Undocumented
def authenticate_2_0_with_password(self): (source)
Undocumented
def authenticate_2_0_with_body(self, reqbody): (source)
Undocumented
API Documentation for libcloud, generated by pydoctor at 2012-07-28 18:57:18.