Skip to content

uc-apx auth usage

List every construct that carries an authorizationScheme

uc-apx auth usage [flags]
FlagTypeDefaultDescription
--schemestringOnly show uses of this scheme id
FlagTypeDefaultDescription
--app-dirstring.Path to the APEX application directory
--json-prettyOutput in pretty-printed JSON (human-readable) instead of minified JSON
--toonOutput in TOON format (human-readable, token-efficient) instead of JSON

Running against examples/brookstrut:

Terminal window
uc-apx --app-dir examples/brookstrut auth usage
uses[1]{kind,id,pageId,schemeId,negated,property,file,line}:
app,BROOKSTRUT,"",mustNotBePublicUser,false,authorization.scheme,application.apx,1
total: 1
JSON output
{
"uses": [
{
"kind": "app",
"id": "BROOKSTRUT",
"schemeId": "mustNotBePublicUser",
"property": "authorization.scheme",
"file": "application.apx",
"line": 1
}
],
"total": 1
}