oci-apigateway 2.48.1 → 2.50.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.
- package/lib/client.d.ts +50 -50
- package/lib/client.js +50 -50
- package/lib/model/additional-validation-policy.d.ts +37 -0
- package/lib/model/additional-validation-policy.js +64 -0
- package/lib/model/additional-validation-policy.js.map +1 -0
- package/lib/model/any-of-selection-key.d.ts +2 -2
- package/lib/model/api-specification-request-policies.d.ts +1 -1
- package/lib/model/api-specification-request-policies.js.map +1 -1
- package/lib/model/api-specification-route-backend.js +4 -0
- package/lib/model/api-specification-route-backend.js.map +1 -1
- package/lib/model/api-specification-route.d.ts +1 -1
- package/lib/model/api-specification-route.js.map +1 -1
- package/lib/model/authentication-policy.js +4 -0
- package/lib/model/authentication-policy.js.map +1 -1
- package/lib/model/authentication-server-policy.d.ts +2 -2
- package/lib/model/authentication-server-policy.js.map +1 -1
- package/lib/model/client-app-details.d.ts +25 -0
- package/lib/model/client-app-details.js +75 -0
- package/lib/model/client-app-details.js.map +1 -0
- package/lib/model/custom-authentication-policy.d.ts +1 -1
- package/lib/model/custom-authentication-policy.js.map +1 -1
- package/lib/model/custom-client-app-details.d.ts +41 -0
- package/lib/model/custom-client-app-details.js +57 -0
- package/lib/model/custom-client-app-details.js.map +1 -0
- package/lib/model/discovery-uri-source-uri-details.d.ts +32 -0
- package/lib/model/discovery-uri-source-uri-details.js +57 -0
- package/lib/model/discovery-uri-source-uri-details.js.map +1 -0
- package/lib/model/dynamic-authentication-policy.d.ts +1 -1
- package/lib/model/dynamic-routing-backend.d.ts +1 -1
- package/lib/model/dynamic-routing-type-routing-backend.d.ts +2 -2
- package/lib/model/dynamic-routing-type-routing-backend.js.map +1 -1
- package/lib/model/dynamic-selection-key.d.ts +2 -2
- package/lib/model/index.d.ts +28 -0
- package/lib/model/index.js +32 -3
- package/lib/model/index.js.map +1 -1
- package/lib/model/jwt-authentication-policy.d.ts +6 -6
- package/lib/model/jwt-authentication-policy.js.map +1 -1
- package/lib/model/o-auth2-logout-backend.d.ts +34 -0
- package/lib/model/o-auth2-logout-backend.js +57 -0
- package/lib/model/o-auth2-logout-backend.js.map +1 -0
- package/lib/model/o-auth2-response-validation-failure-policy.d.ts +75 -0
- package/lib/model/o-auth2-response-validation-failure-policy.js +80 -0
- package/lib/model/o-auth2-response-validation-failure-policy.js.map +1 -0
- package/lib/model/selection-source-policy.d.ts +1 -1
- package/lib/model/single-selection-source-policy.d.ts +1 -1
- package/lib/model/source-uri-details.d.ts +25 -0
- package/lib/model/source-uri-details.js +75 -0
- package/lib/model/source-uri-details.js.map +1 -0
- package/lib/model/token-authentication-policy.d.ts +51 -0
- package/lib/model/token-authentication-policy.js +71 -0
- package/lib/model/token-authentication-policy.js.map +1 -0
- package/lib/model/token-authentication-remote-discovery-validation-policy.d.ts +42 -0
- package/lib/model/token-authentication-remote-discovery-validation-policy.js +71 -0
- package/lib/model/token-authentication-remote-discovery-validation-policy.js.map +1 -0
- package/lib/model/token-authentication-remote-jw-ks-validation-policy.d.ts +47 -0
- package/lib/model/token-authentication-remote-jw-ks-validation-policy.js +57 -0
- package/lib/model/token-authentication-remote-jw-ks-validation-policy.js.map +1 -0
- package/lib/model/token-authentication-static-keys-validation-policy.d.ts +31 -0
- package/lib/model/token-authentication-static-keys-validation-policy.js +69 -0
- package/lib/model/token-authentication-static-keys-validation-policy.js.map +1 -0
- package/lib/model/token-authentication-validation-policy.d.ts +27 -0
- package/lib/model/token-authentication-validation-policy.js +87 -0
- package/lib/model/token-authentication-validation-policy.js.map +1 -0
- package/lib/model/validation-block-client-app-details.d.ts +28 -0
- package/lib/model/validation-block-client-app-details.js +57 -0
- package/lib/model/validation-block-client-app-details.js.map +1 -0
- package/lib/model/validation-block-source-uri-details.d.ts +28 -0
- package/lib/model/validation-block-source-uri-details.js +57 -0
- package/lib/model/validation-block-source-uri-details.js.map +1 -0
- package/lib/model/validation-failure-policy.js +4 -0
- package/lib/model/validation-failure-policy.js.map +1 -1
- package/lib/model/wildcard-selection-key.d.ts +2 -2
- package/lib/request/cancel-work-request-request.d.ts +1 -1
- package/lib/request/change-api-compartment-request.d.ts +1 -1
- package/lib/request/change-certificate-compartment-request.d.ts +1 -1
- package/lib/request/change-deployment-compartment-request.d.ts +1 -1
- package/lib/request/change-gateway-compartment-request.d.ts +1 -1
- package/lib/request/change-subscriber-compartment-request.d.ts +1 -1
- package/lib/request/change-usage-plan-compartment-request.d.ts +1 -1
- package/lib/request/create-api-request.d.ts +1 -1
- package/lib/request/create-certificate-request.d.ts +1 -1
- package/lib/request/create-deployment-request.d.ts +1 -1
- package/lib/request/create-gateway-request.d.ts +1 -1
- package/lib/request/create-sdk-request.d.ts +1 -1
- package/lib/request/create-subscriber-request.d.ts +1 -1
- package/lib/request/create-usage-plan-request.d.ts +1 -1
- package/lib/request/delete-api-request.d.ts +1 -1
- package/lib/request/delete-certificate-request.d.ts +1 -1
- package/lib/request/delete-deployment-request.d.ts +1 -1
- package/lib/request/delete-gateway-request.d.ts +1 -1
- package/lib/request/delete-sdk-request.d.ts +1 -1
- package/lib/request/delete-subscriber-request.d.ts +1 -1
- package/lib/request/delete-usage-plan-request.d.ts +1 -1
- package/lib/request/get-api-content-request.d.ts +1 -1
- package/lib/request/get-api-deployment-specification-request.d.ts +1 -1
- package/lib/request/get-api-request.d.ts +1 -1
- package/lib/request/get-api-validations-request.d.ts +1 -1
- package/lib/request/get-certificate-request.d.ts +1 -1
- package/lib/request/get-deployment-request.d.ts +1 -1
- package/lib/request/get-gateway-request.d.ts +1 -1
- package/lib/request/get-sdk-request.d.ts +1 -1
- package/lib/request/get-subscriber-request.d.ts +1 -1
- package/lib/request/get-usage-plan-request.d.ts +1 -1
- package/lib/request/get-work-request-request.d.ts +1 -1
- package/lib/request/list-apis-request.d.ts +1 -1
- package/lib/request/list-certificates-request.d.ts +1 -1
- package/lib/request/list-deployments-request.d.ts +1 -1
- package/lib/request/list-gateways-request.d.ts +1 -1
- package/lib/request/list-sdk-language-types-request.d.ts +1 -1
- package/lib/request/list-sdks-request.d.ts +1 -1
- package/lib/request/list-subscribers-request.d.ts +1 -1
- package/lib/request/list-usage-plans-request.d.ts +1 -1
- package/lib/request/list-work-request-errors-request.d.ts +1 -1
- package/lib/request/list-work-request-logs-request.d.ts +1 -1
- package/lib/request/list-work-requests-request.d.ts +1 -1
- package/lib/request/update-api-request.d.ts +1 -1
- package/lib/request/update-certificate-request.d.ts +1 -1
- package/lib/request/update-deployment-request.d.ts +1 -1
- package/lib/request/update-gateway-request.d.ts +1 -1
- package/lib/request/update-sdk-request.d.ts +1 -1
- package/lib/request/update-subscriber-request.d.ts +1 -1
- package/lib/request/update-usage-plan-request.d.ts +1 -1
- package/package.json +3 -3
|
@@ -33,7 +33,7 @@ export interface ApiSpecificationRoute {
|
|
|
33
33
|
"requestPolicies"?: model.ApiSpecificationRouteRequestPolicies;
|
|
34
34
|
"responsePolicies"?: model.ApiSpecificationRouteResponsePolicies;
|
|
35
35
|
"loggingPolicies"?: model.ApiSpecificationLoggingPolicies;
|
|
36
|
-
"backend": model.HTTPBackend | model.OracleFunctionBackend | model.StockResponseBackend | model.DynamicRoutingBackend;
|
|
36
|
+
"backend": model.OAuth2LogoutBackend | model.HTTPBackend | model.OracleFunctionBackend | model.StockResponseBackend | model.DynamicRoutingBackend;
|
|
37
37
|
}
|
|
38
38
|
export declare namespace ApiSpecificationRoute {
|
|
39
39
|
enum Methods {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"api-specification-route.js","sourceRoot":"","sources":["../../../../../lib/apigateway/lib/model/api-specification-route.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;
|
|
1
|
+
{"version":3,"file":"api-specification-route.js","sourceRoot":"","sources":["../../../../../lib/apigateway/lib/model/api-specification-route.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AA8BlC,IAAiB,qBAAqB,CA2DrC;AA3DD,WAAiB,qBAAqB;IACpC,IAAY,OAcX;IAdD,WAAY,OAAO;QACjB,sBAAW,CAAA;QACX,wBAAa,CAAA;QACb,sBAAW,CAAA;QACX,wBAAa,CAAA;QACb,sBAAW,CAAA;QACX,0BAAe,CAAA;QACf,4BAAiB,CAAA;QACjB,8BAAmB,CAAA;QACnB;;;WAGG;QACH,yCAA8B,CAAA;IAChC,CAAC,EAdW,OAAO,GAAP,6BAAO,KAAP,6BAAO,QAclB;IAED,SAAgB,UAAU,CAAC,GAA0B;QACnD,MAAM,OAAO,mCACR,GAAG,GACH;YACD,iBAAiB,EAAE,GAAG,CAAC,eAAe;gBACpC,CAAC,CAAC,KAAK,CAAC,oCAAoC,CAAC,UAAU,CAAC,GAAG,CAAC,eAAe,CAAC;gBAC5E,CAAC,CAAC,SAAS;YACb,kBAAkB,EAAE,GAAG,CAAC,gBAAgB;gBACtC,CAAC,CAAC,KAAK,CAAC,qCAAqC,CAAC,UAAU,CAAC,GAAG,CAAC,gBAAgB,CAAC;gBAC9E,CAAC,CAAC,SAAS;YACb,iBAAiB,EAAE,GAAG,CAAC,eAAe;gBACpC,CAAC,CAAC,KAAK,CAAC,+BAA+B,CAAC,UAAU,CAAC,GAAG,CAAC,eAAe,CAAC;gBACvE,CAAC,CAAC,SAAS;YACb,SAAS,EAAE,GAAG,CAAC,OAAO;gBACpB,CAAC,CAAC,KAAK,CAAC,4BAA4B,CAAC,UAAU,CAAC,GAAG,CAAC,OAAO,CAAC;gBAC5D,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IApBe,gCAAU,aAoBzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAA0B;QAC/D,MAAM,OAAO,mCACR,GAAG,GACH;YACD,iBAAiB,EAAE,GAAG,CAAC,eAAe;gBACpC,CAAC,CAAC,KAAK,CAAC,oCAAoC,CAAC,sBAAsB,CAAC,GAAG,CAAC,eAAe,CAAC;gBACxF,CAAC,CAAC,SAAS;YACb,kBAAkB,EAAE,GAAG,CAAC,gBAAgB;gBACtC,CAAC,CAAC,KAAK,CAAC,qCAAqC,CAAC,sBAAsB,CAAC,GAAG,CAAC,gBAAgB,CAAC;gBAC1F,CAAC,CAAC,SAAS;YACb,iBAAiB,EAAE,GAAG,CAAC,eAAe;gBACpC,CAAC,CAAC,KAAK,CAAC,+BAA+B,CAAC,sBAAsB,CAAC,GAAG,CAAC,eAAe,CAAC;gBACnF,CAAC,CAAC,SAAS;YACb,SAAS,EAAE,GAAG,CAAC,OAAO;gBACpB,CAAC,CAAC,KAAK,CAAC,4BAA4B,CAAC,sBAAsB,CAAC,GAAG,CAAC,OAAO,CAAC;gBACxE,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IApBe,4CAAsB,yBAoBrC,CAAA;AACH,CAAC,EA3DgB,qBAAqB,GAArB,6BAAqB,KAArB,6BAAqB,QA2DrC"}
|
|
@@ -43,6 +43,8 @@ var AuthenticationPolicy;
|
|
|
43
43
|
const jsonObj = Object.assign(Object.assign({}, obj), {});
|
|
44
44
|
if (obj && "type" in obj && obj.type) {
|
|
45
45
|
switch (obj.type) {
|
|
46
|
+
case "TOKEN_AUTHENTICATION":
|
|
47
|
+
return model.TokenAuthenticationPolicy.getJsonObj(jsonObj, true);
|
|
46
48
|
case "JWT_AUTHENTICATION":
|
|
47
49
|
return model.JwtAuthenticationPolicy.getJsonObj(jsonObj, true);
|
|
48
50
|
case "CUSTOM_AUTHENTICATION":
|
|
@@ -59,6 +61,8 @@ var AuthenticationPolicy;
|
|
|
59
61
|
const jsonObj = Object.assign(Object.assign({}, obj), {});
|
|
60
62
|
if (obj && "type" in obj && obj.type) {
|
|
61
63
|
switch (obj.type) {
|
|
64
|
+
case "TOKEN_AUTHENTICATION":
|
|
65
|
+
return model.TokenAuthenticationPolicy.getDeserializedJsonObj(jsonObj, true);
|
|
62
66
|
case "JWT_AUTHENTICATION":
|
|
63
67
|
return model.JwtAuthenticationPolicy.getDeserializedJsonObj(jsonObj, true);
|
|
64
68
|
case "CUSTOM_AUTHENTICATION":
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"authentication-policy.js","sourceRoot":"","sources":["../../../../../lib/apigateway/lib/model/authentication-policy.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAClC,qCAAsC;AAgBtC,IAAiB,oBAAoB,
|
|
1
|
+
{"version":3,"file":"authentication-policy.js","sourceRoot":"","sources":["../../../../../lib/apigateway/lib/model/authentication-policy.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAClC,qCAAsC;AAgBtC,IAAiB,oBAAoB,CAqDpC;AArDD,WAAiB,oBAAoB;IACnC,SAAgB,UAAU,CAAC,GAAyB;QAClD,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,IAAI,GAAG,IAAI,MAAM,IAAI,GAAG,IAAI,GAAG,CAAC,IAAI,EAAE;YACpC,QAAQ,GAAG,CAAC,IAAI,EAAE;gBAChB,KAAK,sBAAsB;oBACzB,OAAO,KAAK,CAAC,yBAAyB,CAAC,UAAU,CACL,OAAQ,EAClD,IAAI,CACL,CAAC;gBACJ,KAAK,oBAAoB;oBACvB,OAAO,KAAK,CAAC,uBAAuB,CAAC,UAAU,CACL,OAAQ,EAChD,IAAI,CACL,CAAC;gBACJ,KAAK,uBAAuB;oBAC1B,OAAO,KAAK,CAAC,0BAA0B,CAAC,UAAU,CACL,OAAQ,EACnD,IAAI,CACL,CAAC;gBACJ;oBACE,IAAI,MAAM,CAAC,GAAG,CAAC,MAAM;wBAAE,MAAM,CAAC,GAAG,CAAC,MAAM,CAAC,IAAI,CAAC,sBAAsB,GAAG,CAAC,IAAI,EAAE,CAAC,CAAC;aACnF;SACF;QACD,OAAO,OAAO,CAAC;IACjB,CAAC;IAzBe,+BAAU,aAyBzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAyB;QAC9D,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,IAAI,GAAG,IAAI,MAAM,IAAI,GAAG,IAAI,GAAG,CAAC,IAAI,EAAE;YACpC,QAAQ,GAAG,CAAC,IAAI,EAAE;gBAChB,KAAK,sBAAsB;oBACzB,OAAO,KAAK,CAAC,yBAAyB,CAAC,sBAAsB,CACjB,OAAQ,EAClD,IAAI,CACL,CAAC;gBACJ,KAAK,oBAAoB;oBACvB,OAAO,KAAK,CAAC,uBAAuB,CAAC,sBAAsB,CACjB,OAAQ,EAChD,IAAI,CACL,CAAC;gBACJ,KAAK,uBAAuB;oBAC1B,OAAO,KAAK,CAAC,0BAA0B,CAAC,sBAAsB,CACjB,OAAQ,EACnD,IAAI,CACL,CAAC;gBACJ;oBACE,IAAI,MAAM,CAAC,GAAG,CAAC,MAAM;wBAAE,MAAM,CAAC,GAAG,CAAC,MAAM,CAAC,IAAI,CAAC,sBAAsB,GAAG,CAAC,IAAI,EAAE,CAAC,CAAC;aACnF;SACF;QACD,OAAO,OAAO,CAAC;IACjB,CAAC;IAzBe,2CAAsB,yBAyBrC,CAAA;AACH,CAAC,EArDgB,oBAAoB,GAApB,4BAAoB,KAApB,4BAAoB,QAqDpC"}
|
|
@@ -15,11 +15,11 @@ For more information, see
|
|
|
15
15
|
*/
|
|
16
16
|
import * as model from "../model";
|
|
17
17
|
/**
|
|
18
|
-
*
|
|
18
|
+
* Policy for the details regarding each authentication server under dynamic authentication. We specify the value of selectors for which this authentication server must be selected for a request under keys. We specify the configuration details of authentication server under authenticationServerDetail.
|
|
19
19
|
*/
|
|
20
20
|
export interface AuthenticationServerPolicy {
|
|
21
21
|
"key": model.WildcardSelectionKey | model.AnyOfSelectionKey;
|
|
22
|
-
"authenticationServerDetail": model.JwtAuthenticationPolicy | model.CustomAuthenticationPolicy;
|
|
22
|
+
"authenticationServerDetail": model.TokenAuthenticationPolicy | model.JwtAuthenticationPolicy | model.CustomAuthenticationPolicy;
|
|
23
23
|
}
|
|
24
24
|
export declare namespace AuthenticationServerPolicy {
|
|
25
25
|
function getJsonObj(obj: AuthenticationServerPolicy): object;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"authentication-server-policy.js","sourceRoot":"","sources":["../../../../../lib/apigateway/lib/model/authentication-server-policy.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;
|
|
1
|
+
{"version":3,"file":"authentication-server-policy.js","sourceRoot":"","sources":["../../../../../lib/apigateway/lib/model/authentication-server-policy.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAclC,IAAiB,0BAA0B,CA2B1C;AA3BD,WAAiB,0BAA0B;IACzC,SAAgB,UAAU,CAAC,GAA+B;QACxD,MAAM,OAAO,mCACR,GAAG,GACH;YACD,KAAK,EAAE,GAAG,CAAC,GAAG,CAAC,CAAC,CAAC,KAAK,CAAC,mBAAmB,CAAC,UAAU,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,SAAS;YAC1E,4BAA4B,EAAE,GAAG,CAAC,0BAA0B;gBAC1D,CAAC,CAAC,KAAK,CAAC,oBAAoB,CAAC,UAAU,CAAC,GAAG,CAAC,0BAA0B,CAAC;gBACvE,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAZe,qCAAU,aAYzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAA+B;QACpE,MAAM,OAAO,mCACR,GAAG,GACH;YACD,KAAK,EAAE,GAAG,CAAC,GAAG,CAAC,CAAC,CAAC,KAAK,CAAC,mBAAmB,CAAC,sBAAsB,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,SAAS;YACtF,4BAA4B,EAAE,GAAG,CAAC,0BAA0B;gBAC1D,CAAC,CAAC,KAAK,CAAC,oBAAoB,CAAC,sBAAsB,CAAC,GAAG,CAAC,0BAA0B,CAAC;gBACnF,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAZe,iDAAsB,yBAYrC,CAAA;AACH,CAAC,EA3BgB,0BAA0B,GAA1B,kCAA0B,KAA1B,kCAA0B,QA2B1C"}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* API Gateway API
|
|
3
|
+
* API for the API Gateway service. Use this API to manage gateways, deployments, and related items.
|
|
4
|
+
For more information, see
|
|
5
|
+
[Overview of API Gateway](/iaas/Content/APIGateway/Concepts/apigatewayoverview.htm).
|
|
6
|
+
|
|
7
|
+
* OpenAPI spec version: 20190501
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
11
|
+
* Do not edit the class manually.
|
|
12
|
+
*
|
|
13
|
+
* Copyright (c) 2020, 2022, Oracle and/or its affiliates. All rights reserved.
|
|
14
|
+
* This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
|
15
|
+
*/
|
|
16
|
+
/**
|
|
17
|
+
* Client App Credential details.
|
|
18
|
+
*/
|
|
19
|
+
export interface ClientAppDetails {
|
|
20
|
+
"type": string;
|
|
21
|
+
}
|
|
22
|
+
export declare namespace ClientAppDetails {
|
|
23
|
+
function getJsonObj(obj: ClientAppDetails): object;
|
|
24
|
+
function getDeserializedJsonObj(obj: ClientAppDetails): object;
|
|
25
|
+
}
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* API Gateway API
|
|
4
|
+
* API for the API Gateway service. Use this API to manage gateways, deployments, and related items.
|
|
5
|
+
For more information, see
|
|
6
|
+
[Overview of API Gateway](/iaas/Content/APIGateway/Concepts/apigatewayoverview.htm).
|
|
7
|
+
|
|
8
|
+
* OpenAPI spec version: 20190501
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*
|
|
14
|
+
* Copyright (c) 2020, 2022, Oracle and/or its affiliates. All rights reserved.
|
|
15
|
+
* This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
|
16
|
+
*/
|
|
17
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
18
|
+
if (k2 === undefined) k2 = k;
|
|
19
|
+
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
|
20
|
+
}) : (function(o, m, k, k2) {
|
|
21
|
+
if (k2 === undefined) k2 = k;
|
|
22
|
+
o[k2] = m[k];
|
|
23
|
+
}));
|
|
24
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
25
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
26
|
+
}) : function(o, v) {
|
|
27
|
+
o["default"] = v;
|
|
28
|
+
});
|
|
29
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
30
|
+
if (mod && mod.__esModule) return mod;
|
|
31
|
+
var result = {};
|
|
32
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
33
|
+
__setModuleDefault(result, mod);
|
|
34
|
+
return result;
|
|
35
|
+
};
|
|
36
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
37
|
+
exports.ClientAppDetails = void 0;
|
|
38
|
+
const model = __importStar(require("../model"));
|
|
39
|
+
const common = require("oci-common");
|
|
40
|
+
var ClientAppDetails;
|
|
41
|
+
(function (ClientAppDetails) {
|
|
42
|
+
function getJsonObj(obj) {
|
|
43
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {});
|
|
44
|
+
if (obj && "type" in obj && obj.type) {
|
|
45
|
+
switch (obj.type) {
|
|
46
|
+
case "CUSTOM":
|
|
47
|
+
return model.CustomClientAppDetails.getJsonObj(jsonObj, true);
|
|
48
|
+
case "VALIDATION_BLOCK":
|
|
49
|
+
return model.ValidationBlockClientAppDetails.getJsonObj(jsonObj, true);
|
|
50
|
+
default:
|
|
51
|
+
if (common.LOG.logger)
|
|
52
|
+
common.LOG.logger.info(`Unknown value for: ${obj.type}`);
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
return jsonObj;
|
|
56
|
+
}
|
|
57
|
+
ClientAppDetails.getJsonObj = getJsonObj;
|
|
58
|
+
function getDeserializedJsonObj(obj) {
|
|
59
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {});
|
|
60
|
+
if (obj && "type" in obj && obj.type) {
|
|
61
|
+
switch (obj.type) {
|
|
62
|
+
case "CUSTOM":
|
|
63
|
+
return model.CustomClientAppDetails.getDeserializedJsonObj(jsonObj, true);
|
|
64
|
+
case "VALIDATION_BLOCK":
|
|
65
|
+
return model.ValidationBlockClientAppDetails.getDeserializedJsonObj(jsonObj, true);
|
|
66
|
+
default:
|
|
67
|
+
if (common.LOG.logger)
|
|
68
|
+
common.LOG.logger.info(`Unknown value for: ${obj.type}`);
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
return jsonObj;
|
|
72
|
+
}
|
|
73
|
+
ClientAppDetails.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
74
|
+
})(ClientAppDetails = exports.ClientAppDetails || (exports.ClientAppDetails = {}));
|
|
75
|
+
//# sourceMappingURL=client-app-details.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"client-app-details.js","sourceRoot":"","sources":["../../../../../lib/apigateway/lib/model/client-app-details.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAClC,qCAAsC;AAStC,IAAiB,gBAAgB,CA2ChC;AA3CD,WAAiB,gBAAgB;IAC/B,SAAgB,UAAU,CAAC,GAAqB;QAC9C,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,IAAI,GAAG,IAAI,MAAM,IAAI,GAAG,IAAI,GAAG,CAAC,IAAI,EAAE;YACpC,QAAQ,GAAG,CAAC,IAAI,EAAE;gBAChB,KAAK,QAAQ;oBACX,OAAO,KAAK,CAAC,sBAAsB,CAAC,UAAU,CACL,OAAQ,EAC/C,IAAI,CACL,CAAC;gBACJ,KAAK,kBAAkB;oBACrB,OAAO,KAAK,CAAC,+BAA+B,CAAC,UAAU,CACL,OAAQ,EACxD,IAAI,CACL,CAAC;gBACJ;oBACE,IAAI,MAAM,CAAC,GAAG,CAAC,MAAM;wBAAE,MAAM,CAAC,GAAG,CAAC,MAAM,CAAC,IAAI,CAAC,sBAAsB,GAAG,CAAC,IAAI,EAAE,CAAC,CAAC;aACnF;SACF;QACD,OAAO,OAAO,CAAC;IACjB,CAAC;IApBe,2BAAU,aAoBzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAqB;QAC1D,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,IAAI,GAAG,IAAI,MAAM,IAAI,GAAG,IAAI,GAAG,CAAC,IAAI,EAAE;YACpC,QAAQ,GAAG,CAAC,IAAI,EAAE;gBAChB,KAAK,QAAQ;oBACX,OAAO,KAAK,CAAC,sBAAsB,CAAC,sBAAsB,CACjB,OAAQ,EAC/C,IAAI,CACL,CAAC;gBACJ,KAAK,kBAAkB;oBACrB,OAAO,KAAK,CAAC,+BAA+B,CAAC,sBAAsB,CACjB,OAAQ,EACxD,IAAI,CACL,CAAC;gBACJ;oBACE,IAAI,MAAM,CAAC,GAAG,CAAC,MAAM;wBAAE,MAAM,CAAC,GAAG,CAAC,MAAM,CAAC,IAAI,CAAC,sBAAsB,GAAG,CAAC,IAAI,EAAE,CAAC,CAAC;aACnF;SACF;QACD,OAAO,OAAO,CAAC;IACjB,CAAC;IApBe,uCAAsB,yBAoBrC,CAAA;AACH,CAAC,EA3CgB,gBAAgB,GAAhB,wBAAgB,KAAhB,wBAAgB,QA2ChC"}
|
|
@@ -46,7 +46,7 @@ export interface CustomAuthenticationPolicy extends model.AuthenticationPolicy {
|
|
|
46
46
|
*
|
|
47
47
|
*/
|
|
48
48
|
"cacheKey"?: Array<string>;
|
|
49
|
-
"validationFailurePolicy"?: model.ModifyResponseValidationFailurePolicy;
|
|
49
|
+
"validationFailurePolicy"?: model.ModifyResponseValidationFailurePolicy | model.OAuth2ResponseValidationFailurePolicy;
|
|
50
50
|
"type": string;
|
|
51
51
|
}
|
|
52
52
|
export declare namespace CustomAuthenticationPolicy {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"custom-authentication-policy.js","sourceRoot":"","sources":["../../../../../lib/apigateway/lib/model/custom-authentication-policy.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;
|
|
1
|
+
{"version":3,"file":"custom-authentication-policy.js","sourceRoot":"","sources":["../../../../../lib/apigateway/lib/model/custom-authentication-policy.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAwClC,IAAiB,0BAA0B,CAiC1C;AAjCD,WAAiB,0BAA0B;IACzC,SAAgB,UAAU,CAAC,GAA+B,EAAE,eAAyB;QACnF,MAAM,OAAO,mCACR,CAAC,eAAe;YACjB,CAAC,CAAC,GAAG;YACL,CAAC,CAAE,KAAK,CAAC,oBAAoB,CAAC,UAAU,CAAC,GAAG,CAAgC,CAAC,GAC5E;YACD,yBAAyB,EAAE,GAAG,CAAC,uBAAuB;gBACpD,CAAC,CAAC,KAAK,CAAC,uBAAuB,CAAC,UAAU,CAAC,GAAG,CAAC,uBAAuB,CAAC;gBACvE,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAbe,qCAAU,aAazB,CAAA;IACY,+BAAI,GAAG,uBAAuB,CAAC;IAC5C,SAAgB,sBAAsB,CACpC,GAA+B,EAC/B,eAAyB;QAEzB,MAAM,OAAO,mCACR,CAAC,eAAe;YACjB,CAAC,CAAC,GAAG;YACL,CAAC,CAAE,KAAK,CAAC,oBAAoB,CAAC,sBAAsB,CAAC,GAAG,CAAgC,CAAC,GACxF;YACD,yBAAyB,EAAE,GAAG,CAAC,uBAAuB;gBACpD,CAAC,CAAC,KAAK,CAAC,uBAAuB,CAAC,sBAAsB,CAAC,GAAG,CAAC,uBAAuB,CAAC;gBACnF,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAhBe,iDAAsB,yBAgBrC,CAAA;AACH,CAAC,EAjCgB,0BAA0B,GAA1B,kCAA0B,KAA1B,kCAA0B,QAiC1C"}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* API Gateway API
|
|
3
|
+
* API for the API Gateway service. Use this API to manage gateways, deployments, and related items.
|
|
4
|
+
For more information, see
|
|
5
|
+
[Overview of API Gateway](/iaas/Content/APIGateway/Concepts/apigatewayoverview.htm).
|
|
6
|
+
|
|
7
|
+
* OpenAPI spec version: 20190501
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
11
|
+
* Do not edit the class manually.
|
|
12
|
+
*
|
|
13
|
+
* Copyright (c) 2020, 2022, Oracle and/or its affiliates. All rights reserved.
|
|
14
|
+
* This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
|
15
|
+
*/
|
|
16
|
+
import * as model from "../model";
|
|
17
|
+
/**
|
|
18
|
+
* Client App Credentials to be provided again.
|
|
19
|
+
*
|
|
20
|
+
*/
|
|
21
|
+
export interface CustomClientAppDetails extends model.ClientAppDetails {
|
|
22
|
+
/**
|
|
23
|
+
* Client ID for the OAuth2/OIDC app.
|
|
24
|
+
*/
|
|
25
|
+
"clientId": string;
|
|
26
|
+
/**
|
|
27
|
+
* The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the Oracle Vault Service secret resource.
|
|
28
|
+
*
|
|
29
|
+
*/
|
|
30
|
+
"clientSecretId": string;
|
|
31
|
+
/**
|
|
32
|
+
* The version number of the client secret to use. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.
|
|
33
|
+
*/
|
|
34
|
+
"clientSecretVersionNumber": number;
|
|
35
|
+
"type": string;
|
|
36
|
+
}
|
|
37
|
+
export declare namespace CustomClientAppDetails {
|
|
38
|
+
function getJsonObj(obj: CustomClientAppDetails, isParentJsonObj?: boolean): object;
|
|
39
|
+
const type = "CUSTOM";
|
|
40
|
+
function getDeserializedJsonObj(obj: CustomClientAppDetails, isParentJsonObj?: boolean): object;
|
|
41
|
+
}
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* API Gateway API
|
|
4
|
+
* API for the API Gateway service. Use this API to manage gateways, deployments, and related items.
|
|
5
|
+
For more information, see
|
|
6
|
+
[Overview of API Gateway](/iaas/Content/APIGateway/Concepts/apigatewayoverview.htm).
|
|
7
|
+
|
|
8
|
+
* OpenAPI spec version: 20190501
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*
|
|
14
|
+
* Copyright (c) 2020, 2022, Oracle and/or its affiliates. All rights reserved.
|
|
15
|
+
* This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
|
16
|
+
*/
|
|
17
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
18
|
+
if (k2 === undefined) k2 = k;
|
|
19
|
+
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
|
20
|
+
}) : (function(o, m, k, k2) {
|
|
21
|
+
if (k2 === undefined) k2 = k;
|
|
22
|
+
o[k2] = m[k];
|
|
23
|
+
}));
|
|
24
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
25
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
26
|
+
}) : function(o, v) {
|
|
27
|
+
o["default"] = v;
|
|
28
|
+
});
|
|
29
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
30
|
+
if (mod && mod.__esModule) return mod;
|
|
31
|
+
var result = {};
|
|
32
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
33
|
+
__setModuleDefault(result, mod);
|
|
34
|
+
return result;
|
|
35
|
+
};
|
|
36
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
37
|
+
exports.CustomClientAppDetails = void 0;
|
|
38
|
+
const model = __importStar(require("../model"));
|
|
39
|
+
var CustomClientAppDetails;
|
|
40
|
+
(function (CustomClientAppDetails) {
|
|
41
|
+
function getJsonObj(obj, isParentJsonObj) {
|
|
42
|
+
const jsonObj = Object.assign(Object.assign({}, (isParentJsonObj
|
|
43
|
+
? obj
|
|
44
|
+
: model.ClientAppDetails.getJsonObj(obj))), {});
|
|
45
|
+
return jsonObj;
|
|
46
|
+
}
|
|
47
|
+
CustomClientAppDetails.getJsonObj = getJsonObj;
|
|
48
|
+
CustomClientAppDetails.type = "CUSTOM";
|
|
49
|
+
function getDeserializedJsonObj(obj, isParentJsonObj) {
|
|
50
|
+
const jsonObj = Object.assign(Object.assign({}, (isParentJsonObj
|
|
51
|
+
? obj
|
|
52
|
+
: model.ClientAppDetails.getDeserializedJsonObj(obj))), {});
|
|
53
|
+
return jsonObj;
|
|
54
|
+
}
|
|
55
|
+
CustomClientAppDetails.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
56
|
+
})(CustomClientAppDetails = exports.CustomClientAppDetails || (exports.CustomClientAppDetails = {}));
|
|
57
|
+
//# sourceMappingURL=custom-client-app-details.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"custom-client-app-details.js","sourceRoot":"","sources":["../../../../../lib/apigateway/lib/model/custom-client-app-details.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAyBlC,IAAiB,sBAAsB,CAyBtC;AAzBD,WAAiB,sBAAsB;IACrC,SAAgB,UAAU,CAAC,GAA2B,EAAE,eAAyB;QAC/E,MAAM,OAAO,mCACR,CAAC,eAAe;YACjB,CAAC,CAAC,GAAG;YACL,CAAC,CAAE,KAAK,CAAC,gBAAgB,CAAC,UAAU,CAAC,GAAG,CAA4B,CAAC,GACpE,EAAE,CACN,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IATe,iCAAU,aASzB,CAAA;IACY,2BAAI,GAAG,QAAQ,CAAC;IAC7B,SAAgB,sBAAsB,CACpC,GAA2B,EAC3B,eAAyB;QAEzB,MAAM,OAAO,mCACR,CAAC,eAAe;YACjB,CAAC,CAAC,GAAG;YACL,CAAC,CAAE,KAAK,CAAC,gBAAgB,CAAC,sBAAsB,CAAC,GAAG,CAA4B,CAAC,GAChF,EAAE,CACN,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAZe,6CAAsB,yBAYrC,CAAA;AACH,CAAC,EAzBgB,sBAAsB,GAAtB,8BAAsB,KAAtB,8BAAsB,QAyBtC"}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* API Gateway API
|
|
3
|
+
* API for the API Gateway service. Use this API to manage gateways, deployments, and related items.
|
|
4
|
+
For more information, see
|
|
5
|
+
[Overview of API Gateway](/iaas/Content/APIGateway/Concepts/apigatewayoverview.htm).
|
|
6
|
+
|
|
7
|
+
* OpenAPI spec version: 20190501
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
11
|
+
* Do not edit the class manually.
|
|
12
|
+
*
|
|
13
|
+
* Copyright (c) 2020, 2022, Oracle and/or its affiliates. All rights reserved.
|
|
14
|
+
* This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
|
15
|
+
*/
|
|
16
|
+
import * as model from "../model";
|
|
17
|
+
/**
|
|
18
|
+
* Discovery Uri information.
|
|
19
|
+
*
|
|
20
|
+
*/
|
|
21
|
+
export interface DiscoveryUriSourceUriDetails extends model.SourceUriDetails {
|
|
22
|
+
/**
|
|
23
|
+
* The discovery URI for the auth server.
|
|
24
|
+
*/
|
|
25
|
+
"uri": string;
|
|
26
|
+
"type": string;
|
|
27
|
+
}
|
|
28
|
+
export declare namespace DiscoveryUriSourceUriDetails {
|
|
29
|
+
function getJsonObj(obj: DiscoveryUriSourceUriDetails, isParentJsonObj?: boolean): object;
|
|
30
|
+
const type = "DISCOVERY_URI";
|
|
31
|
+
function getDeserializedJsonObj(obj: DiscoveryUriSourceUriDetails, isParentJsonObj?: boolean): object;
|
|
32
|
+
}
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* API Gateway API
|
|
4
|
+
* API for the API Gateway service. Use this API to manage gateways, deployments, and related items.
|
|
5
|
+
For more information, see
|
|
6
|
+
[Overview of API Gateway](/iaas/Content/APIGateway/Concepts/apigatewayoverview.htm).
|
|
7
|
+
|
|
8
|
+
* OpenAPI spec version: 20190501
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*
|
|
14
|
+
* Copyright (c) 2020, 2022, Oracle and/or its affiliates. All rights reserved.
|
|
15
|
+
* This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
|
16
|
+
*/
|
|
17
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
18
|
+
if (k2 === undefined) k2 = k;
|
|
19
|
+
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
|
20
|
+
}) : (function(o, m, k, k2) {
|
|
21
|
+
if (k2 === undefined) k2 = k;
|
|
22
|
+
o[k2] = m[k];
|
|
23
|
+
}));
|
|
24
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
25
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
26
|
+
}) : function(o, v) {
|
|
27
|
+
o["default"] = v;
|
|
28
|
+
});
|
|
29
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
30
|
+
if (mod && mod.__esModule) return mod;
|
|
31
|
+
var result = {};
|
|
32
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
33
|
+
__setModuleDefault(result, mod);
|
|
34
|
+
return result;
|
|
35
|
+
};
|
|
36
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
37
|
+
exports.DiscoveryUriSourceUriDetails = void 0;
|
|
38
|
+
const model = __importStar(require("../model"));
|
|
39
|
+
var DiscoveryUriSourceUriDetails;
|
|
40
|
+
(function (DiscoveryUriSourceUriDetails) {
|
|
41
|
+
function getJsonObj(obj, isParentJsonObj) {
|
|
42
|
+
const jsonObj = Object.assign(Object.assign({}, (isParentJsonObj
|
|
43
|
+
? obj
|
|
44
|
+
: model.SourceUriDetails.getJsonObj(obj))), {});
|
|
45
|
+
return jsonObj;
|
|
46
|
+
}
|
|
47
|
+
DiscoveryUriSourceUriDetails.getJsonObj = getJsonObj;
|
|
48
|
+
DiscoveryUriSourceUriDetails.type = "DISCOVERY_URI";
|
|
49
|
+
function getDeserializedJsonObj(obj, isParentJsonObj) {
|
|
50
|
+
const jsonObj = Object.assign(Object.assign({}, (isParentJsonObj
|
|
51
|
+
? obj
|
|
52
|
+
: model.SourceUriDetails.getDeserializedJsonObj(obj))), {});
|
|
53
|
+
return jsonObj;
|
|
54
|
+
}
|
|
55
|
+
DiscoveryUriSourceUriDetails.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
56
|
+
})(DiscoveryUriSourceUriDetails = exports.DiscoveryUriSourceUriDetails || (exports.DiscoveryUriSourceUriDetails = {}));
|
|
57
|
+
//# sourceMappingURL=discovery-uri-source-uri-details.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"discovery-uri-source-uri-details.js","sourceRoot":"","sources":["../../../../../lib/apigateway/lib/model/discovery-uri-source-uri-details.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAgBlC,IAAiB,4BAA4B,CAyB5C;AAzBD,WAAiB,4BAA4B;IAC3C,SAAgB,UAAU,CAAC,GAAiC,EAAE,eAAyB;QACrF,MAAM,OAAO,mCACR,CAAC,eAAe;YACjB,CAAC,CAAC,GAAG;YACL,CAAC,CAAE,KAAK,CAAC,gBAAgB,CAAC,UAAU,CAAC,GAAG,CAAkC,CAAC,GAC1E,EAAE,CACN,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IATe,uCAAU,aASzB,CAAA;IACY,iCAAI,GAAG,eAAe,CAAC;IACpC,SAAgB,sBAAsB,CACpC,GAAiC,EACjC,eAAyB;QAEzB,MAAM,OAAO,mCACR,CAAC,eAAe;YACjB,CAAC,CAAC,GAAG;YACL,CAAC,CAAE,KAAK,CAAC,gBAAgB,CAAC,sBAAsB,CAAC,GAAG,CAAkC,CAAC,GACtF,EAAE,CACN,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAZe,mDAAsB,yBAYrC,CAAA;AACH,CAAC,EAzBgB,4BAA4B,GAA5B,oCAA4B,KAA5B,oCAA4B,QAyB5C"}
|
|
@@ -15,7 +15,7 @@ For more information, see
|
|
|
15
15
|
*/
|
|
16
16
|
import * as model from "../model";
|
|
17
17
|
/**
|
|
18
|
-
*
|
|
18
|
+
* Policy on how to authenticate requests when multiple authentication options are configured for a deployment. For an incoming request, the value of selector specified under selectionSource will be matched against the keys specified for each authentication server. The authentication server whose key matches the value of selector will be used for authentication.
|
|
19
19
|
*/
|
|
20
20
|
export interface DynamicAuthenticationPolicy {
|
|
21
21
|
"selectionSource": model.SingleSelectionSourcePolicy;
|
|
@@ -15,7 +15,7 @@ For more information, see
|
|
|
15
15
|
*/
|
|
16
16
|
import * as model from "../model";
|
|
17
17
|
/**
|
|
18
|
-
* Send the request to
|
|
18
|
+
* Send the request to the backend dynamically selected based on the incoming request's context.
|
|
19
19
|
*
|
|
20
20
|
*/
|
|
21
21
|
export interface DynamicRoutingBackend extends model.ApiSpecificationRouteBackend {
|
|
@@ -15,11 +15,11 @@ For more information, see
|
|
|
15
15
|
*/
|
|
16
16
|
import * as model from "../model";
|
|
17
17
|
/**
|
|
18
|
-
*
|
|
18
|
+
* Policy for the details regarding each routing backend under dynamic routing. We specify the value of selectors for which this routing backend must be selected for a request under keys. We specify the configuration details of routing backend under backend.
|
|
19
19
|
*/
|
|
20
20
|
export interface DynamicRoutingTypeRoutingBackend {
|
|
21
21
|
"key": model.WildcardSelectionKey | model.AnyOfSelectionKey;
|
|
22
|
-
"backend": model.HTTPBackend | model.OracleFunctionBackend | model.StockResponseBackend | model.DynamicRoutingBackend;
|
|
22
|
+
"backend": model.OAuth2LogoutBackend | model.HTTPBackend | model.OracleFunctionBackend | model.StockResponseBackend | model.DynamicRoutingBackend;
|
|
23
23
|
}
|
|
24
24
|
export declare namespace DynamicRoutingTypeRoutingBackend {
|
|
25
25
|
function getJsonObj(obj: DynamicRoutingTypeRoutingBackend): object;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dynamic-routing-type-routing-backend.js","sourceRoot":"","sources":["../../../../../lib/apigateway/lib/model/dynamic-routing-type-routing-backend.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;
|
|
1
|
+
{"version":3,"file":"dynamic-routing-type-routing-backend.js","sourceRoot":"","sources":["../../../../../lib/apigateway/lib/model/dynamic-routing-type-routing-backend.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAgBlC,IAAiB,gCAAgC,CA2BhD;AA3BD,WAAiB,gCAAgC;IAC/C,SAAgB,UAAU,CAAC,GAAqC;QAC9D,MAAM,OAAO,mCACR,GAAG,GACH;YACD,KAAK,EAAE,GAAG,CAAC,GAAG,CAAC,CAAC,CAAC,KAAK,CAAC,mBAAmB,CAAC,UAAU,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,SAAS;YAC1E,SAAS,EAAE,GAAG,CAAC,OAAO;gBACpB,CAAC,CAAC,KAAK,CAAC,4BAA4B,CAAC,UAAU,CAAC,GAAG,CAAC,OAAO,CAAC;gBAC5D,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAZe,2CAAU,aAYzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAqC;QAC1E,MAAM,OAAO,mCACR,GAAG,GACH;YACD,KAAK,EAAE,GAAG,CAAC,GAAG,CAAC,CAAC,CAAC,KAAK,CAAC,mBAAmB,CAAC,sBAAsB,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,SAAS;YACtF,SAAS,EAAE,GAAG,CAAC,OAAO;gBACpB,CAAC,CAAC,KAAK,CAAC,4BAA4B,CAAC,sBAAsB,CAAC,GAAG,CAAC,OAAO,CAAC;gBACxE,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAZe,uDAAsB,yBAYrC,CAAA;AACH,CAAC,EA3BgB,gCAAgC,GAAhC,wCAAgC,KAAhC,wCAAgC,QA2BhD"}
|
|
@@ -14,11 +14,11 @@ For more information, see
|
|
|
14
14
|
* This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
|
15
15
|
*/
|
|
16
16
|
/**
|
|
17
|
-
*
|
|
17
|
+
* Base policy for defining how to match the context variable in an incoming request with selection keys when dynamically routing and dynamically authenticating requests.
|
|
18
18
|
*/
|
|
19
19
|
export interface DynamicSelectionKey {
|
|
20
20
|
/**
|
|
21
|
-
*
|
|
21
|
+
* Specifies whether to use the route or authentication server associated with this selection key as the default. The default is used if the value of a context variable in an incoming request does not match any of the other selection key values when dynamically routing and dynamically authenticating requests.
|
|
22
22
|
*/
|
|
23
23
|
"isDefault"?: boolean;
|
|
24
24
|
/**
|
package/lib/model/index.d.ts
CHANGED
|
@@ -15,6 +15,8 @@ For more information, see
|
|
|
15
15
|
*/
|
|
16
16
|
import * as AccessLogPolicy from "./access-log-policy";
|
|
17
17
|
export import AccessLogPolicy = AccessLogPolicy.AccessLogPolicy;
|
|
18
|
+
import * as AdditionalValidationPolicy from "./additional-validation-policy";
|
|
19
|
+
export import AdditionalValidationPolicy = AdditionalValidationPolicy.AdditionalValidationPolicy;
|
|
18
20
|
import * as Api from "./api";
|
|
19
21
|
export import Api = Api.Api;
|
|
20
22
|
import * as ApiCollection from "./api-collection";
|
|
@@ -71,6 +73,8 @@ import * as ChangeUsagePlanCompartmentDetails from "./change-usage-plan-compartm
|
|
|
71
73
|
export import ChangeUsagePlanCompartmentDetails = ChangeUsagePlanCompartmentDetails.ChangeUsagePlanCompartmentDetails;
|
|
72
74
|
import * as Client from "./client";
|
|
73
75
|
export import Client = Client.Client;
|
|
76
|
+
import * as ClientAppDetails from "./client-app-details";
|
|
77
|
+
export import ClientAppDetails = ClientAppDetails.ClientAppDetails;
|
|
74
78
|
import * as ClientSummary from "./client-summary";
|
|
75
79
|
export import ClientSummary = ClientSummary.ClientSummary;
|
|
76
80
|
import * as ContentValidation from "./content-validation";
|
|
@@ -199,6 +203,8 @@ import * as SetQueryParameterPolicy from "./set-query-parameter-policy";
|
|
|
199
203
|
export import SetQueryParameterPolicy = SetQueryParameterPolicy.SetQueryParameterPolicy;
|
|
200
204
|
import * as SetQueryParameterPolicyItem from "./set-query-parameter-policy-item";
|
|
201
205
|
export import SetQueryParameterPolicyItem = SetQueryParameterPolicyItem.SetQueryParameterPolicyItem;
|
|
206
|
+
import * as SourceUriDetails from "./source-uri-details";
|
|
207
|
+
export import SourceUriDetails = SourceUriDetails.SourceUriDetails;
|
|
202
208
|
import * as StaticPublicKey from "./static-public-key";
|
|
203
209
|
export import StaticPublicKey = StaticPublicKey.StaticPublicKey;
|
|
204
210
|
import * as Subscriber from "./subscriber";
|
|
@@ -207,6 +213,8 @@ import * as SubscriberCollection from "./subscriber-collection";
|
|
|
207
213
|
export import SubscriberCollection = SubscriberCollection.SubscriberCollection;
|
|
208
214
|
import * as SubscriberSummary from "./subscriber-summary";
|
|
209
215
|
export import SubscriberSummary = SubscriberSummary.SubscriberSummary;
|
|
216
|
+
import * as TokenAuthenticationValidationPolicy from "./token-authentication-validation-policy";
|
|
217
|
+
export import TokenAuthenticationValidationPolicy = TokenAuthenticationValidationPolicy.TokenAuthenticationValidationPolicy;
|
|
210
218
|
import * as UpdateApiDetails from "./update-api-details";
|
|
211
219
|
export import UpdateApiDetails = UpdateApiDetails.UpdateApiDetails;
|
|
212
220
|
import * as UpdateCertificateDetails from "./update-certificate-details";
|
|
@@ -263,6 +271,10 @@ import * as CertificatesCertificateAuthority from "./certificates-certificate-au
|
|
|
263
271
|
export import CertificatesCertificateAuthority = CertificatesCertificateAuthority.CertificatesCertificateAuthority;
|
|
264
272
|
import * as CustomAuthenticationPolicy from "./custom-authentication-policy";
|
|
265
273
|
export import CustomAuthenticationPolicy = CustomAuthenticationPolicy.CustomAuthenticationPolicy;
|
|
274
|
+
import * as CustomClientAppDetails from "./custom-client-app-details";
|
|
275
|
+
export import CustomClientAppDetails = CustomClientAppDetails.CustomClientAppDetails;
|
|
276
|
+
import * as DiscoveryUriSourceUriDetails from "./discovery-uri-source-uri-details";
|
|
277
|
+
export import DiscoveryUriSourceUriDetails = DiscoveryUriSourceUriDetails.DiscoveryUriSourceUriDetails;
|
|
266
278
|
import * as DynamicRoutingBackend from "./dynamic-routing-backend";
|
|
267
279
|
export import DynamicRoutingBackend = DynamicRoutingBackend.DynamicRoutingBackend;
|
|
268
280
|
import * as ExternalRespCache from "./external-resp-cache";
|
|
@@ -281,6 +293,10 @@ import * as NoCache from "./no-cache";
|
|
|
281
293
|
export import NoCache = NoCache.NoCache;
|
|
282
294
|
import * as NoContentValidation from "./no-content-validation";
|
|
283
295
|
export import NoContentValidation = NoContentValidation.NoContentValidation;
|
|
296
|
+
import * as OAuth2LogoutBackend from "./o-auth2-logout-backend";
|
|
297
|
+
export import OAuth2LogoutBackend = OAuth2LogoutBackend.OAuth2LogoutBackend;
|
|
298
|
+
import * as OAuth2ResponseValidationFailurePolicy from "./o-auth2-response-validation-failure-policy";
|
|
299
|
+
export import OAuth2ResponseValidationFailurePolicy = OAuth2ResponseValidationFailurePolicy.OAuth2ResponseValidationFailurePolicy;
|
|
284
300
|
import * as OracleFunctionBackend from "./oracle-function-backend";
|
|
285
301
|
export import OracleFunctionBackend = OracleFunctionBackend.OracleFunctionBackend;
|
|
286
302
|
import * as PemEncodedPublicKey from "./pem-encoded-public-key";
|
|
@@ -295,5 +311,17 @@ import * as StaticPublicKeySet from "./static-public-key-set";
|
|
|
295
311
|
export import StaticPublicKeySet = StaticPublicKeySet.StaticPublicKeySet;
|
|
296
312
|
import * as StockResponseBackend from "./stock-response-backend";
|
|
297
313
|
export import StockResponseBackend = StockResponseBackend.StockResponseBackend;
|
|
314
|
+
import * as TokenAuthenticationPolicy from "./token-authentication-policy";
|
|
315
|
+
export import TokenAuthenticationPolicy = TokenAuthenticationPolicy.TokenAuthenticationPolicy;
|
|
316
|
+
import * as TokenAuthenticationRemoteDiscoveryValidationPolicy from "./token-authentication-remote-discovery-validation-policy";
|
|
317
|
+
export import TokenAuthenticationRemoteDiscoveryValidationPolicy = TokenAuthenticationRemoteDiscoveryValidationPolicy.TokenAuthenticationRemoteDiscoveryValidationPolicy;
|
|
318
|
+
import * as TokenAuthenticationRemoteJWKSValidationPolicy from "./token-authentication-remote-jw-ks-validation-policy";
|
|
319
|
+
export import TokenAuthenticationRemoteJWKSValidationPolicy = TokenAuthenticationRemoteJWKSValidationPolicy.TokenAuthenticationRemoteJWKSValidationPolicy;
|
|
320
|
+
import * as TokenAuthenticationStaticKeysValidationPolicy from "./token-authentication-static-keys-validation-policy";
|
|
321
|
+
export import TokenAuthenticationStaticKeysValidationPolicy = TokenAuthenticationStaticKeysValidationPolicy.TokenAuthenticationStaticKeysValidationPolicy;
|
|
322
|
+
import * as ValidationBlockClientAppDetails from "./validation-block-client-app-details";
|
|
323
|
+
export import ValidationBlockClientAppDetails = ValidationBlockClientAppDetails.ValidationBlockClientAppDetails;
|
|
324
|
+
import * as ValidationBlockSourceUriDetails from "./validation-block-source-uri-details";
|
|
325
|
+
export import ValidationBlockSourceUriDetails = ValidationBlockSourceUriDetails.ValidationBlockSourceUriDetails;
|
|
298
326
|
import * as WildcardSelectionKey from "./wildcard-selection-key";
|
|
299
327
|
export import WildcardSelectionKey = WildcardSelectionKey.WildcardSelectionKey;
|