apigee-templater-module
Advanced tools
Comparing version 0.4.18 to 0.4.19
@@ -12,3 +12,3 @@ "use strict"; | ||
this.apikey_snippet = `<?xml version="1.0" encoding="UTF-8" standalone="yes"?> | ||
<VerifyAPIKey async="false" continueOnError="false" enabled="true" name="verify-api-key"> | ||
<VerifyAPIKey async="false" continueOnError="false" enabled="true" name="VerifyApiKey"> | ||
<DisplayName>Verify API Key</DisplayName> | ||
@@ -18,3 +18,3 @@ <APIKey ref="request.queryparam.apikey"/> | ||
this.removekey_snippet = `<?xml version="1.0" encoding="UTF-8" standalone="yes"?> | ||
<AssignMessage async="false" continueOnError="false" enabled="true" name="remove-query-param-apikey"> | ||
<AssignMessage async="false" continueOnError="false" enabled="true" name="RemoveApiKey"> | ||
<DisplayName>Remove Query Param apikey</DisplayName> | ||
@@ -39,12 +39,12 @@ <Remove> | ||
{ | ||
path: "/policies/verify-api-key.xml", | ||
path: "/policies/VerifyApiKey.xml", | ||
contents: this.apikey_template({}) | ||
}, | ||
{ | ||
path: "/policies/remove-query-param-apikey.xml", | ||
path: "/policies/RemoveApiKey.xml", | ||
contents: this.removekey_template({}) | ||
} | ||
]; | ||
processingVars["preflow_request_policies"].push({ name: "verify-api-key" }); | ||
processingVars["preflow_request_policies"].push({ name: "remove-query-param-apikey" }); | ||
processingVars["preflow_request_policies"].push({ name: "VerifyApiKey" }); | ||
processingVars["preflow_request_policies"].push({ name: "RemoveApiKey" }); | ||
} | ||
@@ -51,0 +51,0 @@ resolve(fileResult); |
@@ -41,3 +41,3 @@ "use strict"; | ||
{ | ||
path: "/policies/remove-query-param-apikey.xml", | ||
path: "/policies/VerifyJWT.xml", | ||
contents: this.template({ | ||
@@ -44,0 +44,0 @@ audience: authConfig.parameters["audience"], |
{ | ||
"name": "apigee-templater-module", | ||
"version": "0.4.18", | ||
"version": "0.4.19", | ||
"description": "This library provides templating services for Apigee X proxies.", | ||
@@ -5,0 +5,0 @@ "homepage": "https://github.com/tyayers/apigee-templater", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
51314