class hpsdnclient.auth.XAuthToken(server, user, password)

This class handles authentication against the HP SDN REST API and uses the Requests API. XAuthToken derives from requests.auth.AuthBase and hpsdnclient.ApiBase.


Delete Authentication Token, AKA, Logout. This method logs the current user out


This method requests an authentication token from the SDN controller and returns a dictionary with the token and expiration time.