@zuplo/runtime 5.1597.0 → 5.1599.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 (2) hide show
  1. package/index.d.ts +16 -0
  2. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -818,6 +818,22 @@ export declare class CryptoBeta extends BaseCryptoBeta {
818
818
  digest(algorithm: string, data: string): Promise<string>;
819
819
  }
820
820
 
821
+ /**
822
+ * Authenticate users using the Curity Phantom Token Pattern Pattern.
823
+ *
824
+ * @remarks
825
+ * Authenticate requests with Phantom Token issued by Curity. The payload of the
826
+ * Phantom JWT token, if successfully authenticated, with be on the
827
+ * `request.user.data` object accessible to the runtime.
828
+ *
829
+ * @title Curity Phantom Token Auth
830
+ * @public
831
+ * @param request - The ZuploRequest
832
+ * @param context - The ZuploContext
833
+ * @param options - The policy options set in policies.json
834
+ * @param policyName - The name of the policy as set in policies.json
835
+ * @returns A Request or a Response
836
+ */
821
837
  export declare const CurityPhantomTokenInboundPolicy: InboundPolicyHandler<CurityPhantomTokenInboundPolicyOptions>;
822
838
 
823
839
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zuplo/runtime",
3
- "version": "5.1597.0",
3
+ "version": "5.1599.0",
4
4
  "repository": "https://github.com/zuplo/zuplo",
5
5
  "author": "Zuplo, Inc.",
6
6
  "exports": {