PrincipalReference
Defined in: packages/pipeline-job-context/src/interfaces/principal-reference.interface.ts:7
Identity of the principal a job acts for. It carries no grants: what the principal may do is resolved again when the job runs.
Properties
Section titled “Properties”
readonlyid:string
Defined in: packages/pipeline-job-context/src/interfaces/principal-reference.interface.ts:8
sessionId?
Section titled “sessionId?”
readonlyoptionalsessionId?:string
Defined in: packages/pipeline-job-context/src/interfaces/principal-reference.interface.ts:12
Login session the principal authenticated with; absent when it has none.
readonlytype:string
Defined in: packages/pipeline-job-context/src/interfaces/principal-reference.interface.ts:10
Application-defined classification, such as 'user' or 'service'.