Changes between Version 8 and Version 9 of MyProxyClient
- Timestamp:
- 02/06/10 16:13:38 (11 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
MyProxyClient
v8 v9 22 22 >>> from myproxy.client import MyProxyClient 23 23 >>> myproxy = MyProxyClient(hostname='myproxy.localhost') 24 >>> credentials = myproxy.logon('myusername', 'mypassword' )24 >>> credentials = myproxy.logon('myusername', 'mypassword', bootstrap=True) 25 25 }}} 26 `credentials` is a tuple containing certificate(s) and private key as strings. 26 `credentials` is a tuple containing certificate(s) and private key as strings. The `bootstrap` flag bootstraps the trust roots for the server downloading the CA certificate(s) to `~/.globus/certificates`. 27 27 28 28 ==== Documentation ====