- class RestAPIBase.baseapi.BaseAPI(apiuser, runasuser=None, host='localhost', port=8000, auth_method=1, cachelocation=None)¶
Base API class that all API classes should inherit from. It manages the method of communication and authentication with the REST API backend. Currently support Basic Authentication and Cookies.
Test function for managing cookies. Not being used currently
Install an authentication handler based on the authentication method