Authenticators

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_auth()

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

get_auth()

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