@zuplo/runtime 5.2506.0 → 5.2508.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.
@@ -178,7 +178,6 @@ declare interface APITokenCredentialConfig {
178
178
  export declare class AsertoAuthZInboundPolicy extends InboundPolicy<AsertoAuthZInboundPolicyOptions> {
179
179
  private cache;
180
180
  private authorizationUrl;
181
- private serviceName;
182
181
  /**
183
182
  * Set the authorization context for the current request.
184
183
  *
@@ -217,11 +216,14 @@ export declare interface AsertoAuthZInboundPolicyOptions {
217
216
  * The Aserto Authorizer API URL.
218
217
  */
219
218
  authorizerApiUrl?: string;
220
- policyInstance?: PolicyInstance;
219
+ /**
220
+ * The policy instance name.
221
+ */
222
+ policyName?: string;
221
223
  /**
222
224
  * Canonicalized service name.
223
225
  */
224
- serviceName?: string;
226
+ serviceName: string;
225
227
  }
226
228
 
227
229
  /**
@@ -703,7 +705,7 @@ declare interface BatchDispatcherOptions {
703
705
  }
704
706
 
705
707
  /**
706
- * Authenticate requests based on the mTLS protocol.
708
+ * The brownout policy allows performing scheduled downtime on your API
707
709
  *
708
710
  * @title Brown Out
709
711
  * @public
@@ -1106,7 +1108,7 @@ export declare interface ComplexRateLimitInboundPolicyOptions {
1106
1108
  }
1107
1109
 
1108
1110
  /**
1109
- * Creates a composite, or group policy - composed of other policies. For reuse across routes.
1111
+ * Creates a composite, or group policy - composed of other inbound policies. For reuse across routes.
1110
1112
  *
1111
1113
  * @title Composite Inbound (Group Policies)
1112
1114
  * @public
@@ -1129,7 +1131,7 @@ export declare interface CompositeInboundPolicyOptions {
1129
1131
  }
1130
1132
 
1131
1133
  /**
1132
- * Creates a composite, or group policy - composed of other policies. For reuse across routes.
1134
+ * Creates a composite, or group policy - composed of other outbound policies. For reuse across routes.
1133
1135
  *
1134
1136
  * @title Composite Outbound (Group Policies)
1135
1137
  * @public
@@ -3839,6 +3841,10 @@ declare interface OpenIdJwtInboundPolicyInternalOptions extends Omit<OpenIdJwtIn
3839
3841
  * The options for this policy.
3840
3842
  */
3841
3843
  export declare interface OpenIdJwtInboundPolicyOptions {
3844
+ /**
3845
+ * The name of the header with the key.
3846
+ */
3847
+ authHeader?: string;
3842
3848
  /**
3843
3849
  * The expected issuer claim in the JWT token.
3844
3850
  */
@@ -3963,19 +3969,16 @@ declare interface PolicyContext {
3963
3969
  path: string;
3964
3970
  }
3965
3971
 
3966
- /**
3967
- * This parameter identifies the policy instance created in the Aserto Console.
3968
- * @see {@link https://docs.aserto.com/docs/authorizer-guide/policy-instance|Policy Instance}.
3969
- */
3970
3972
  declare interface PolicyInstance {
3971
3973
  /**
3972
- * The policy instance name.
3974
+ * The policy instance name
3973
3975
  */
3974
3976
  name: string;
3975
3977
  /**
3976
- * the specific instance.
3978
+ * The policy instance label
3979
+ * @deprecated - This field is no longer required by Aserto
3977
3980
  */
3978
- instanceLabel: string;
3981
+ instanceLabel?: string;
3979
3982
  }
3980
3983
 
3981
3984
  declare type Primitive = null | undefined | string | number | boolean | symbol | bigint;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@zuplo/runtime",
3
3
  "type": "module",
4
- "version": "5.2506.0",
4
+ "version": "5.2508.0",
5
5
  "repository": "https://github.com/zuplo/zuplo",
6
6
  "author": "Zuplo, Inc.",
7
7
  "exports": {