Skip to content
Snippets Groups Projects
Commit 1c707e99 authored by Tomasz Wolniewicz's avatar Tomasz Wolniewicz
Browse files

Description fixes in API

parent ccdd1f40
Branches
Tags
1 merge request!46Description fixes in API
...@@ -1056,7 +1056,7 @@ Click action names for a full description.</p>'; ...@@ -1056,7 +1056,7 @@ Click action names for a full description.</p>';
'required' => FALSE, 'required' => FALSE,
'values' => '7 or "all" - all entities; 4 or "idp" - IdPs only; 2 or "sp" - SPs only; 1 or "aa" - standalone AAs only.', 'values' => '7 or "all" - all entities; 4 or "idp" - IdPs only; 2 or "sp" - SPs only; 1 or "aa" - standalone AAs only.',
'default' => 7, 'default' => 7,
'description' => 'limits the results to a givien entity type', 'description' => 'limits the results to a givien entity type, also with sp, idp, aa set the output is simplified - best test it out yourself.',
], ],
[ [
'arg' => 'lang', 'arg' => 'lang',
...@@ -1067,7 +1067,7 @@ Click action names for a full description.</p>'; ...@@ -1067,7 +1067,7 @@ Click action names for a full description.</p>';
[ [
'arg' => 'opt', 'arg' => 'opt',
'required' => FALSE, 'required' => FALSE,
'values' => '1 show request innitiator; none or any other - do not show', 'values' => '1 - show request innitiator; 2 - show as and array [status, name, regauth], none or any other - just the name',
'description' => '' 'description' => ''
] ]
], ],
...@@ -1077,6 +1077,13 @@ Click action names for a full description.</p>'; ...@@ -1077,6 +1077,13 @@ Click action names for a full description.</p>';
['opt' => ['e_id' => 'https://sso.umk.pl/idp/shibboleth', ['opt' => ['e_id' => 'https://sso.umk.pl/idp/shibboleth',
'lang' => 'pl',], 'lang' => 'pl',],
'title' => 'show the Polish name'], 'title' => 'show the Polish name'],
[ 'opt' => ['e_id' => 'https://sso.umk.pl/idp/shibboleth',
'type' => 'idp'],
'title' => 'show default name with type set to idp'],
[ 'opt' => ['e_id' => 'https://sso.umk.pl/idp/shibboleth',
'type' => 'idp',
'opt' => 2],
'title' => 'show default name with type set to idp and opt set to 2'],
], ],
]); ]);
if ($this->opts['help'] == 1) { if ($this->opts['help'] == 1) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment