Issuer Property
General info
Label |
Issuer |
Description |
Used as the issuer claim which identifies the principal (inmation Web API) that issued the JSON Web Token. |
Data type |
String |
Default value |
"inmation Web API" |
Type |
Regular |
Code |
2827 |
Symbolic name |
MODEL_PROP_ISSUER |
Lua access code |
syslib.model.properties.Issuer |
Available since |
1.34.1.5103 |
- Parent properties
Attributes
Name | Tooltip |
---|---|
PROP_CONFIGURABLE | The property is configurable and can be changed with DataStudio and the various inmation APIs. |
PROP_VISIBLE | The property is visible in DataStudio and can be read by the inmation APIs. |
PROP_HAS_DEFAULT | The property has a default value as standard. |
Examples
Read from or write to the Issuer
property.
-- Read from the Issuer
syslib.getvalue("<OBJECT FULL PATH>.WebAPIAuthentication.Issuer")
-- Write to the Issuer
syslib.setvalue("<OBJECT FULL PATH>.WebAPIAuthentication.Issuer", "inmation Web API")
TcpConfig tcpcfg = new TcpConfig() { HostNameOrIp = "localhost", Port = 6512 };
SecurityCredentials sc = new SecurityCredentials() { ProfileName = "<username>", Password = "<password>" };
StatelessInterface sli = new StatelessInterface(tcpcfg);
// Read from the Issuer
Result result = sli.ReadValue(sc, new ReadItem("<OBJECT FULL PATH>.WebAPIAuthentication.Issuer"));
// Write to the Issuer
Result result = sli.WriteValue(sc, new WriteItem("inmation Web API", "<OBJECT FULL PATH>.WebAPIAuthentication.Issuer"));