Create the authorization/identification portion of a request.

def _getAuth(self, auth):
        """Create the authorization/identification portion of a request."""
        if type(auth) is dict:
            return auth
        else:
            # auth is string
            if None != self._clientid:
                return {"cik": auth, "client_id": self._clientid}
            elif None != self._resourceid:
                return {"cik": auth, "resource_id": self._resourceid}
            return {"cik": auth}