@naylence/runtime 0.4.1 → 0.4.3

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.
@@ -1,4 +1,10 @@
1
1
  import type { InitialIdentityContext, NodeIdentityPolicy, NodeIdentityPolicyContext } from './node-identity-policy.js';
2
+ /**
3
+ * Default node identity policy that preserves the current node ID.
4
+ *
5
+ * This policy does NOT derive identity from tokens or grants.
6
+ * For token-subject-based identity, use TokenSubjectNodeIdentityPolicy.
7
+ */
2
8
  export declare class DefaultNodeIdentityPolicy implements NodeIdentityPolicy {
3
9
  resolveInitialNodeId(context: InitialIdentityContext): Promise<string>;
4
10
  resolveAdmissionNodeId(context: NodeIdentityPolicyContext): Promise<string>;
@@ -8,6 +8,7 @@ export declare const PROFILE_NAME_DEFAULT = "jwt";
8
8
  export declare const PROFILE_NAME_OAUTH2 = "oauth2";
9
9
  export declare const PROFILE_NAME_OAUTH2_GATED = "oauth2-gated";
10
10
  export declare const PROFILE_NAME_OAUTH2_CALLBACK = "oauth2-callback";
11
+ export declare const PROFILE_NAME_POLICY_LOCALFILE = "policy-localfile";
11
12
  export declare const PROFILE_NAME_NOOP = "noop";
12
13
  export declare const ENV_VAR_JWT_TRUSTED_ISSUER = "FAME_JWT_TRUSTED_ISSUER";
13
14
  export declare const ENV_VAR_JWT_ALGORITHM = "FAME_JWT_ALGORITHM";
@@ -15,6 +16,8 @@ export declare const ENV_VAR_JWT_AUDIENCE = "FAME_JWT_AUDIENCE";
15
16
  export declare const ENV_VAR_JWKS_URL = "FAME_JWKS_URL";
16
17
  export declare const ENV_VAR_ENFORCE_TOKEN_SUBJECT_NODE_IDENTITY = "FAME_ENFORCE_TOKEN_SUBJECT_NODE_IDENTITY";
17
18
  export declare const ENV_VAR_TRUSTED_CLIENT_SCOPE = "FAME_TRUSTED_CLIENT_SCOPE";
19
+ export declare const ENV_VAR_AUTH_POLICY_PATH = "FAME_AUTH_POLICY_PATH";
20
+ export declare const ENV_VAR_AUTH_POLICY_FORMAT = "FAME_AUTH_POLICY_FORMAT";
18
21
  export declare const ENV_VAR_JWT_REVERSE_AUTH_TRUSTED_ISSUER = "FAME_JWT_REVERSE_AUTH_TRUSTED_ISSUER";
19
22
  export declare const ENV_VAR_JWT_REVERSE_AUTH_AUDIENCE = "FAME_JWT_REVERSE_AUTH_AUDIENCE";
20
23
  export declare const ENV_VAR_HMAC_SECRET = "FAME_HMAC_SECRET";
@@ -2,4 +2,4 @@
2
2
  * The package version, injected at build time.
3
3
  * @internal
4
4
  */
5
- export declare const VERSION = "0.4.1";
5
+ export declare const VERSION = "0.4.3";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@naylence/runtime",
3
- "version": "0.4.1",
3
+ "version": "0.4.3",
4
4
  "type": "module",
5
5
  "description": "Naylence Runtime - Complete TypeScript runtime",
6
6
  "author": "Naylence Dev <naylencedev@gmail.com>",