GitHub user mynnx opened a pull request:
https://github.com/apache/libcloud/pull/68
Populate openstack connection's auth_user_info
Keystone Auth 2.0 returns user information, including roles, with a
successful authentication request. This pull request adds the ability to get
to that information via the `auth_user_info` attribute of the Openstack
driver's connection.
http://docs.rackspace.com/auth/api/v2.0/auth-client-devguide/content/Sample_Request_Response-d1e64.html
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/mynnx/libcloud add_2.0_auth_user_info
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/libcloud/pull/68.patch
----
commit b03ab9d837dea2f3523fad52572730cb2e4d5c54
Author: Mark Everett <[email protected]>
Date: 2012-07-02T15:00:12-07:00
populate openstack connection's auth_user_info
only for 2.0 auth though; otherwise None
----