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

WebAPIAuthentication

Attributes

Name Tooltip
PROP_CONFIGURABLE
PROP_VISIBLE
PROP_HAS_DEFAULT

Examples

Read from or write to the Issuer property.

  • Lua

  • C#

-- 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"));