Represents an Authenticated Subject created to be used within the Management System. This will be created with a token issued by the ax-id-service.

Hierarchy

Indexable

[key: string]: unknown

Properties

aud: string

Audience of the token

Example

*
email?: string

Subject email

Example

john.doe@example.com
environmentId: string

Environment ID

exp: number

Expiration time (seconds since Unix epoch)

Example

1641566572
iat: number

Issued at (seconds since Unix epoch)

Example

1638974572
iss: string

Issuer of the token

Example

e.g. ax-id-service or ax-user-service
name: string

Subject name

Example

John Doe
permissions: {
    [key: string]: string[];
}

Permissions assigned to the subject

Type declaration

  • [key: string]: string[]

Example

{ 'ax-id-service': ['USER_QUERY'] },
sub: string

Subject identifier

Example

d68f0268-2703-49ef-9239-7391473fe77a
subjectType: SubjectType

Type of the subject

Example

UserAccount
tags?: string[]

Optional tags assigned to the subject via User Role that can have special meaning for customizable services

Example

['FINANCE','ECONOMICS']
tenantId: string

Tenant ID

Generated using TypeDoc