@3sixty/rights-management-plugins 0.0.0-stage → 0.20.0-next.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (134) hide show
  1. package/LICENSE +201 -0
  2. package/README.md +32 -2
  3. package/dist/es/index.js +34 -0
  4. package/dist/es/index.js.map +1 -0
  5. package/dist/es/models/IAutomationPolicyExecutionActionConfig.js +4 -0
  6. package/dist/es/models/IAutomationPolicyExecutionActionConfig.js.map +1 -0
  7. package/dist/es/models/IAutomationPolicyExecutionActionConstructorOptions.js +2 -0
  8. package/dist/es/models/IAutomationPolicyExecutionActionConstructorOptions.js.map +1 -0
  9. package/dist/es/models/IDefaultPolicyArbiterConfig.js +4 -0
  10. package/dist/es/models/IDefaultPolicyArbiterConfig.js.map +1 -0
  11. package/dist/es/models/IDefaultPolicyArbiterConstructorOptions.js +4 -0
  12. package/dist/es/models/IDefaultPolicyArbiterConstructorOptions.js.map +1 -0
  13. package/dist/es/models/IDefaultPolicyEnforcementProcessorConfig.js +4 -0
  14. package/dist/es/models/IDefaultPolicyEnforcementProcessorConfig.js.map +1 -0
  15. package/dist/es/models/IDefaultPolicyEnforcementProcessorConstructorOptions.js +2 -0
  16. package/dist/es/models/IDefaultPolicyEnforcementProcessorConstructorOptions.js.map +1 -0
  17. package/dist/es/models/IIdentityPolicyInformationSourceConstructorOptions.js +4 -0
  18. package/dist/es/models/IIdentityPolicyInformationSourceConstructorOptions.js.map +1 -0
  19. package/dist/es/models/IIdentityProfilePolicyInformationSourceConstructorOptions.js +4 -0
  20. package/dist/es/models/IIdentityProfilePolicyInformationSourceConstructorOptions.js.map +1 -0
  21. package/dist/es/models/ILoggingPolicyExecutionActionConfig.js +2 -0
  22. package/dist/es/models/ILoggingPolicyExecutionActionConfig.js.map +1 -0
  23. package/dist/es/models/ILoggingPolicyExecutionActionConstructorOptions.js +2 -0
  24. package/dist/es/models/ILoggingPolicyExecutionActionConstructorOptions.js.map +1 -0
  25. package/dist/es/models/IPassThroughPolicyArbiterConstructorOptions.js +4 -0
  26. package/dist/es/models/IPassThroughPolicyArbiterConstructorOptions.js.map +1 -0
  27. package/dist/es/models/IPassThroughPolicyEnforcementProcessorConstructorOptions.js +4 -0
  28. package/dist/es/models/IPassThroughPolicyEnforcementProcessorConstructorOptions.js.map +1 -0
  29. package/dist/es/models/IPassThroughPolicyNegotiatorConfig.js +4 -0
  30. package/dist/es/models/IPassThroughPolicyNegotiatorConfig.js.map +1 -0
  31. package/dist/es/models/IPassThroughPolicyNegotiatorConstructorOptions.js +2 -0
  32. package/dist/es/models/IPassThroughPolicyNegotiatorConstructorOptions.js.map +1 -0
  33. package/dist/es/models/IPassThroughPolicyObligationEnforcerConstructorOptions.js +4 -0
  34. package/dist/es/models/IPassThroughPolicyObligationEnforcerConstructorOptions.js.map +1 -0
  35. package/dist/es/models/IPassThroughPolicyRequesterConstructorOptions.js +4 -0
  36. package/dist/es/models/IPassThroughPolicyRequesterConstructorOptions.js.map +1 -0
  37. package/dist/es/models/IStaticPolicyInformationSource.js +2 -0
  38. package/dist/es/models/IStaticPolicyInformationSource.js.map +1 -0
  39. package/dist/es/models/IStaticPolicyInformationSourceConfig.js +2 -0
  40. package/dist/es/models/IStaticPolicyInformationSourceConfig.js.map +1 -0
  41. package/dist/es/models/IStaticPolicyInformationSourceConstructorOptions.js +2 -0
  42. package/dist/es/models/IStaticPolicyInformationSourceConstructorOptions.js.map +1 -0
  43. package/dist/es/policyArbiters/defaultPolicyArbiter.js +1880 -0
  44. package/dist/es/policyArbiters/defaultPolicyArbiter.js.map +1 -0
  45. package/dist/es/policyArbiters/passThroughPolicyArbiter.js +59 -0
  46. package/dist/es/policyArbiters/passThroughPolicyArbiter.js.map +1 -0
  47. package/dist/es/policyEnforcementProcessor/defaultPolicyEnforcementProcessor.js +198 -0
  48. package/dist/es/policyEnforcementProcessor/defaultPolicyEnforcementProcessor.js.map +1 -0
  49. package/dist/es/policyEnforcementProcessor/passThroughPolicyEnforcementProcessor.js +54 -0
  50. package/dist/es/policyEnforcementProcessor/passThroughPolicyEnforcementProcessor.js.map +1 -0
  51. package/dist/es/policyExecutionActions/automationPolicyExecutionAction.js +77 -0
  52. package/dist/es/policyExecutionActions/automationPolicyExecutionAction.js.map +1 -0
  53. package/dist/es/policyExecutionActions/loggingPolicyExecutionAction.js +121 -0
  54. package/dist/es/policyExecutionActions/loggingPolicyExecutionAction.js.map +1 -0
  55. package/dist/es/policyInformationSources/identityPolicyInformationSource.js +91 -0
  56. package/dist/es/policyInformationSources/identityPolicyInformationSource.js.map +1 -0
  57. package/dist/es/policyInformationSources/identityProfilePolicyInformationSource.js +112 -0
  58. package/dist/es/policyInformationSources/identityProfilePolicyInformationSource.js.map +1 -0
  59. package/dist/es/policyInformationSources/staticPolicyInformationSource.js +96 -0
  60. package/dist/es/policyInformationSources/staticPolicyInformationSource.js.map +1 -0
  61. package/dist/es/policyNegotiators/passThroughPolicyNegotiator.js +95 -0
  62. package/dist/es/policyNegotiators/passThroughPolicyNegotiator.js.map +1 -0
  63. package/dist/es/policyObligationEnforcers/passThroughPolicyObligationEnforcer.js +56 -0
  64. package/dist/es/policyObligationEnforcers/passThroughPolicyObligationEnforcer.js.map +1 -0
  65. package/dist/es/policyRequesters/passThroughPolicyRequester.js +103 -0
  66. package/dist/es/policyRequesters/passThroughPolicyRequester.js.map +1 -0
  67. package/dist/types/index.d.ts +31 -0
  68. package/dist/types/models/IAutomationPolicyExecutionActionConfig.d.ts +9 -0
  69. package/dist/types/models/IAutomationPolicyExecutionActionConstructorOptions.d.ts +15 -0
  70. package/dist/types/models/IDefaultPolicyArbiterConfig.d.ts +10 -0
  71. package/dist/types/models/IDefaultPolicyArbiterConstructorOptions.d.ts +19 -0
  72. package/dist/types/models/IDefaultPolicyEnforcementProcessorConfig.d.ts +11 -0
  73. package/dist/types/models/IDefaultPolicyEnforcementProcessorConstructorOptions.d.ts +14 -0
  74. package/dist/types/models/IIdentityPolicyInformationSourceConstructorOptions.d.ts +14 -0
  75. package/dist/types/models/IIdentityProfilePolicyInformationSourceConstructorOptions.d.ts +14 -0
  76. package/dist/types/models/ILoggingPolicyExecutionActionConfig.d.ts +25 -0
  77. package/dist/types/models/ILoggingPolicyExecutionActionConstructorOptions.d.ts +14 -0
  78. package/dist/types/models/IPassThroughPolicyArbiterConstructorOptions.d.ts +9 -0
  79. package/dist/types/models/IPassThroughPolicyEnforcementProcessorConstructorOptions.d.ts +9 -0
  80. package/dist/types/models/IPassThroughPolicyNegotiatorConfig.d.ts +9 -0
  81. package/dist/types/models/IPassThroughPolicyNegotiatorConstructorOptions.d.ts +14 -0
  82. package/dist/types/models/IPassThroughPolicyObligationEnforcerConstructorOptions.d.ts +9 -0
  83. package/dist/types/models/IPassThroughPolicyRequesterConstructorOptions.d.ts +9 -0
  84. package/dist/types/models/IStaticPolicyInformationSource.d.ts +23 -0
  85. package/dist/types/models/IStaticPolicyInformationSourceConfig.d.ts +10 -0
  86. package/dist/types/models/IStaticPolicyInformationSourceConstructorOptions.d.ts +14 -0
  87. package/dist/types/policyArbiters/defaultPolicyArbiter.d.ts +38 -0
  88. package/dist/types/policyArbiters/passThroughPolicyArbiter.d.ts +32 -0
  89. package/dist/types/policyEnforcementProcessor/defaultPolicyEnforcementProcessor.d.ts +36 -0
  90. package/dist/types/policyEnforcementProcessor/passThroughPolicyEnforcementProcessor.d.ts +32 -0
  91. package/dist/types/policyExecutionActions/automationPolicyExecutionAction.d.ts +45 -0
  92. package/dist/types/policyExecutionActions/loggingPolicyExecutionAction.d.ts +37 -0
  93. package/dist/types/policyInformationSources/identityPolicyInformationSource.d.ts +31 -0
  94. package/dist/types/policyInformationSources/identityProfilePolicyInformationSource.d.ts +31 -0
  95. package/dist/types/policyInformationSources/staticPolicyInformationSource.d.ts +37 -0
  96. package/dist/types/policyNegotiators/passThroughPolicyNegotiator.d.ts +48 -0
  97. package/dist/types/policyObligationEnforcers/passThroughPolicyObligationEnforcer.d.ts +32 -0
  98. package/dist/types/policyRequesters/passThroughPolicyRequester.d.ts +48 -0
  99. package/docs/changelog.md +0 -0
  100. package/docs/examples.md +295 -0
  101. package/docs/reference/classes/AutomationPolicyExecutionAction.md +143 -0
  102. package/docs/reference/classes/DefaultPolicyArbiter.md +113 -0
  103. package/docs/reference/classes/DefaultPolicyEnforcementProcessor.md +115 -0
  104. package/docs/reference/classes/IdentityPolicyInformationSource.md +103 -0
  105. package/docs/reference/classes/IdentityProfilePolicyInformationSource.md +103 -0
  106. package/docs/reference/classes/LoggingPolicyExecutionAction.md +127 -0
  107. package/docs/reference/classes/PassThroughPolicyArbiter.md +103 -0
  108. package/docs/reference/classes/PassThroughPolicyEnforcementProcessor.md +107 -0
  109. package/docs/reference/classes/PassThroughPolicyNegotiator.md +149 -0
  110. package/docs/reference/classes/PassThroughPolicyObligationEnforcer.md +109 -0
  111. package/docs/reference/classes/PassThroughPolicyRequester.md +169 -0
  112. package/docs/reference/classes/StaticPolicyInformationSource.md +123 -0
  113. package/docs/reference/index.md +38 -0
  114. package/docs/reference/interfaces/IAutomationPolicyExecutionActionConfig.md +11 -0
  115. package/docs/reference/interfaces/IAutomationPolicyExecutionActionConstructorOptions.md +25 -0
  116. package/docs/reference/interfaces/IDefaultPolicyArbiterConfig.md +17 -0
  117. package/docs/reference/interfaces/IDefaultPolicyArbiterConstructorOptions.md +33 -0
  118. package/docs/reference/interfaces/IDefaultPolicyEnforcementProcessorConfig.md +13 -0
  119. package/docs/reference/interfaces/IDefaultPolicyEnforcementProcessorConstructorOptions.md +19 -0
  120. package/docs/reference/interfaces/IIdentityPolicyInformationSourceConstructorOptions.md +25 -0
  121. package/docs/reference/interfaces/IIdentityProfilePolicyInformationSourceConstructorOptions.md +25 -0
  122. package/docs/reference/interfaces/ILoggingPolicyExecutionActionConfig.md +53 -0
  123. package/docs/reference/interfaces/ILoggingPolicyExecutionActionConstructorOptions.md +19 -0
  124. package/docs/reference/interfaces/IPassThroughPolicyArbiterConstructorOptions.md +11 -0
  125. package/docs/reference/interfaces/IPassThroughPolicyEnforcementProcessorConstructorOptions.md +11 -0
  126. package/docs/reference/interfaces/IPassThroughPolicyNegotiatorConfig.md +11 -0
  127. package/docs/reference/interfaces/IPassThroughPolicyNegotiatorConstructorOptions.md +19 -0
  128. package/docs/reference/interfaces/IPassThroughPolicyObligationEnforcerConstructorOptions.md +11 -0
  129. package/docs/reference/interfaces/IPassThroughPolicyRequesterConstructorOptions.md +11 -0
  130. package/docs/reference/interfaces/IStaticPolicyInformationSource.md +43 -0
  131. package/docs/reference/interfaces/IStaticPolicyInformationSourceConfig.md +11 -0
  132. package/docs/reference/interfaces/IStaticPolicyInformationSourceConstructorOptions.md +19 -0
  133. package/locales/en.json +79 -0
  134. package/package.json +60 -5
@@ -0,0 +1,109 @@
1
+ # Class: PassThroughPolicyObligationEnforcer
2
+
3
+ Pass Through Policy Obligation Enforcer.
4
+
5
+ ## Implements
6
+
7
+ - `IPolicyObligationEnforcer`
8
+
9
+ ## Constructors
10
+
11
+ ### Constructor
12
+
13
+ > **new PassThroughPolicyObligationEnforcer**(`options?`): `PassThroughPolicyObligationEnforcer`
14
+
15
+ Create a new instance of Pass Through Policy Obligation Enforcer.
16
+
17
+ #### Parameters
18
+
19
+ ##### options?
20
+
21
+ [`IPassThroughPolicyObligationEnforcerConstructorOptions`](../interfaces/IPassThroughPolicyObligationEnforcerConstructorOptions.md)
22
+
23
+ The options for the pass through policy obligation enforcer.
24
+
25
+ #### Returns
26
+
27
+ `PassThroughPolicyObligationEnforcer`
28
+
29
+ ## Properties
30
+
31
+ ### CLASS\_NAME {#class_name}
32
+
33
+ > `readonly` `static` **CLASS\_NAME**: `string`
34
+
35
+ The class name of the Pass Through Policy Obligation Enforcer.
36
+
37
+ ## Methods
38
+
39
+ ### className() {#classname}
40
+
41
+ > **className**(): `string`
42
+
43
+ Returns the class name of the component.
44
+
45
+ #### Returns
46
+
47
+ `string`
48
+
49
+ The class name of the component.
50
+
51
+ #### Implementation of
52
+
53
+ `IPolicyObligationEnforcer.className`
54
+
55
+ ***
56
+
57
+ ### enforce() {#enforce}
58
+
59
+ > **enforce**\<`D`\>(`policy`, `duty`, `information?`, `data?`, `action?`): `Promise`\<`boolean`\>
60
+
61
+ Enforces obligations regarding policy access to data.
62
+
63
+ #### Type Parameters
64
+
65
+ ##### D
66
+
67
+ `D` = `unknown`
68
+
69
+ #### Parameters
70
+
71
+ ##### policy
72
+
73
+ `IRightsManagementPolicy`
74
+
75
+ The policy to evaluate.
76
+
77
+ ##### duty
78
+
79
+ `IOdrlDuty`
80
+
81
+ The duty to enforce.
82
+
83
+ ##### information?
84
+
85
+ `IRightsManagementInformation`
86
+
87
+ Information provided by the requester to determine if a policy can be created.
88
+
89
+ ##### data?
90
+
91
+ `D`
92
+
93
+ The data to make a decision on.
94
+
95
+ ##### action?
96
+
97
+ `string`
98
+
99
+ Optional action to make a decision on, if not provided, the enforcer will evaluate all actions in the duty.
100
+
101
+ #### Returns
102
+
103
+ `Promise`\<`boolean`\>
104
+
105
+ Whether the obligations were successfully enforced.
106
+
107
+ #### Implementation of
108
+
109
+ `IPolicyObligationEnforcer.enforce`
@@ -0,0 +1,169 @@
1
+ # Class: PassThroughPolicyRequester
2
+
3
+ Pass Through Policy Requester.
4
+
5
+ ## Implements
6
+
7
+ - `IPolicyRequester`
8
+
9
+ ## Constructors
10
+
11
+ ### Constructor
12
+
13
+ > **new PassThroughPolicyRequester**(`options?`): `PassThroughPolicyRequester`
14
+
15
+ Create a new instance of PassThroughPolicyRequester.
16
+
17
+ #### Parameters
18
+
19
+ ##### options?
20
+
21
+ [`IPassThroughPolicyRequesterConstructorOptions`](../interfaces/IPassThroughPolicyRequesterConstructorOptions.md)
22
+
23
+ The options for the pass through policy Requester.
24
+
25
+ #### Returns
26
+
27
+ `PassThroughPolicyRequester`
28
+
29
+ ## Properties
30
+
31
+ ### CLASS\_NAME {#class_name}
32
+
33
+ > `readonly` `static` **CLASS\_NAME**: `string`
34
+
35
+ The class name of the Pass Through Policy Requester.
36
+
37
+ ## Methods
38
+
39
+ ### className() {#classname}
40
+
41
+ > **className**(): `string`
42
+
43
+ Returns the class name of the component.
44
+
45
+ #### Returns
46
+
47
+ `string`
48
+
49
+ The class name of the component.
50
+
51
+ #### Implementation of
52
+
53
+ `IPolicyRequester.className`
54
+
55
+ ***
56
+
57
+ ### offer() {#offer}
58
+
59
+ > **offer**(`negotiationId`, `offer`): `Promise`\<`boolean`\>
60
+
61
+ A policy has been offered by a provider, let the request handler know about it.
62
+
63
+ #### Parameters
64
+
65
+ ##### negotiationId
66
+
67
+ `string`
68
+
69
+ The id of the negotiation.
70
+
71
+ ##### offer
72
+
73
+ `IDataspaceProtocolOffer`
74
+
75
+ The offer sent by the provider.
76
+
77
+ #### Returns
78
+
79
+ `Promise`\<`boolean`\>
80
+
81
+ True if the offer was accepted, false otherwise.
82
+
83
+ #### Implementation of
84
+
85
+ `IPolicyRequester.offer`
86
+
87
+ ***
88
+
89
+ ### agreement() {#agreement}
90
+
91
+ > **agreement**(`negotiationId`, `agreement`): `Promise`\<`boolean`\>
92
+
93
+ A policy agreement has been sent by a provider, let the request handler know about it.
94
+
95
+ #### Parameters
96
+
97
+ ##### negotiationId
98
+
99
+ `string`
100
+
101
+ The id of the negotiation.
102
+
103
+ ##### agreement
104
+
105
+ `IDataspaceProtocolAgreement`
106
+
107
+ The agreement sent by the provider.
108
+
109
+ #### Returns
110
+
111
+ `Promise`\<`boolean`\>
112
+
113
+ True if the agreement was accepted, false otherwise.
114
+
115
+ #### Implementation of
116
+
117
+ `IPolicyRequester.agreement`
118
+
119
+ ***
120
+
121
+ ### finalised() {#finalised}
122
+
123
+ > **finalised**(`negotiationId`): `Promise`\<`void`\>
124
+
125
+ A policy finalisation has been sent by a provider, let the request handler know about it.
126
+
127
+ #### Parameters
128
+
129
+ ##### negotiationId
130
+
131
+ `string`
132
+
133
+ The id of the negotiation.
134
+
135
+ #### Returns
136
+
137
+ `Promise`\<`void`\>
138
+
139
+ A promise that resolves when the finalisation has been processed.
140
+
141
+ #### Implementation of
142
+
143
+ `IPolicyRequester.finalised`
144
+
145
+ ***
146
+
147
+ ### terminated() {#terminated}
148
+
149
+ > **terminated**(`negotiationId`): `Promise`\<`void`\>
150
+
151
+ A policy termination has been sent by a provider, let the request handler know about it.
152
+
153
+ #### Parameters
154
+
155
+ ##### negotiationId
156
+
157
+ `string`
158
+
159
+ The id of the negotiation.
160
+
161
+ #### Returns
162
+
163
+ `Promise`\<`void`\>
164
+
165
+ A promise that resolves when the termination has been processed.
166
+
167
+ #### Implementation of
168
+
169
+ `IPolicyRequester.terminated`
@@ -0,0 +1,123 @@
1
+ # Class: StaticPolicyInformationSource
2
+
3
+ Policy information source which retrieves static information.
4
+
5
+ ## Implements
6
+
7
+ - `IPolicyInformationSource`
8
+
9
+ ## Constructors
10
+
11
+ ### Constructor
12
+
13
+ > **new StaticPolicyInformationSource**(`options?`): `StaticPolicyInformationSource`
14
+
15
+ Create a new instance of StaticPolicyInformationSource.
16
+
17
+ #### Parameters
18
+
19
+ ##### options?
20
+
21
+ [`IStaticPolicyInformationSourceConstructorOptions`](../interfaces/IStaticPolicyInformationSourceConstructorOptions.md)
22
+
23
+ The options for the logging policy source.
24
+
25
+ #### Returns
26
+
27
+ `StaticPolicyInformationSource`
28
+
29
+ ## Properties
30
+
31
+ ### CLASS\_NAME {#class_name}
32
+
33
+ > `readonly` `static` **CLASS\_NAME**: `string`
34
+
35
+ The class name of the Static Policy Information Source.
36
+
37
+ ## Methods
38
+
39
+ ### className() {#classname}
40
+
41
+ > **className**(): `string`
42
+
43
+ Returns the class name of the component.
44
+
45
+ #### Returns
46
+
47
+ `string`
48
+
49
+ The class name of the component.
50
+
51
+ #### Implementation of
52
+
53
+ `IPolicyInformationSource.className`
54
+
55
+ ***
56
+
57
+ ### retrieve() {#retrieve}
58
+
59
+ > **retrieve**\<`D`\>(`policy`, `accessMode`, `data?`, `action?`): `Promise`\<`IRightsManagementInformation` \| `undefined`\>
60
+
61
+ Retrieve information from the sources.
62
+
63
+ #### Type Parameters
64
+
65
+ ##### D
66
+
67
+ `D` = `unknown`
68
+
69
+ #### Parameters
70
+
71
+ ##### policy
72
+
73
+ `IRightsManagementPolicy` \| `undefined`
74
+
75
+ The policy to retrieve information for if available.
76
+
77
+ ##### accessMode
78
+
79
+ `PolicyInformationAccessMode`
80
+
81
+ The access mode to use for the retrieval.
82
+
83
+ ##### data?
84
+
85
+ `D`
86
+
87
+ The data to process.
88
+
89
+ ##### action?
90
+
91
+ `string`
92
+
93
+ The action to get any additional information for.
94
+
95
+ #### Returns
96
+
97
+ `Promise`\<`IRightsManagementInformation` \| `undefined`\>
98
+
99
+ The objects containing relevant information or undefined if nothing relevant is found.
100
+
101
+ #### Implementation of
102
+
103
+ `IPolicyInformationSource.retrieve`
104
+
105
+ ***
106
+
107
+ ### addInformation() {#addinformation}
108
+
109
+ > **addInformation**(`info`): `void`
110
+
111
+ Add static policy information.
112
+
113
+ #### Parameters
114
+
115
+ ##### info
116
+
117
+ [`IStaticPolicyInformationSource`](../interfaces/IStaticPolicyInformationSource.md)
118
+
119
+ The static policy information to add.
120
+
121
+ #### Returns
122
+
123
+ `void`
@@ -0,0 +1,38 @@
1
+ # @3sixty/rights-management-plugins
2
+
3
+ ## Classes
4
+
5
+ - [DefaultPolicyArbiter](classes/DefaultPolicyArbiter.md)
6
+ - [PassThroughPolicyArbiter](classes/PassThroughPolicyArbiter.md)
7
+ - [DefaultPolicyEnforcementProcessor](classes/DefaultPolicyEnforcementProcessor.md)
8
+ - [PassThroughPolicyEnforcementProcessor](classes/PassThroughPolicyEnforcementProcessor.md)
9
+ - [AutomationPolicyExecutionAction](classes/AutomationPolicyExecutionAction.md)
10
+ - [LoggingPolicyExecutionAction](classes/LoggingPolicyExecutionAction.md)
11
+ - [IdentityPolicyInformationSource](classes/IdentityPolicyInformationSource.md)
12
+ - [IdentityProfilePolicyInformationSource](classes/IdentityProfilePolicyInformationSource.md)
13
+ - [StaticPolicyInformationSource](classes/StaticPolicyInformationSource.md)
14
+ - [PassThroughPolicyNegotiator](classes/PassThroughPolicyNegotiator.md)
15
+ - [PassThroughPolicyObligationEnforcer](classes/PassThroughPolicyObligationEnforcer.md)
16
+ - [PassThroughPolicyRequester](classes/PassThroughPolicyRequester.md)
17
+
18
+ ## Interfaces
19
+
20
+ - [IAutomationPolicyExecutionActionConfig](interfaces/IAutomationPolicyExecutionActionConfig.md)
21
+ - [IAutomationPolicyExecutionActionConstructorOptions](interfaces/IAutomationPolicyExecutionActionConstructorOptions.md)
22
+ - [IDefaultPolicyArbiterConfig](interfaces/IDefaultPolicyArbiterConfig.md)
23
+ - [IDefaultPolicyArbiterConstructorOptions](interfaces/IDefaultPolicyArbiterConstructorOptions.md)
24
+ - [IDefaultPolicyEnforcementProcessorConfig](interfaces/IDefaultPolicyEnforcementProcessorConfig.md)
25
+ - [IDefaultPolicyEnforcementProcessorConstructorOptions](interfaces/IDefaultPolicyEnforcementProcessorConstructorOptions.md)
26
+ - [IIdentityPolicyInformationSourceConstructorOptions](interfaces/IIdentityPolicyInformationSourceConstructorOptions.md)
27
+ - [IIdentityProfilePolicyInformationSourceConstructorOptions](interfaces/IIdentityProfilePolicyInformationSourceConstructorOptions.md)
28
+ - [ILoggingPolicyExecutionActionConfig](interfaces/ILoggingPolicyExecutionActionConfig.md)
29
+ - [ILoggingPolicyExecutionActionConstructorOptions](interfaces/ILoggingPolicyExecutionActionConstructorOptions.md)
30
+ - [IPassThroughPolicyArbiterConstructorOptions](interfaces/IPassThroughPolicyArbiterConstructorOptions.md)
31
+ - [IPassThroughPolicyEnforcementProcessorConstructorOptions](interfaces/IPassThroughPolicyEnforcementProcessorConstructorOptions.md)
32
+ - [IPassThroughPolicyNegotiatorConfig](interfaces/IPassThroughPolicyNegotiatorConfig.md)
33
+ - [IPassThroughPolicyNegotiatorConstructorOptions](interfaces/IPassThroughPolicyNegotiatorConstructorOptions.md)
34
+ - [IPassThroughPolicyObligationEnforcerConstructorOptions](interfaces/IPassThroughPolicyObligationEnforcerConstructorOptions.md)
35
+ - [IPassThroughPolicyRequesterConstructorOptions](interfaces/IPassThroughPolicyRequesterConstructorOptions.md)
36
+ - [IStaticPolicyInformationSource](interfaces/IStaticPolicyInformationSource.md)
37
+ - [IStaticPolicyInformationSourceConfig](interfaces/IStaticPolicyInformationSourceConfig.md)
38
+ - [IStaticPolicyInformationSourceConstructorOptions](interfaces/IStaticPolicyInformationSourceConstructorOptions.md)
@@ -0,0 +1,11 @@
1
+ # Interface: IAutomationPolicyExecutionActionConfig
2
+
3
+ Options for the Automation Policy Execution Action Component.
4
+
5
+ ## Properties
6
+
7
+ ### triggerActions? {#triggeractions}
8
+
9
+ > `optional` **triggerActions?**: `string`[]
10
+
11
+ The policy decision stages to trigger the automation actions, if undefined defaults to "inform".
@@ -0,0 +1,25 @@
1
+ # Interface: IAutomationPolicyExecutionActionConstructorOptions
2
+
3
+ Options for the Automation Policy Execution Action.
4
+
5
+ ## Properties
6
+
7
+ ### automationComponentType? {#automationcomponenttype}
8
+
9
+ > `optional` **automationComponentType?**: `string`
10
+
11
+ The automation component for executing automation policies.
12
+
13
+ #### Default
14
+
15
+ ```ts
16
+ automation
17
+ ```
18
+
19
+ ***
20
+
21
+ ### config? {#config}
22
+
23
+ > `optional` **config?**: [`IAutomationPolicyExecutionActionConfig`](IAutomationPolicyExecutionActionConfig.md)
24
+
25
+ The configuration for the automation policy execution.
@@ -0,0 +1,17 @@
1
+ # Interface: IDefaultPolicyArbiterConfig
2
+
3
+ Configuration for the Default Policy Arbiter.
4
+
5
+ ## Properties
6
+
7
+ ### maxInheritanceDepth? {#maxinheritancedepth}
8
+
9
+ > `optional` **maxInheritanceDepth?**: `number`
10
+
11
+ The maximum depth to traverse when resolving inherited policies.
12
+
13
+ #### Default
14
+
15
+ ```ts
16
+ 10
17
+ ```
@@ -0,0 +1,33 @@
1
+ # Interface: IDefaultPolicyArbiterConstructorOptions
2
+
3
+ Options for the Default Policy Arbiter.
4
+
5
+ ## Properties
6
+
7
+ ### loggingComponentType? {#loggingcomponenttype}
8
+
9
+ > `optional` **loggingComponentType?**: `string`
10
+
11
+ The logging component for policy arbiter.
12
+
13
+ ***
14
+
15
+ ### policyAdministrationPointComponentType? {#policyadministrationpointcomponenttype}
16
+
17
+ > `optional` **policyAdministrationPointComponentType?**: `string`
18
+
19
+ The policy administration point component for retrieving inherited policies.
20
+
21
+ #### Default
22
+
23
+ ```ts
24
+ policy-administration-point
25
+ ```
26
+
27
+ ***
28
+
29
+ ### config? {#config}
30
+
31
+ > `optional` **config?**: [`IDefaultPolicyArbiterConfig`](IDefaultPolicyArbiterConfig.md)
32
+
33
+ The configuration options for the default policy arbiter.
@@ -0,0 +1,13 @@
1
+ # Interface: IDefaultPolicyEnforcementProcessorConfig
2
+
3
+ Configuration for the Default Policy Enforcement Processor.
4
+
5
+ ## Properties
6
+
7
+ ### structuralKeys? {#structuralkeys}
8
+
9
+ > `optional` **structuralKeys?**: `string`[]
10
+
11
+ Top-level keys that are treated as document-structural fields and are
12
+ passed through unconditionally, regardless of policy decisions.
13
+ Defaults to the standard JSON-LD envelope keys: @context, @type, @id, type, id.
@@ -0,0 +1,19 @@
1
+ # Interface: IDefaultPolicyEnforcementProcessorConstructorOptions
2
+
3
+ Options for the Default Policy Enforcement Processor.
4
+
5
+ ## Properties
6
+
7
+ ### loggingComponentType? {#loggingcomponenttype}
8
+
9
+ > `optional` **loggingComponentType?**: `string`
10
+
11
+ The logging component for policy enforcement processor.
12
+
13
+ ***
14
+
15
+ ### config? {#config}
16
+
17
+ > `optional` **config?**: [`IDefaultPolicyEnforcementProcessorConfig`](IDefaultPolicyEnforcementProcessorConfig.md)
18
+
19
+ The configuration options for the default policy enforcement processor.
@@ -0,0 +1,25 @@
1
+ # Interface: IIdentityPolicyInformationSourceConstructorOptions
2
+
3
+ Options for the Identity Policy Information Source Component.
4
+
5
+ ## Properties
6
+
7
+ ### loggingComponentType? {#loggingcomponenttype}
8
+
9
+ > `optional` **loggingComponentType?**: `string`
10
+
11
+ The logging component for logging policy source.
12
+
13
+ ***
14
+
15
+ ### identityResolverComponentType? {#identityresolvercomponenttype}
16
+
17
+ > `optional` **identityResolverComponentType?**: `string`
18
+
19
+ The component for resolving identities.
20
+
21
+ #### Default
22
+
23
+ ```ts
24
+ identity-resolver
25
+ ```
@@ -0,0 +1,25 @@
1
+ # Interface: IIdentityProfilePolicyInformationSourceConstructorOptions
2
+
3
+ Options for the Identity Profile Policy Information Source Component.
4
+
5
+ ## Properties
6
+
7
+ ### loggingComponentType? {#loggingcomponenttype}
8
+
9
+ > `optional` **loggingComponentType?**: `string`
10
+
11
+ The logging component for logging policy source.
12
+
13
+ ***
14
+
15
+ ### identityProfileComponentType? {#identityprofilecomponenttype}
16
+
17
+ > `optional` **identityProfileComponentType?**: `string`
18
+
19
+ The component for retrieving identity profiles.
20
+
21
+ #### Default
22
+
23
+ ```ts
24
+ identity-profile
25
+ ```
@@ -0,0 +1,53 @@
1
+ # Interface: ILoggingPolicyExecutionActionConfig
2
+
3
+ Options for the Logging Policy Execution Action Component.
4
+
5
+ ## Properties
6
+
7
+ ### stages? {#stages}
8
+
9
+ > `optional` **stages?**: `PolicyDecisionStage`[]
10
+
11
+ The policy decision stages to log, if undefined defaults to all.
12
+
13
+ ***
14
+
15
+ ### includeData? {#includedata}
16
+
17
+ > `optional` **includeData?**: `boolean`
18
+
19
+ Whether to include the data in the log.
20
+
21
+ #### Default
22
+
23
+ ```ts
24
+ false
25
+ ```
26
+
27
+ ***
28
+
29
+ ### includePolicy? {#includepolicy}
30
+
31
+ > `optional` **includePolicy?**: `boolean`
32
+
33
+ Whether to include the policy in the log.
34
+
35
+ #### Default
36
+
37
+ ```ts
38
+ false
39
+ ```
40
+
41
+ ***
42
+
43
+ ### includeDecisions? {#includedecisions}
44
+
45
+ > `optional` **includeDecisions?**: `boolean`
46
+
47
+ Whether to include the decisions in the log.
48
+
49
+ #### Default
50
+
51
+ ```ts
52
+ false
53
+ ```
@@ -0,0 +1,19 @@
1
+ # Interface: ILoggingPolicyExecutionActionConstructorOptions
2
+
3
+ Options for the Logging Policy Execution Action.
4
+
5
+ ## Properties
6
+
7
+ ### loggingComponentType? {#loggingcomponenttype}
8
+
9
+ > `optional` **loggingComponentType?**: `string`
10
+
11
+ The logging component for logging policy execution.
12
+
13
+ ***
14
+
15
+ ### config? {#config}
16
+
17
+ > `optional` **config?**: [`ILoggingPolicyExecutionActionConfig`](ILoggingPolicyExecutionActionConfig.md)
18
+
19
+ The configuration for the logging policy execution.
@@ -0,0 +1,11 @@
1
+ # Interface: IPassThroughPolicyArbiterConstructorOptions
2
+
3
+ Options for the Pass Through Policy Arbiter.
4
+
5
+ ## Properties
6
+
7
+ ### loggingComponentType? {#loggingcomponenttype}
8
+
9
+ > `optional` **loggingComponentType?**: `string`
10
+
11
+ The logging component for policy arbiter.