@zuplo/runtime 6.70.23 → 6.70.25

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.
@@ -6106,16 +6106,24 @@ export declare const MTLSAuthInboundPolicy: InboundPolicyHandler<MTLSAuthInbound
6106
6106
  * The options for this policy.
6107
6107
  * @public
6108
6108
  */
6109
- export declare interface MTLSAuthInboundPolicyOptions {
6109
+ export declare type MTLSAuthInboundPolicyOptions = (
6110
+ | {
6111
+ [k: string]: unknown;
6112
+ }
6113
+ | {
6114
+ allowUnauthenticatedRequests: true;
6115
+ [k: string]: unknown;
6116
+ }
6117
+ ) & {
6110
6118
  /**
6111
6119
  * Allows requests to continue even when mTLS verification fails, no client certificate is presented, or the certificate metadata cannot be parsed. Defaults to false.
6112
6120
  */
6113
6121
  allowUnauthenticatedRequests?: boolean;
6114
6122
  /**
6115
- * Optional fully qualified issuer distinguished name to require on the client certificate. When set, the policy rejects certificates whose parsed issuer DN does not match this string exactly. The expected format matches the parsed metadata issuer, e.g. "CN=example-ca, O=Example, C=US".
6123
+ * Fully qualified issuer distinguished name to require on the client certificate. The policy rejects certificates whose parsed issuer DN does not match this string exactly. Required unless `allowUnauthenticatedRequests` is `true`. The expected format matches the parsed metadata issuer, e.g. "CN=example-ca, O=Example, C=US".
6116
6124
  */
6117
6125
  certIssuerDN?: string;
6118
- }
6126
+ };
6119
6127
 
6120
6128
  /**
6121
6129
  * Parsed client certificate metadata attached by the mTLS auth policy.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@zuplo/runtime",
3
3
  "type": "module",
4
- "version": "6.70.23",
4
+ "version": "6.70.25",
5
5
  "repository": "https://github.com/zuplo/zuplo",
6
6
  "author": "Zuplo, Inc.",
7
7
  "exports": {