def __init__(self, client_id, client_secret, region='us', max_results=1000, default_timeout=(10, 60)):
        """

        Create a new instance of OneLoginClient.

        :param client_id: API Credentials client_id
        :type client_id: string
        :param client_secret: API Credentials client_secret
        :type client_secret: string
        :param region: OneLogin region, either us or eu
        :type region: string
        :param max_results: Maximum number of results returned by list operations
        :type max_results: int
        :param default_timeout: a request timeout
        See http://docs.python-requests.org/en/master/user/advanced/#timeouts
        :type default_timeout: (float, float)

        """
        self.client_id = client_id
        self.client_secret = client_secret
        self.max_results = max_results
        self.url_builder = UrlBuilder(region)
        self.user_agent = self.CUSTOM_USER_AGENT
        self.access_token = self.refresh_token = self.expiration = None
        self.error = None
        self.error_description = None
        self.error_attribute = None
        self.requests_timeout = default_timeout
def __init__ ( self , client_id , client_secret , region = 'us' , max_results = 1000 , default_timeout = ( 10 , 60 ) ) : self . client_id = client_id self . client_secret = client_secret self . max_results = max_results self . url_builder = UrlBuilder ( region ) self . user_agent = self . CUSTOM_USER_AGENT self . access_token = self . refresh_token = self . expiration = None self . error = None self . error_description = None self . error_attribute = None self . requests_timeout = default_timeout
Create a new instance of OneLoginClient.

        :param client_id: API Credentials client_id
        :type client_id: string
        :param client_secret: API Credentials client_secret
        :type client_secret: string
        :param region: OneLogin region, either us or eu
        :type region: string
        :param max_results: Maximum number of results returned by list operations
        :type max_results: int
        :param default_timeout: a request timeout
        See http://docs.python-requests.org/en/master/user/advanced/#timeouts
        :type default_timeout: (float, float)