oci-apigateway 2.48.1 → 2.49.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
|
@@ -0,0 +1,71 @@
|
|
|
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.TokenAuthenticationPolicy = void 0;
|
|
38
|
+
const model = __importStar(require("../model"));
|
|
39
|
+
var TokenAuthenticationPolicy;
|
|
40
|
+
(function (TokenAuthenticationPolicy) {
|
|
41
|
+
function getJsonObj(obj, isParentJsonObj) {
|
|
42
|
+
const jsonObj = Object.assign(Object.assign({}, (isParentJsonObj
|
|
43
|
+
? obj
|
|
44
|
+
: model.AuthenticationPolicy.getJsonObj(obj))), {
|
|
45
|
+
"validationPolicy": obj.validationPolicy
|
|
46
|
+
? model.TokenAuthenticationValidationPolicy.getJsonObj(obj.validationPolicy)
|
|
47
|
+
: undefined,
|
|
48
|
+
"validationFailurePolicy": obj.validationFailurePolicy
|
|
49
|
+
? model.ValidationFailurePolicy.getJsonObj(obj.validationFailurePolicy)
|
|
50
|
+
: undefined
|
|
51
|
+
});
|
|
52
|
+
return jsonObj;
|
|
53
|
+
}
|
|
54
|
+
TokenAuthenticationPolicy.getJsonObj = getJsonObj;
|
|
55
|
+
TokenAuthenticationPolicy.type = "TOKEN_AUTHENTICATION";
|
|
56
|
+
function getDeserializedJsonObj(obj, isParentJsonObj) {
|
|
57
|
+
const jsonObj = Object.assign(Object.assign({}, (isParentJsonObj
|
|
58
|
+
? obj
|
|
59
|
+
: model.AuthenticationPolicy.getDeserializedJsonObj(obj))), {
|
|
60
|
+
"validationPolicy": obj.validationPolicy
|
|
61
|
+
? model.TokenAuthenticationValidationPolicy.getDeserializedJsonObj(obj.validationPolicy)
|
|
62
|
+
: undefined,
|
|
63
|
+
"validationFailurePolicy": obj.validationFailurePolicy
|
|
64
|
+
? model.ValidationFailurePolicy.getDeserializedJsonObj(obj.validationFailurePolicy)
|
|
65
|
+
: undefined
|
|
66
|
+
});
|
|
67
|
+
return jsonObj;
|
|
68
|
+
}
|
|
69
|
+
TokenAuthenticationPolicy.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
70
|
+
})(TokenAuthenticationPolicy = exports.TokenAuthenticationPolicy || (exports.TokenAuthenticationPolicy = {}));
|
|
71
|
+
//# sourceMappingURL=token-authentication-policy.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"token-authentication-policy.js","sourceRoot":"","sources":["../../../../../lib/apigateway/lib/model/token-authentication-policy.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAwClC,IAAiB,yBAAyB,CAuCzC;AAvCD,WAAiB,yBAAyB;IACxC,SAAgB,UAAU,CAAC,GAA8B,EAAE,eAAyB;QAClF,MAAM,OAAO,mCACR,CAAC,eAAe;YACjB,CAAC,CAAC,GAAG;YACL,CAAC,CAAE,KAAK,CAAC,oBAAoB,CAAC,UAAU,CAAC,GAAG,CAA+B,CAAC,GAC3E;YACD,kBAAkB,EAAE,GAAG,CAAC,gBAAgB;gBACtC,CAAC,CAAC,KAAK,CAAC,mCAAmC,CAAC,UAAU,CAAC,GAAG,CAAC,gBAAgB,CAAC;gBAC5E,CAAC,CAAC,SAAS;YACb,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;IAhBe,oCAAU,aAgBzB,CAAA;IACY,8BAAI,GAAG,sBAAsB,CAAC;IAC3C,SAAgB,sBAAsB,CACpC,GAA8B,EAC9B,eAAyB;QAEzB,MAAM,OAAO,mCACR,CAAC,eAAe;YACjB,CAAC,CAAC,GAAG;YACL,CAAC,CAAE,KAAK,CAAC,oBAAoB,CAAC,sBAAsB,CAAC,GAAG,CAA+B,CAAC,GACvF;YACD,kBAAkB,EAAE,GAAG,CAAC,gBAAgB;gBACtC,CAAC,CAAC,KAAK,CAAC,mCAAmC,CAAC,sBAAsB,CAAC,GAAG,CAAC,gBAAgB,CAAC;gBACxF,CAAC,CAAC,SAAS;YACb,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;IAnBe,gDAAsB,yBAmBrC,CAAA;AACH,CAAC,EAvCgB,yBAAyB,GAAzB,iCAAyB,KAAzB,iCAAyB,QAuCzC"}
|
|
@@ -0,0 +1,42 @@
|
|
|
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
|
+
* Instrospect Url based validation retrieved at run-time from a remote location
|
|
19
|
+
* to verify the provided token.
|
|
20
|
+
*
|
|
21
|
+
*/
|
|
22
|
+
export interface TokenAuthenticationRemoteDiscoveryValidationPolicy extends model.TokenAuthenticationValidationPolicy {
|
|
23
|
+
"clientDetails": model.CustomClientAppDetails | model.ValidationBlockClientAppDetails;
|
|
24
|
+
"sourceUriDetails": model.DiscoveryUriSourceUriDetails | model.ValidationBlockSourceUriDetails;
|
|
25
|
+
/**
|
|
26
|
+
* Defines whether or not to uphold SSL verification.
|
|
27
|
+
*
|
|
28
|
+
*/
|
|
29
|
+
"isSslVerifyDisabled"?: boolean;
|
|
30
|
+
/**
|
|
31
|
+
* The duration for which the introspect URL response should be cached before it is
|
|
32
|
+
* fetched again.
|
|
33
|
+
* Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.
|
|
34
|
+
*/
|
|
35
|
+
"maxCacheDurationInHours"?: number;
|
|
36
|
+
"type": string;
|
|
37
|
+
}
|
|
38
|
+
export declare namespace TokenAuthenticationRemoteDiscoveryValidationPolicy {
|
|
39
|
+
function getJsonObj(obj: TokenAuthenticationRemoteDiscoveryValidationPolicy, isParentJsonObj?: boolean): object;
|
|
40
|
+
const type = "REMOTE_DISCOVERY";
|
|
41
|
+
function getDeserializedJsonObj(obj: TokenAuthenticationRemoteDiscoveryValidationPolicy, isParentJsonObj?: boolean): object;
|
|
42
|
+
}
|
|
@@ -0,0 +1,71 @@
|
|
|
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.TokenAuthenticationRemoteDiscoveryValidationPolicy = void 0;
|
|
38
|
+
const model = __importStar(require("../model"));
|
|
39
|
+
var TokenAuthenticationRemoteDiscoveryValidationPolicy;
|
|
40
|
+
(function (TokenAuthenticationRemoteDiscoveryValidationPolicy) {
|
|
41
|
+
function getJsonObj(obj, isParentJsonObj) {
|
|
42
|
+
const jsonObj = Object.assign(Object.assign({}, (isParentJsonObj
|
|
43
|
+
? obj
|
|
44
|
+
: model.TokenAuthenticationValidationPolicy.getJsonObj(obj))), {
|
|
45
|
+
"clientDetails": obj.clientDetails
|
|
46
|
+
? model.ClientAppDetails.getJsonObj(obj.clientDetails)
|
|
47
|
+
: undefined,
|
|
48
|
+
"sourceUriDetails": obj.sourceUriDetails
|
|
49
|
+
? model.SourceUriDetails.getJsonObj(obj.sourceUriDetails)
|
|
50
|
+
: undefined
|
|
51
|
+
});
|
|
52
|
+
return jsonObj;
|
|
53
|
+
}
|
|
54
|
+
TokenAuthenticationRemoteDiscoveryValidationPolicy.getJsonObj = getJsonObj;
|
|
55
|
+
TokenAuthenticationRemoteDiscoveryValidationPolicy.type = "REMOTE_DISCOVERY";
|
|
56
|
+
function getDeserializedJsonObj(obj, isParentJsonObj) {
|
|
57
|
+
const jsonObj = Object.assign(Object.assign({}, (isParentJsonObj
|
|
58
|
+
? obj
|
|
59
|
+
: model.TokenAuthenticationValidationPolicy.getDeserializedJsonObj(obj))), {
|
|
60
|
+
"clientDetails": obj.clientDetails
|
|
61
|
+
? model.ClientAppDetails.getDeserializedJsonObj(obj.clientDetails)
|
|
62
|
+
: undefined,
|
|
63
|
+
"sourceUriDetails": obj.sourceUriDetails
|
|
64
|
+
? model.SourceUriDetails.getDeserializedJsonObj(obj.sourceUriDetails)
|
|
65
|
+
: undefined
|
|
66
|
+
});
|
|
67
|
+
return jsonObj;
|
|
68
|
+
}
|
|
69
|
+
TokenAuthenticationRemoteDiscoveryValidationPolicy.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
70
|
+
})(TokenAuthenticationRemoteDiscoveryValidationPolicy = exports.TokenAuthenticationRemoteDiscoveryValidationPolicy || (exports.TokenAuthenticationRemoteDiscoveryValidationPolicy = {}));
|
|
71
|
+
//# sourceMappingURL=token-authentication-remote-discovery-validation-policy.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"token-authentication-remote-discovery-validation-policy.js","sourceRoot":"","sources":["../../../../../lib/apigateway/lib/model/token-authentication-remote-discovery-validation-policy.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AA2BlC,IAAiB,kDAAkD,CA8ClE;AA9CD,WAAiB,kDAAkD;IACjE,SAAgB,UAAU,CACxB,GAAuD,EACvD,eAAyB;QAEzB,MAAM,OAAO,mCACR,CAAC,eAAe;YACjB,CAAC,CAAC,GAAG;YACL,CAAC,CAAE,KAAK,CAAC,mCAAmC,CAAC,UAAU,CACnD,GAAG,CACmD,CAAC,GAC1D;YACD,eAAe,EAAE,GAAG,CAAC,aAAa;gBAChC,CAAC,CAAC,KAAK,CAAC,gBAAgB,CAAC,UAAU,CAAC,GAAG,CAAC,aAAa,CAAC;gBACtD,CAAC,CAAC,SAAS;YACb,kBAAkB,EAAE,GAAG,CAAC,gBAAgB;gBACtC,CAAC,CAAC,KAAK,CAAC,gBAAgB,CAAC,UAAU,CAAC,GAAG,CAAC,gBAAgB,CAAC;gBACzD,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IArBe,6DAAU,aAqBzB,CAAA;IACY,uDAAI,GAAG,kBAAkB,CAAC;IACvC,SAAgB,sBAAsB,CACpC,GAAuD,EACvD,eAAyB;QAEzB,MAAM,OAAO,mCACR,CAAC,eAAe;YACjB,CAAC,CAAC,GAAG;YACL,CAAC,CAAE,KAAK,CAAC,mCAAmC,CAAC,sBAAsB,CAC/D,GAAG,CACmD,CAAC,GAC1D;YACD,eAAe,EAAE,GAAG,CAAC,aAAa;gBAChC,CAAC,CAAC,KAAK,CAAC,gBAAgB,CAAC,sBAAsB,CAAC,GAAG,CAAC,aAAa,CAAC;gBAClE,CAAC,CAAC,SAAS;YACb,kBAAkB,EAAE,GAAG,CAAC,gBAAgB;gBACtC,CAAC,CAAC,KAAK,CAAC,gBAAgB,CAAC,sBAAsB,CAAC,GAAG,CAAC,gBAAgB,CAAC;gBACrE,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IArBe,yEAAsB,yBAqBrC,CAAA;AACH,CAAC,EA9CgB,kDAAkD,GAAlD,0DAAkD,KAAlD,0DAAkD,QA8ClE"}
|
|
@@ -0,0 +1,47 @@
|
|
|
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
|
+
* A set of public keys that is retrieved at run-time from a remote location
|
|
19
|
+
* to verify the JWT signature. The set should only contain JWK-formatted
|
|
20
|
+
* keys.
|
|
21
|
+
*
|
|
22
|
+
*/
|
|
23
|
+
export interface TokenAuthenticationRemoteJWKSValidationPolicy extends model.TokenAuthenticationValidationPolicy {
|
|
24
|
+
/**
|
|
25
|
+
* The uri from which to retrieve the key. It must be accessible
|
|
26
|
+
* without authentication.
|
|
27
|
+
*
|
|
28
|
+
*/
|
|
29
|
+
"uri": string;
|
|
30
|
+
/**
|
|
31
|
+
* Defines whether or not to uphold SSL verification.
|
|
32
|
+
*
|
|
33
|
+
*/
|
|
34
|
+
"isSslVerifyDisabled"?: boolean;
|
|
35
|
+
/**
|
|
36
|
+
* The duration for which the JWKS should be cached before it is
|
|
37
|
+
* fetched again.
|
|
38
|
+
* Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.
|
|
39
|
+
*/
|
|
40
|
+
"maxCacheDurationInHours"?: number;
|
|
41
|
+
"type": string;
|
|
42
|
+
}
|
|
43
|
+
export declare namespace TokenAuthenticationRemoteJWKSValidationPolicy {
|
|
44
|
+
function getJsonObj(obj: TokenAuthenticationRemoteJWKSValidationPolicy, isParentJsonObj?: boolean): object;
|
|
45
|
+
const type = "REMOTE_JWKS";
|
|
46
|
+
function getDeserializedJsonObj(obj: TokenAuthenticationRemoteJWKSValidationPolicy, isParentJsonObj?: boolean): object;
|
|
47
|
+
}
|
|
@@ -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.TokenAuthenticationRemoteJWKSValidationPolicy = void 0;
|
|
38
|
+
const model = __importStar(require("../model"));
|
|
39
|
+
var TokenAuthenticationRemoteJWKSValidationPolicy;
|
|
40
|
+
(function (TokenAuthenticationRemoteJWKSValidationPolicy) {
|
|
41
|
+
function getJsonObj(obj, isParentJsonObj) {
|
|
42
|
+
const jsonObj = Object.assign(Object.assign({}, (isParentJsonObj
|
|
43
|
+
? obj
|
|
44
|
+
: model.TokenAuthenticationValidationPolicy.getJsonObj(obj))), {});
|
|
45
|
+
return jsonObj;
|
|
46
|
+
}
|
|
47
|
+
TokenAuthenticationRemoteJWKSValidationPolicy.getJsonObj = getJsonObj;
|
|
48
|
+
TokenAuthenticationRemoteJWKSValidationPolicy.type = "REMOTE_JWKS";
|
|
49
|
+
function getDeserializedJsonObj(obj, isParentJsonObj) {
|
|
50
|
+
const jsonObj = Object.assign(Object.assign({}, (isParentJsonObj
|
|
51
|
+
? obj
|
|
52
|
+
: model.TokenAuthenticationValidationPolicy.getDeserializedJsonObj(obj))), {});
|
|
53
|
+
return jsonObj;
|
|
54
|
+
}
|
|
55
|
+
TokenAuthenticationRemoteJWKSValidationPolicy.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
56
|
+
})(TokenAuthenticationRemoteJWKSValidationPolicy = exports.TokenAuthenticationRemoteJWKSValidationPolicy || (exports.TokenAuthenticationRemoteJWKSValidationPolicy = {}));
|
|
57
|
+
//# sourceMappingURL=token-authentication-remote-jw-ks-validation-policy.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"token-authentication-remote-jw-ks-validation-policy.js","sourceRoot":"","sources":["../../../../../lib/apigateway/lib/model/token-authentication-remote-jw-ks-validation-policy.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAgClC,IAAiB,6CAA6C,CAgC7D;AAhCD,WAAiB,6CAA6C;IAC5D,SAAgB,UAAU,CACxB,GAAkD,EAClD,eAAyB;QAEzB,MAAM,OAAO,mCACR,CAAC,eAAe;YACjB,CAAC,CAAC,GAAG;YACL,CAAC,CAAE,KAAK,CAAC,mCAAmC,CAAC,UAAU,CACnD,GAAG,CAC8C,CAAC,GACrD,EAAE,CACN,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAde,wDAAU,aAczB,CAAA;IACY,kDAAI,GAAG,aAAa,CAAC;IAClC,SAAgB,sBAAsB,CACpC,GAAkD,EAClD,eAAyB;QAEzB,MAAM,OAAO,mCACR,CAAC,eAAe;YACjB,CAAC,CAAC,GAAG;YACL,CAAC,CAAE,KAAK,CAAC,mCAAmC,CAAC,sBAAsB,CAC/D,GAAG,CAC8C,CAAC,GACrD,EAAE,CACN,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAde,oEAAsB,yBAcrC,CAAA;AACH,CAAC,EAhCgB,6CAA6C,GAA7C,qDAA6C,KAA7C,qDAA6C,QAgC7D"}
|
|
@@ -0,0 +1,31 @@
|
|
|
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
|
+
* A set of static public keys that will be used to verify the JWT signature.
|
|
19
|
+
*/
|
|
20
|
+
export interface TokenAuthenticationStaticKeysValidationPolicy extends model.TokenAuthenticationValidationPolicy {
|
|
21
|
+
/**
|
|
22
|
+
* The set of static public keys.
|
|
23
|
+
*/
|
|
24
|
+
"keys"?: Array<model.StaticPublicKey>;
|
|
25
|
+
"type": string;
|
|
26
|
+
}
|
|
27
|
+
export declare namespace TokenAuthenticationStaticKeysValidationPolicy {
|
|
28
|
+
function getJsonObj(obj: TokenAuthenticationStaticKeysValidationPolicy, isParentJsonObj?: boolean): object;
|
|
29
|
+
const type = "STATIC_KEYS";
|
|
30
|
+
function getDeserializedJsonObj(obj: TokenAuthenticationStaticKeysValidationPolicy, isParentJsonObj?: boolean): object;
|
|
31
|
+
}
|
|
@@ -0,0 +1,69 @@
|
|
|
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.TokenAuthenticationStaticKeysValidationPolicy = void 0;
|
|
38
|
+
const model = __importStar(require("../model"));
|
|
39
|
+
var TokenAuthenticationStaticKeysValidationPolicy;
|
|
40
|
+
(function (TokenAuthenticationStaticKeysValidationPolicy) {
|
|
41
|
+
function getJsonObj(obj, isParentJsonObj) {
|
|
42
|
+
const jsonObj = Object.assign(Object.assign({}, (isParentJsonObj
|
|
43
|
+
? obj
|
|
44
|
+
: model.TokenAuthenticationValidationPolicy.getJsonObj(obj))), {
|
|
45
|
+
"keys": obj.keys
|
|
46
|
+
? obj.keys.map(item => {
|
|
47
|
+
return model.StaticPublicKey.getJsonObj(item);
|
|
48
|
+
})
|
|
49
|
+
: undefined
|
|
50
|
+
});
|
|
51
|
+
return jsonObj;
|
|
52
|
+
}
|
|
53
|
+
TokenAuthenticationStaticKeysValidationPolicy.getJsonObj = getJsonObj;
|
|
54
|
+
TokenAuthenticationStaticKeysValidationPolicy.type = "STATIC_KEYS";
|
|
55
|
+
function getDeserializedJsonObj(obj, isParentJsonObj) {
|
|
56
|
+
const jsonObj = Object.assign(Object.assign({}, (isParentJsonObj
|
|
57
|
+
? obj
|
|
58
|
+
: model.TokenAuthenticationValidationPolicy.getDeserializedJsonObj(obj))), {
|
|
59
|
+
"keys": obj.keys
|
|
60
|
+
? obj.keys.map(item => {
|
|
61
|
+
return model.StaticPublicKey.getDeserializedJsonObj(item);
|
|
62
|
+
})
|
|
63
|
+
: undefined
|
|
64
|
+
});
|
|
65
|
+
return jsonObj;
|
|
66
|
+
}
|
|
67
|
+
TokenAuthenticationStaticKeysValidationPolicy.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
68
|
+
})(TokenAuthenticationStaticKeysValidationPolicy = exports.TokenAuthenticationStaticKeysValidationPolicy || (exports.TokenAuthenticationStaticKeysValidationPolicy = {}));
|
|
69
|
+
//# sourceMappingURL=token-authentication-static-keys-validation-policy.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"token-authentication-static-keys-validation-policy.js","sourceRoot":"","sources":["../../../../../lib/apigateway/lib/model/token-authentication-static-keys-validation-policy.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAgBlC,IAAiB,6CAA6C,CA4C7D;AA5CD,WAAiB,6CAA6C;IAC5D,SAAgB,UAAU,CACxB,GAAkD,EAClD,eAAyB;QAEzB,MAAM,OAAO,mCACR,CAAC,eAAe;YACjB,CAAC,CAAC,GAAG;YACL,CAAC,CAAE,KAAK,CAAC,mCAAmC,CAAC,UAAU,CACnD,GAAG,CAC8C,CAAC,GACrD;YACD,MAAM,EAAE,GAAG,CAAC,IAAI;gBACd,CAAC,CAAC,GAAG,CAAC,IAAI,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;oBAClB,OAAO,KAAK,CAAC,eAAe,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC;gBAChD,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IApBe,wDAAU,aAoBzB,CAAA;IACY,kDAAI,GAAG,aAAa,CAAC;IAClC,SAAgB,sBAAsB,CACpC,GAAkD,EAClD,eAAyB;QAEzB,MAAM,OAAO,mCACR,CAAC,eAAe;YACjB,CAAC,CAAC,GAAG;YACL,CAAC,CAAE,KAAK,CAAC,mCAAmC,CAAC,sBAAsB,CAC/D,GAAG,CAC8C,CAAC,GACrD;YACD,MAAM,EAAE,GAAG,CAAC,IAAI;gBACd,CAAC,CAAC,GAAG,CAAC,IAAI,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;oBAClB,OAAO,KAAK,CAAC,eAAe,CAAC,sBAAsB,CAAC,IAAI,CAAC,CAAC;gBAC5D,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IApBe,oEAAsB,yBAoBrC,CAAA;AACH,CAAC,EA5CgB,6CAA6C,GAA7C,qDAA6C,KAA7C,qDAA6C,QA4C7D"}
|
|
@@ -0,0 +1,27 @@
|
|
|
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
|
+
* Authentication Policies for the Token Authentication types.
|
|
19
|
+
*/
|
|
20
|
+
export interface TokenAuthenticationValidationPolicy {
|
|
21
|
+
"additionalValidationPolicy"?: model.AdditionalValidationPolicy;
|
|
22
|
+
"type": string;
|
|
23
|
+
}
|
|
24
|
+
export declare namespace TokenAuthenticationValidationPolicy {
|
|
25
|
+
function getJsonObj(obj: TokenAuthenticationValidationPolicy): object;
|
|
26
|
+
function getDeserializedJsonObj(obj: TokenAuthenticationValidationPolicy): object;
|
|
27
|
+
}
|
|
@@ -0,0 +1,87 @@
|
|
|
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.TokenAuthenticationValidationPolicy = void 0;
|
|
38
|
+
const model = __importStar(require("../model"));
|
|
39
|
+
const common = require("oci-common");
|
|
40
|
+
var TokenAuthenticationValidationPolicy;
|
|
41
|
+
(function (TokenAuthenticationValidationPolicy) {
|
|
42
|
+
function getJsonObj(obj) {
|
|
43
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {
|
|
44
|
+
"additionalValidationPolicy": obj.additionalValidationPolicy
|
|
45
|
+
? model.AdditionalValidationPolicy.getJsonObj(obj.additionalValidationPolicy)
|
|
46
|
+
: undefined
|
|
47
|
+
});
|
|
48
|
+
if (obj && "type" in obj && obj.type) {
|
|
49
|
+
switch (obj.type) {
|
|
50
|
+
case "REMOTE_JWKS":
|
|
51
|
+
return model.TokenAuthenticationRemoteJWKSValidationPolicy.getJsonObj(jsonObj, true);
|
|
52
|
+
case "REMOTE_DISCOVERY":
|
|
53
|
+
return model.TokenAuthenticationRemoteDiscoveryValidationPolicy.getJsonObj(jsonObj, true);
|
|
54
|
+
case "STATIC_KEYS":
|
|
55
|
+
return model.TokenAuthenticationStaticKeysValidationPolicy.getJsonObj(jsonObj, true);
|
|
56
|
+
default:
|
|
57
|
+
if (common.LOG.logger)
|
|
58
|
+
common.LOG.logger.info(`Unknown value for: ${obj.type}`);
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
return jsonObj;
|
|
62
|
+
}
|
|
63
|
+
TokenAuthenticationValidationPolicy.getJsonObj = getJsonObj;
|
|
64
|
+
function getDeserializedJsonObj(obj) {
|
|
65
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {
|
|
66
|
+
"additionalValidationPolicy": obj.additionalValidationPolicy
|
|
67
|
+
? model.AdditionalValidationPolicy.getDeserializedJsonObj(obj.additionalValidationPolicy)
|
|
68
|
+
: undefined
|
|
69
|
+
});
|
|
70
|
+
if (obj && "type" in obj && obj.type) {
|
|
71
|
+
switch (obj.type) {
|
|
72
|
+
case "REMOTE_JWKS":
|
|
73
|
+
return model.TokenAuthenticationRemoteJWKSValidationPolicy.getDeserializedJsonObj(jsonObj, true);
|
|
74
|
+
case "REMOTE_DISCOVERY":
|
|
75
|
+
return model.TokenAuthenticationRemoteDiscoveryValidationPolicy.getDeserializedJsonObj(jsonObj, true);
|
|
76
|
+
case "STATIC_KEYS":
|
|
77
|
+
return model.TokenAuthenticationStaticKeysValidationPolicy.getDeserializedJsonObj(jsonObj, true);
|
|
78
|
+
default:
|
|
79
|
+
if (common.LOG.logger)
|
|
80
|
+
common.LOG.logger.info(`Unknown value for: ${obj.type}`);
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
return jsonObj;
|
|
84
|
+
}
|
|
85
|
+
TokenAuthenticationValidationPolicy.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
86
|
+
})(TokenAuthenticationValidationPolicy = exports.TokenAuthenticationValidationPolicy || (exports.TokenAuthenticationValidationPolicy = {}));
|
|
87
|
+
//# sourceMappingURL=token-authentication-validation-policy.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"token-authentication-validation-policy.js","sourceRoot":"","sources":["../../../../../lib/apigateway/lib/model/token-authentication-validation-policy.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAClC,qCAAsC;AAWtC,IAAiB,mCAAmC,CAmEnD;AAnED,WAAiB,mCAAmC;IAClD,SAAgB,UAAU,CAAC,GAAwC;QACjE,MAAM,OAAO,mCACR,GAAG,GACH;YACD,4BAA4B,EAAE,GAAG,CAAC,0BAA0B;gBAC1D,CAAC,CAAC,KAAK,CAAC,0BAA0B,CAAC,UAAU,CAAC,GAAG,CAAC,0BAA0B,CAAC;gBAC7E,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,IAAI,GAAG,IAAI,MAAM,IAAI,GAAG,IAAI,GAAG,CAAC,IAAI,EAAE;YACpC,QAAQ,GAAG,CAAC,IAAI,EAAE;gBAChB,KAAK,aAAa;oBAChB,OAAO,KAAK,CAAC,6CAA6C,CAAC,UAAU,CACL,OAAQ,EACtE,IAAI,CACL,CAAC;gBACJ,KAAK,kBAAkB;oBACrB,OAAO,KAAK,CAAC,kDAAkD,CAAC,UAAU,CACL,OAAQ,EAC3E,IAAI,CACL,CAAC;gBACJ,KAAK,aAAa;oBAChB,OAAO,KAAK,CAAC,6CAA6C,CAAC,UAAU,CACL,OAAQ,EACtE,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;IAhCe,8CAAU,aAgCzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAwC;QAC7E,MAAM,OAAO,mCACR,GAAG,GACH;YACD,4BAA4B,EAAE,GAAG,CAAC,0BAA0B;gBAC1D,CAAC,CAAC,KAAK,CAAC,0BAA0B,CAAC,sBAAsB,CAAC,GAAG,CAAC,0BAA0B,CAAC;gBACzF,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,IAAI,GAAG,IAAI,MAAM,IAAI,GAAG,IAAI,GAAG,CAAC,IAAI,EAAE;YACpC,QAAQ,GAAG,CAAC,IAAI,EAAE;gBAChB,KAAK,aAAa;oBAChB,OAAO,KAAK,CAAC,6CAA6C,CAAC,sBAAsB,CACjB,OAAQ,EACtE,IAAI,CACL,CAAC;gBACJ,KAAK,kBAAkB;oBACrB,OAAO,KAAK,CAAC,kDAAkD,CAAC,sBAAsB,CACjB,OAAQ,EAC3E,IAAI,CACL,CAAC;gBACJ,KAAK,aAAa;oBAChB,OAAO,KAAK,CAAC,6CAA6C,CAAC,sBAAsB,CACjB,OAAQ,EACtE,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;IAhCe,0DAAsB,yBAgCrC,CAAA;AACH,CAAC,EAnEgB,mCAAmC,GAAnC,2CAAmC,KAAnC,2CAAmC,QAmEnD"}
|
|
@@ -0,0 +1,28 @@
|
|
|
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 used from validation block.
|
|
19
|
+
*
|
|
20
|
+
*/
|
|
21
|
+
export interface ValidationBlockClientAppDetails extends model.ClientAppDetails {
|
|
22
|
+
"type": string;
|
|
23
|
+
}
|
|
24
|
+
export declare namespace ValidationBlockClientAppDetails {
|
|
25
|
+
function getJsonObj(obj: ValidationBlockClientAppDetails, isParentJsonObj?: boolean): object;
|
|
26
|
+
const type = "VALIDATION_BLOCK";
|
|
27
|
+
function getDeserializedJsonObj(obj: ValidationBlockClientAppDetails, isParentJsonObj?: boolean): object;
|
|
28
|
+
}
|
|
@@ -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.ValidationBlockClientAppDetails = void 0;
|
|
38
|
+
const model = __importStar(require("../model"));
|
|
39
|
+
var ValidationBlockClientAppDetails;
|
|
40
|
+
(function (ValidationBlockClientAppDetails) {
|
|
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
|
+
ValidationBlockClientAppDetails.getJsonObj = getJsonObj;
|
|
48
|
+
ValidationBlockClientAppDetails.type = "VALIDATION_BLOCK";
|
|
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
|
+
ValidationBlockClientAppDetails.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
56
|
+
})(ValidationBlockClientAppDetails = exports.ValidationBlockClientAppDetails || (exports.ValidationBlockClientAppDetails = {}));
|
|
57
|
+
//# sourceMappingURL=validation-block-client-app-details.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"validation-block-client-app-details.js","sourceRoot":"","sources":["../../../../../lib/apigateway/lib/model/validation-block-client-app-details.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAWlC,IAAiB,+BAA+B,CA4B/C;AA5BD,WAAiB,+BAA+B;IAC9C,SAAgB,UAAU,CACxB,GAAoC,EACpC,eAAyB;QAEzB,MAAM,OAAO,mCACR,CAAC,eAAe;YACjB,CAAC,CAAC,GAAG;YACL,CAAC,CAAE,KAAK,CAAC,gBAAgB,CAAC,UAAU,CAAC,GAAG,CAAqC,CAAC,GAC7E,EAAE,CACN,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAZe,0CAAU,aAYzB,CAAA;IACY,oCAAI,GAAG,kBAAkB,CAAC;IACvC,SAAgB,sBAAsB,CACpC,GAAoC,EACpC,eAAyB;QAEzB,MAAM,OAAO,mCACR,CAAC,eAAe;YACjB,CAAC,CAAC,GAAG;YACL,CAAC,CAAE,KAAK,CAAC,gBAAgB,CAAC,sBAAsB,CAAC,GAAG,CAAqC,CAAC,GACzF,EAAE,CACN,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAZe,sDAAsB,yBAYrC,CAAA;AACH,CAAC,EA5BgB,+BAA+B,GAA/B,uCAA+B,KAA/B,uCAA+B,QA4B/C"}
|