AuthServerClaims

The various claims that the Auth Server will encode into an access token for reading/consumption

Constant
System.String OrganisationCode = org_id

Will be used for holding the organisation ID that a user is currently logged in to.

Constant
System.String Kapow = kapow

Will be used for holding the kapow that a user is currently logged in to (tied to the OrganisationId)

Constant
System.String RootNodes = root_nodes

Will be used for holding the root node(s) that have been granted to user accessing a particular organisation

Constant
System.String Service = svc

Will be used for holding the POSCore URI that this JWT has been encoded for. Only this particular POSCore will accept this token

Constant
System.String Subject = sub

Will be used for holding the Subject from the token

Constant
System.String UserId = user_id

Will be used for holding the user ID of the currently logged in user

Constant
System.String PermissionGroupAssignments = pga

Will be used for holding the encoded AuthServer permission group assignments

Constant
System.String EngineerFlags = enfl

Will be used for holding any applicable engineer flags in the authorisation token

Constant
System.String DeploymentServerApplicationTypes = dsat

Will be used for holding the encoded Deployment Server application types

Constant
System.String DeploymentServerReadableKapow = dsrk

Will be used for holding a guid representing a Kapow that this token is authorised to read organisation specific data from (eg - device status logs)

Can be included multiple times representing multiple organisations

Constant
System.String NoKapow = nk

Will be used for holding a 1 if this token is deliberately NOT scoped to a single Kapow

Constant
System.String POSCoreID = pcid

Will be used for holding the ID of the POSCore being logged into (not applicable to all tokens)