def get_tms_properties(self): return TokenManagerProperties( resource_type=PNResourceType.USER, resource_id=self._data['id'] if self._data is not None else "")
def get_tms_properties(self): return TokenManagerProperties( resource_type=PNResourceType.SPACE, resource_id=self._space_id if self._space_id is not None else "")
def get_tms_properties(self): return TokenManagerProperties(resource_type=PNResourceType.USER, resource_id="")