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

Function abort_unauthorized

st2common/st2common/router.py:81–82  ·  view source on GitHub ↗
(msg=None)

Source from the content-addressed store, hash-verified

79
80
81def abort_unauthorized(msg=None):
82 raise exc.HTTPUnauthorized("Unauthorized - %s" % msg if msg else "Unauthorized")
83
84
85def extend_with_default(validator_class):

Callers 1

__call__Method · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected