Changes between Version 5 and Version 6 of MyProxyClient


Ignore:
Timestamp:
20/08/09 13:34:30 (10 years ago)
Author:
pjkersha
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • MyProxyClient

    v5 v6  
    1212}}} 
    1313 
     14==== Example ==== 
     15Retrieve credentials from a MyProxy server running at `myproxy.localhost` on the default port: 
     16{{{ 
     17>>> from myproxy.client import MyProxyClient 
     18>>> myproxy = MyProxyClient(hostname='myproxy.localhost') 
     19>>> credentials = myproxy.logon('myusername', 'mypassword') 
     20}}} 
     21`credentials` is a tuple containing certificate(s) and private key as strings. 
     22 
    1423==== Documentation ==== 
    1524epydoc generated [http://packages.python.org/MyProxyClient/ documentation] is available at the Python package site.