Bases: object
Helper methods for dealing with a Keystone Service Catalog.
Fetch and filter endpoints for the specified service(s).
Returns endpoints for the specified service (or all) and that contain the specified type (or all).
Fetch token details from service catalog.
Returns a dictionary containing the following:
- `id`: Token's ID
- `expires`: Token's expiration
- `user_id`: Authenticated user's ID
- `tenant_id`: Authorized project's ID
Fetch an endpoint from the service catalog.
Fetch the specified endpoint from the service catalog for a particular endpoint attribute. If no attribute is given, return the first endpoint of the specified type.
Valid endpoint types: publicURL, internalURL, adminURL
See tests for a sample service catalog.