MCPcopy Create free account
hub / github.com/StackStorm/st2 / get

Method get

st2auth/st2auth/controllers/v1/sso.py:84–91  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

82 return {"enabled": cfg.CONF.auth.sso}
83
84 def get(self):
85 try:
86 result = self._get_sso_enabled_config()
87 return process_successful_response(http_client.OK, result)
88 except Exception:
89 LOG.exception("Error encountered while getting SSO configuration.")
90 result = {"enabled": False}
91 return process_successful_response(http_client.OK, result)
92
93
94CALLBACK_SUCCESS_RESPONSE_BODY = """

Callers 10

apply_vagrant_workaroundFunction · 0.45
wsgi.pyFile · 0.45
setup_appFunction · 0.45
handle_authMethod · 0.45
test_sso_enabledMethod · 0.45
test_sso_disabledMethod · 0.45
test_idp_redirectMethod · 0.45

Calls 2