def get_oauth_data(self, code, client_id, client_secret, state):
        ''' Get Oauth data from HelloSign

        Args:

            code (str):             Code returned by HelloSign for our callback url

            client_id (str):        Client id of the associated app

            client_secret (str):    Secret token of the associated app

        Returns:
            A HSAccessTokenAuth object

        '''
        request = self._get_request()
        response = request.post(self.OAUTH_TOKEN_URL, {
            "state": state,
            "code": code,
            "grant_type": "authorization_code",
            "client_id": client_id,
            "client_secret": client_secret
        })
        return HSAccessTokenAuth.from_response(response)
Get Oauth data from HelloSign

        Args:

            code (str):             Code returned by HelloSign for our callback url

            client_id (str):        Client id of the associated app

            client_secret (str):    Secret token of the associated app

        Returns:
            A HSAccessTokenAuth object