Actions in detail
listLanguages
mandatory arguments
none
optional arguments
none
data
Array of triples: {"id", "display", "locale"}.
mandatory arguments
none
optional arguments
lang
data
Array of tuples: {"id", "display"}.
listAllIdentityProviders
mandatory arguments
none
optional arguments
lang
data
The main purpose of this action is to provide listing for DiscoJusce, therefore
the structure of the result is talored to DJ needs.
The result is an array of tupples {"entityID","title","country","geo","icon","id"}.
geo and icon are optional. id
is provided for conformance reasons, but is just a copy of entityID.
geo can be either a {"lon", "lat"} touple or an array of such tupples.
listIdentityProviders
mandatory arguments
id - the identifier of a country to be listed.
optional arguments
lang
data
Array of tuples: {"id", "display"}.
listProfiles
mandatory arguments
id - the identifier of an IdP
optional arguments
lang
sort - if equal to 1 sort profiles by name (case-ignore)
Array of tuples: {"id", "display", "idp_name", "logo"}.
logo can be 0 or 1 and
shows if logo is available.
profileAttributes
mandatory arguments
id - the identifier of the profile to be shown
optional arguments
lang
data
Array of tuples: {"local_email","local_phone","local_url","description","devices"}.
All local_ entries and description are optional.
devices is an array of touples {"id","display","status","redirect",
"eap_customtext","device_customtext"}.
listDevices
mandatory arguments
id - the identifier of the profile for which the devices will be listed
optional arguments
lang
data
array of touples {"id","display","status","redirect", "eap_customtext","device_customtext"}.
generateInstaller
mandatory arguments
id - identifier of the device; profile - identifier of the profile
optional arguments
lang
data
array of touples {"profile","device","link", "mime"}.
downloadInstaller
mandatory arguments
id - identifier of the device; profile - identifier of the profile
optional arguments
lang; generatedfor - either 'user' or 'admin' - defaults to user
returned data
installer file
sendLogo
mandatory arguments
id - the identifier of the identity provider
optional arguments
lang
returned data
logo image