F5Networks / f5-icontrol-rest-python

Generic python library used by the F5 SDK and other F5 projects to communicate with BIG-IP® via the REST API
http://icontrol.readthedocs.org/en/latest/
Apache License 2.0
36 stars 32 forks source link

Adds ability to set a pre-existing token in the object #138

Closed caphrim007 closed 7 years ago

caphrim007 commented 7 years ago

Previously, the session object only allowed for the creation of new tokens when using it. This prevented systems like Ansible from storing tokens in cookies for "later" authentication.

This patch adds the ability to specify a token that you have previously cached. This can be done when instantiating the session object, or afterwards by setting the known token via the token property of the session object

itblaked commented 7 years ago

👍