To get the details for a specific authentication module, use the URL <baseURL>/appserver/authmodules/{id}.
HTTP method |
URI |
Body |
---|---|---|
Get |
<BaseURL>/appserver/authmodules/{id} |
None |
Parameter |
Description |
Parameter type |
Data type |
---|---|---|---|
id |
Authentication module (required) |
path |
string |
Response schema:
[{
"id": String,
"caption": String,
"authTemplate": String,
"passwordBased": Boolean,
"isDefault": Boolean
}]
Example:
https://<Hostname>/AppServer/appserver/authmodules/DialogUser
Response:
[{
"id": "DialogUser",
"caption": "System user",
"authTemplate": "Module=DialogUser;User[VI.DB_USER]=;(Password)Password[VI.DB_Password]=",
"passwordBased": true,
"isDefault": false
}]
The values in the property authTemplate can be used to identify the format of the authString needed to authenticate against the application server. You can ignore the parts in [] and () as those are the caption keys and value types used in the front ends only.
For example, a valid authentication string would be Module=DialogUser;User=MyUser;Password=$ecret.