Workflow-Engine / api /services /enterprise /enterprise_service.py
Severian's picture
initial commit
a8b3f00
raw
history blame
343 Bytes
from services.enterprise.base import EnterpriseRequest
class EnterpriseService:
@classmethod
def get_info(cls):
return EnterpriseRequest.send_request("GET", "/info")
@classmethod
def get_app_web_sso_enabled(cls, app_code):
return EnterpriseRequest.send_request("GET", f"/app-sso-setting?appCode={app_code}")