Comment 3 for bug 1696236

Revision history for this message
Timur Alperovich (timur-alperovich) wrote :

Right. If Connection is given a storage URL and auth-token, it doesn't have the credentials to attempt to get a new token if the current one expires. I was trying to explore what can be done with the existing code.

Documenting the swiftclient.client.get_auth method in the client API page definitely makes sense. I also agree that adding an option to python-swiftclient to use memcache/redis for token caching could make sense as a feature, but that needs to be added.