oci-apigateway 2.48.0 → 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
package/lib/model/index.js
CHANGED
|
@@ -34,11 +34,14 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
34
34
|
return result;
|
|
35
35
|
};
|
|
36
36
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
37
|
-
exports.
|
|
38
|
-
exports.
|
|
39
|
-
exports.
|
|
37
|
+
exports.EntitlementTarget = exports.EntitlementSummary = exports.Entitlement = exports.DynamicSelectionKey = exports.DynamicRoutingTypeRoutingBackend = exports.DynamicAuthenticationPolicy = exports.DeploymentSummary = exports.DeploymentCollection = exports.Deployment = exports.CreateUsagePlanDetails = exports.CreateSubscriberDetails = exports.CreateSdkDetails = exports.CreateGatewayDetails = exports.CreateDeploymentDetails = exports.CreateCertificateDetails = exports.CreateApiDetails = exports.CorsPolicy = exports.ContentValidation = exports.ClientSummary = exports.ClientAppDetails = exports.Client = exports.ChangeUsagePlanCompartmentDetails = exports.ChangeSubscriberCompartmentDetails = exports.ChangeGatewayCompartmentDetails = exports.ChangeDeploymentCompartmentDetails = exports.ChangeCertificateCompartmentDetails = exports.ChangeApiCompartmentDetails = exports.CertificateSummary = exports.CertificateCollection = exports.Certificate = exports.CaBundle = exports.BodyValidationRequestPolicy = exports.AuthenticationServerPolicy = exports.AuthenticationPolicy = exports.ApiValidations = exports.ApiValidationResult = exports.ApiValidationDetails = exports.ApiValidationDetail = exports.ApiSummary = exports.ApiSpecificationRouteResponsePolicies = exports.ApiSpecificationRouteRequestPolicies = exports.ApiSpecificationRouteBackend = exports.ApiSpecificationRoute = exports.ApiSpecificationRequestPolicies = exports.ApiSpecificationLoggingPolicies = exports.ApiSpecification = exports.ApiCollection = exports.Api = exports.AdditionalValidationPolicy = exports.AccessLogPolicy = void 0;
|
|
38
|
+
exports.SubscriberSummary = exports.SubscriberCollection = exports.Subscriber = exports.StaticPublicKey = exports.SourceUriDetails = exports.SetQueryParameterPolicyItem = exports.SetQueryParameterPolicy = exports.SetHeaderPolicyItem = exports.SetHeaderPolicy = exports.SelectionSourcePolicy = exports.SdkSummary = exports.SdkLanguageTypes = exports.SdkLanguageTypeSummary = exports.SdkLanguageTypeCollection = exports.SdkLanguageOptionalParametersAllowedValue = exports.SdkLanguageOptionalParameters = exports.SdkCollection = exports.Sdk = exports.RouteAuthorizationPolicy = exports.ResponseCacheStorePolicy = exports.ResponseCacheRespServer = exports.ResponseCacheLookupPolicy = exports.ResponseCacheDetails = exports.RequestParameterValidation = exports.RenameQueryParameterPolicyItem = exports.RenameQueryParameterPolicy = exports.RenameHeaderPolicyItem = exports.RenameHeaderPolicy = exports.RateLimitingPolicy = exports.RateLimit = exports.Quota = exports.QueryParameterValidationRequestPolicy = exports.QueryParameterValidationItem = exports.QueryParameterTransformationPolicy = exports.PublicKeySet = exports.MutualTlsDetails = exports.JsonWebTokenClaim = exports.IpAddress = exports.HeaderValidationRequestPolicy = exports.HeaderValidationItem = exports.HeaderTransformationPolicy = exports.HeaderFieldSpecification = exports.GatewaySummary = exports.GatewayCollection = exports.Gateway = exports.FilterQueryParameterPolicyItem = exports.FilterQueryParameterPolicy = exports.FilterHeaderPolicyItem = exports.FilterHeaderPolicy = exports.ExecutionLogPolicy = void 0;
|
|
39
|
+
exports.TokenAuthenticationPolicy = exports.StockResponseBackend = exports.StaticPublicKeySet = exports.SingleSelectionSourcePolicy = exports.SimpleLookupPolicy = exports.RemoteJsonWebKeySet = exports.PemEncodedPublicKey = exports.OracleFunctionBackend = exports.OAuth2ResponseValidationFailurePolicy = exports.OAuth2LogoutBackend = exports.NoContentValidation = exports.NoCache = exports.ModifyResponseValidationFailurePolicy = exports.JwtAuthenticationPolicy = exports.JsonWebKey = exports.HTTPBackend = exports.FixedTTLResponseCacheStorePolicy = exports.ExternalRespCache = exports.DynamicRoutingBackend = exports.DiscoveryUriSourceUriDetails = exports.CustomClientAppDetails = exports.CustomAuthenticationPolicy = exports.CertificatesCertificateAuthority = exports.CertificatesCaBundle = exports.AuthenticationOnlyRouteAuthorizationPolicy = exports.AnyOfSelectionKey = exports.AnyOfRouteAuthorizationPolicy = exports.AnonymousRouteAuthorizationPolicy = exports.WorkRequestSummary = exports.WorkRequestResource = exports.WorkRequestLogCollection = exports.WorkRequestLog = exports.WorkRequestErrorCollection = exports.WorkRequestError = exports.WorkRequestCollection = exports.WorkRequest = exports.ValidationRequestPolicy = exports.ValidationFailurePolicy = exports.UsagePlansPolicy = exports.UsagePlanSummary = exports.UsagePlanCollection = exports.UsagePlan = exports.UpdateUsagePlanDetails = exports.UpdateSubscriberDetails = exports.UpdateSdkDetails = exports.UpdateGatewayDetails = exports.UpdateDeploymentDetails = exports.UpdateCertificateDetails = exports.UpdateApiDetails = exports.TokenAuthenticationValidationPolicy = void 0;
|
|
40
|
+
exports.WildcardSelectionKey = exports.ValidationBlockSourceUriDetails = exports.ValidationBlockClientAppDetails = exports.TokenAuthenticationStaticKeysValidationPolicy = exports.TokenAuthenticationRemoteJWKSValidationPolicy = exports.TokenAuthenticationRemoteDiscoveryValidationPolicy = void 0;
|
|
40
41
|
const AccessLogPolicy = __importStar(require("./access-log-policy"));
|
|
41
42
|
exports.AccessLogPolicy = AccessLogPolicy.AccessLogPolicy;
|
|
43
|
+
const AdditionalValidationPolicy = __importStar(require("./additional-validation-policy"));
|
|
44
|
+
exports.AdditionalValidationPolicy = AdditionalValidationPolicy.AdditionalValidationPolicy;
|
|
42
45
|
const Api = __importStar(require("./api"));
|
|
43
46
|
exports.Api = Api.Api;
|
|
44
47
|
const ApiCollection = __importStar(require("./api-collection"));
|
|
@@ -95,6 +98,8 @@ const ChangeUsagePlanCompartmentDetails = __importStar(require("./change-usage-p
|
|
|
95
98
|
exports.ChangeUsagePlanCompartmentDetails = ChangeUsagePlanCompartmentDetails.ChangeUsagePlanCompartmentDetails;
|
|
96
99
|
const Client = __importStar(require("./client"));
|
|
97
100
|
exports.Client = Client.Client;
|
|
101
|
+
const ClientAppDetails = __importStar(require("./client-app-details"));
|
|
102
|
+
exports.ClientAppDetails = ClientAppDetails.ClientAppDetails;
|
|
98
103
|
const ClientSummary = __importStar(require("./client-summary"));
|
|
99
104
|
exports.ClientSummary = ClientSummary.ClientSummary;
|
|
100
105
|
const ContentValidation = __importStar(require("./content-validation"));
|
|
@@ -223,6 +228,8 @@ const SetQueryParameterPolicy = __importStar(require("./set-query-parameter-poli
|
|
|
223
228
|
exports.SetQueryParameterPolicy = SetQueryParameterPolicy.SetQueryParameterPolicy;
|
|
224
229
|
const SetQueryParameterPolicyItem = __importStar(require("./set-query-parameter-policy-item"));
|
|
225
230
|
exports.SetQueryParameterPolicyItem = SetQueryParameterPolicyItem.SetQueryParameterPolicyItem;
|
|
231
|
+
const SourceUriDetails = __importStar(require("./source-uri-details"));
|
|
232
|
+
exports.SourceUriDetails = SourceUriDetails.SourceUriDetails;
|
|
226
233
|
const StaticPublicKey = __importStar(require("./static-public-key"));
|
|
227
234
|
exports.StaticPublicKey = StaticPublicKey.StaticPublicKey;
|
|
228
235
|
const Subscriber = __importStar(require("./subscriber"));
|
|
@@ -231,6 +238,8 @@ const SubscriberCollection = __importStar(require("./subscriber-collection"));
|
|
|
231
238
|
exports.SubscriberCollection = SubscriberCollection.SubscriberCollection;
|
|
232
239
|
const SubscriberSummary = __importStar(require("./subscriber-summary"));
|
|
233
240
|
exports.SubscriberSummary = SubscriberSummary.SubscriberSummary;
|
|
241
|
+
const TokenAuthenticationValidationPolicy = __importStar(require("./token-authentication-validation-policy"));
|
|
242
|
+
exports.TokenAuthenticationValidationPolicy = TokenAuthenticationValidationPolicy.TokenAuthenticationValidationPolicy;
|
|
234
243
|
const UpdateApiDetails = __importStar(require("./update-api-details"));
|
|
235
244
|
exports.UpdateApiDetails = UpdateApiDetails.UpdateApiDetails;
|
|
236
245
|
const UpdateCertificateDetails = __importStar(require("./update-certificate-details"));
|
|
@@ -287,6 +296,10 @@ const CertificatesCertificateAuthority = __importStar(require("./certificates-ce
|
|
|
287
296
|
exports.CertificatesCertificateAuthority = CertificatesCertificateAuthority.CertificatesCertificateAuthority;
|
|
288
297
|
const CustomAuthenticationPolicy = __importStar(require("./custom-authentication-policy"));
|
|
289
298
|
exports.CustomAuthenticationPolicy = CustomAuthenticationPolicy.CustomAuthenticationPolicy;
|
|
299
|
+
const CustomClientAppDetails = __importStar(require("./custom-client-app-details"));
|
|
300
|
+
exports.CustomClientAppDetails = CustomClientAppDetails.CustomClientAppDetails;
|
|
301
|
+
const DiscoveryUriSourceUriDetails = __importStar(require("./discovery-uri-source-uri-details"));
|
|
302
|
+
exports.DiscoveryUriSourceUriDetails = DiscoveryUriSourceUriDetails.DiscoveryUriSourceUriDetails;
|
|
290
303
|
const DynamicRoutingBackend = __importStar(require("./dynamic-routing-backend"));
|
|
291
304
|
exports.DynamicRoutingBackend = DynamicRoutingBackend.DynamicRoutingBackend;
|
|
292
305
|
const ExternalRespCache = __importStar(require("./external-resp-cache"));
|
|
@@ -305,6 +318,10 @@ const NoCache = __importStar(require("./no-cache"));
|
|
|
305
318
|
exports.NoCache = NoCache.NoCache;
|
|
306
319
|
const NoContentValidation = __importStar(require("./no-content-validation"));
|
|
307
320
|
exports.NoContentValidation = NoContentValidation.NoContentValidation;
|
|
321
|
+
const OAuth2LogoutBackend = __importStar(require("./o-auth2-logout-backend"));
|
|
322
|
+
exports.OAuth2LogoutBackend = OAuth2LogoutBackend.OAuth2LogoutBackend;
|
|
323
|
+
const OAuth2ResponseValidationFailurePolicy = __importStar(require("./o-auth2-response-validation-failure-policy"));
|
|
324
|
+
exports.OAuth2ResponseValidationFailurePolicy = OAuth2ResponseValidationFailurePolicy.OAuth2ResponseValidationFailurePolicy;
|
|
308
325
|
const OracleFunctionBackend = __importStar(require("./oracle-function-backend"));
|
|
309
326
|
exports.OracleFunctionBackend = OracleFunctionBackend.OracleFunctionBackend;
|
|
310
327
|
const PemEncodedPublicKey = __importStar(require("./pem-encoded-public-key"));
|
|
@@ -319,6 +336,18 @@ const StaticPublicKeySet = __importStar(require("./static-public-key-set"));
|
|
|
319
336
|
exports.StaticPublicKeySet = StaticPublicKeySet.StaticPublicKeySet;
|
|
320
337
|
const StockResponseBackend = __importStar(require("./stock-response-backend"));
|
|
321
338
|
exports.StockResponseBackend = StockResponseBackend.StockResponseBackend;
|
|
339
|
+
const TokenAuthenticationPolicy = __importStar(require("./token-authentication-policy"));
|
|
340
|
+
exports.TokenAuthenticationPolicy = TokenAuthenticationPolicy.TokenAuthenticationPolicy;
|
|
341
|
+
const TokenAuthenticationRemoteDiscoveryValidationPolicy = __importStar(require("./token-authentication-remote-discovery-validation-policy"));
|
|
342
|
+
exports.TokenAuthenticationRemoteDiscoveryValidationPolicy = TokenAuthenticationRemoteDiscoveryValidationPolicy.TokenAuthenticationRemoteDiscoveryValidationPolicy;
|
|
343
|
+
const TokenAuthenticationRemoteJWKSValidationPolicy = __importStar(require("./token-authentication-remote-jw-ks-validation-policy"));
|
|
344
|
+
exports.TokenAuthenticationRemoteJWKSValidationPolicy = TokenAuthenticationRemoteJWKSValidationPolicy.TokenAuthenticationRemoteJWKSValidationPolicy;
|
|
345
|
+
const TokenAuthenticationStaticKeysValidationPolicy = __importStar(require("./token-authentication-static-keys-validation-policy"));
|
|
346
|
+
exports.TokenAuthenticationStaticKeysValidationPolicy = TokenAuthenticationStaticKeysValidationPolicy.TokenAuthenticationStaticKeysValidationPolicy;
|
|
347
|
+
const ValidationBlockClientAppDetails = __importStar(require("./validation-block-client-app-details"));
|
|
348
|
+
exports.ValidationBlockClientAppDetails = ValidationBlockClientAppDetails.ValidationBlockClientAppDetails;
|
|
349
|
+
const ValidationBlockSourceUriDetails = __importStar(require("./validation-block-source-uri-details"));
|
|
350
|
+
exports.ValidationBlockSourceUriDetails = ValidationBlockSourceUriDetails.ValidationBlockSourceUriDetails;
|
|
322
351
|
const WildcardSelectionKey = __importStar(require("./wildcard-selection-key"));
|
|
323
352
|
exports.WildcardSelectionKey = WildcardSelectionKey.WildcardSelectionKey;
|
|
324
353
|
//# sourceMappingURL=index.js.map
|
package/lib/model/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../lib/apigateway/lib/model/index.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../lib/apigateway/lib/model/index.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,qEAAuD;AACzC,QAAA,eAAe,GAAG,eAAe,CAAC,eAAe,CAAC;AAChE,2FAA6E;AAC/D,QAAA,0BAA0B,GAAG,0BAA0B,CAAC,0BAA0B,CAAC;AACjG,2CAA6B;AACf,QAAA,GAAG,GAAG,GAAG,CAAC,GAAG,CAAC;AAC5B,gEAAkD;AACpC,QAAA,aAAa,GAAG,aAAa,CAAC,aAAa,CAAC;AAC1D,sEAAwD;AAC1C,QAAA,gBAAgB,GAAG,gBAAgB,CAAC,gBAAgB,CAAC;AACnE,sGAAwF;AAC1E,QAAA,+BAA+B,GAAG,+BAA+B,CAAC,+BAA+B,CAAC;AAChH,sGAAwF;AAC1E,QAAA,+BAA+B,GAAG,+BAA+B,CAAC,+BAA+B,CAAC;AAChH,iFAAmE;AACrD,QAAA,qBAAqB,GAAG,qBAAq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yBAAyB,CAAC;AAC9F,8IAAgI;AAClH,QAAA,kDAAkD,GAAG,kDAAkD,CAAC,kDAAkD,CAAC;AACzK,qIAAuH;AACzG,QAAA,6CAA6C,GAAG,6CAA6C,CAAC,6CAA6C,CAAC;AAC1J,oIAAsH;AACxG,QAAA,6CAA6C,GAAG,6CAA6C,CAAC,6CAA6C,CAAC;AAC1J,uGAAyF;AAC3E,QAAA,+BAA+B,GAAG,+BAA+B,CAAC,+BAA+B,CAAC;AAChH,uGAAyF;AAC3E,QAAA,+BAA+B,GAAG,+BAA+B,CAAC,+BAA+B,CAAC;AAChH,+EAAiE;AACnD,QAAA,oBAAoB,GAAG,oBAAoB,CAAC,oBAAoB,CAAC"}
|
|
@@ -34,6 +34,12 @@ export interface JwtAuthenticationPolicy extends model.AuthenticationPolicy {
|
|
|
34
34
|
*
|
|
35
35
|
*/
|
|
36
36
|
"tokenAuthScheme"?: string;
|
|
37
|
+
/**
|
|
38
|
+
* The maximum expected time difference between the system clocks
|
|
39
|
+
* of the token issuer and the API Gateway.
|
|
40
|
+
* Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.
|
|
41
|
+
*/
|
|
42
|
+
"maxClockSkewInSeconds"?: number;
|
|
37
43
|
/**
|
|
38
44
|
* A list of parties that could have issued the token.
|
|
39
45
|
*/
|
|
@@ -46,12 +52,6 @@ export interface JwtAuthenticationPolicy extends model.AuthenticationPolicy {
|
|
|
46
52
|
* A list of claims which should be validated to consider the token valid.
|
|
47
53
|
*/
|
|
48
54
|
"verifyClaims"?: Array<model.JsonWebTokenClaim>;
|
|
49
|
-
/**
|
|
50
|
-
* The maximum expected time difference between the system clocks
|
|
51
|
-
* of the token issuer and the API Gateway.
|
|
52
|
-
* Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.
|
|
53
|
-
*/
|
|
54
|
-
"maxClockSkewInSeconds"?: number;
|
|
55
55
|
"publicKeys": model.StaticPublicKeySet | model.RemoteJsonWebKeySet;
|
|
56
56
|
"type": string;
|
|
57
57
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"jwt-authentication-policy.js","sourceRoot":"","sources":["../../../../../lib/apigateway/lib/model/jwt-authentication-policy.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AA8ClC,IAAiB,uBAAuB,
|
|
1
|
+
{"version":3,"file":"jwt-authentication-policy.js","sourceRoot":"","sources":["../../../../../lib/apigateway/lib/model/jwt-authentication-policy.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AA8ClC,IAAiB,uBAAuB,CAyCvC;AAzCD,WAAiB,uBAAuB;IACtC,SAAgB,UAAU,CAAC,GAA4B,EAAE,eAAyB;QAChF,MAAM,OAAO,mCACR,CAAC,eAAe;YACjB,CAAC,CAAC,GAAG;YACL,CAAC,CAAE,KAAK,CAAC,oBAAoB,CAAC,UAAU,CAAC,GAAG,CAA6B,CAAC,GACzE;YACD,cAAc,EAAE,GAAG,CAAC,YAAY;gBAC9B,CAAC,CAAC,GAAG,CAAC,YAAY,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;oBAC1B,OAAO,KAAK,CAAC,iBAAiB,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC;gBAClD,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;YACb,YAAY,EAAE,GAAG,CAAC,UAAU,CAAC,CAAC,CAAC,KAAK,CAAC,YAAY,CAAC,UAAU,CAAC,GAAG,CAAC,UAAU,CAAC,CAAC,CAAC,CAAC,SAAS;SACzF,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAhBe,kCAAU,aAgBzB,CAAA;IACY,4BAAI,GAAG,oBAAoB,CAAC;IACzC,SAAgB,sBAAsB,CACpC,GAA4B,EAC5B,eAAyB;QAEzB,MAAM,OAAO,mCACR,CAAC,eAAe;YACjB,CAAC,CAAC,GAAG;YACL,CAAC,CAAE,KAAK,CAAC,oBAAoB,CAAC,sBAAsB,CAAC,GAAG,CAA6B,CAAC,GACrF;YACD,cAAc,EAAE,GAAG,CAAC,YAAY;gBAC9B,CAAC,CAAC,GAAG,CAAC,YAAY,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;oBAC1B,OAAO,KAAK,CAAC,iBAAiB,CAAC,sBAAsB,CAAC,IAAI,CAAC,CAAC;gBAC9D,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;YACb,YAAY,EAAE,GAAG,CAAC,UAAU;gBAC1B,CAAC,CAAC,KAAK,CAAC,YAAY,CAAC,sBAAsB,CAAC,GAAG,CAAC,UAAU,CAAC;gBAC3D,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IArBe,8CAAsB,yBAqBrC,CAAA;AACH,CAAC,EAzCgB,uBAAuB,GAAvB,+BAAuB,KAAvB,+BAAuB,QAyCvC"}
|
|
@@ -0,0 +1,34 @@
|
|
|
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
|
+
* Backend which when called triggers OAuth2 logout.
|
|
19
|
+
*
|
|
20
|
+
*/
|
|
21
|
+
export interface OAuth2LogoutBackend extends model.ApiSpecificationRouteBackend {
|
|
22
|
+
"allowedPostLogoutUris"?: Array<string>;
|
|
23
|
+
/**
|
|
24
|
+
* Defines a state that should be shared on redirecting to postLogout URL.
|
|
25
|
+
*
|
|
26
|
+
*/
|
|
27
|
+
"postLogoutState"?: string;
|
|
28
|
+
"type": string;
|
|
29
|
+
}
|
|
30
|
+
export declare namespace OAuth2LogoutBackend {
|
|
31
|
+
function getJsonObj(obj: OAuth2LogoutBackend, isParentJsonObj?: boolean): object;
|
|
32
|
+
const type = "OAUTH2_LOGOUT_BACKEND";
|
|
33
|
+
function getDeserializedJsonObj(obj: OAuth2LogoutBackend, isParentJsonObj?: boolean): object;
|
|
34
|
+
}
|
|
@@ -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.OAuth2LogoutBackend = void 0;
|
|
38
|
+
const model = __importStar(require("../model"));
|
|
39
|
+
var OAuth2LogoutBackend;
|
|
40
|
+
(function (OAuth2LogoutBackend) {
|
|
41
|
+
function getJsonObj(obj, isParentJsonObj) {
|
|
42
|
+
const jsonObj = Object.assign(Object.assign({}, (isParentJsonObj
|
|
43
|
+
? obj
|
|
44
|
+
: model.ApiSpecificationRouteBackend.getJsonObj(obj))), {});
|
|
45
|
+
return jsonObj;
|
|
46
|
+
}
|
|
47
|
+
OAuth2LogoutBackend.getJsonObj = getJsonObj;
|
|
48
|
+
OAuth2LogoutBackend.type = "OAUTH2_LOGOUT_BACKEND";
|
|
49
|
+
function getDeserializedJsonObj(obj, isParentJsonObj) {
|
|
50
|
+
const jsonObj = Object.assign(Object.assign({}, (isParentJsonObj
|
|
51
|
+
? obj
|
|
52
|
+
: model.ApiSpecificationRouteBackend.getDeserializedJsonObj(obj))), {});
|
|
53
|
+
return jsonObj;
|
|
54
|
+
}
|
|
55
|
+
OAuth2LogoutBackend.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
56
|
+
})(OAuth2LogoutBackend = exports.OAuth2LogoutBackend || (exports.OAuth2LogoutBackend = {}));
|
|
57
|
+
//# sourceMappingURL=o-auth2-logout-backend.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"o-auth2-logout-backend.js","sourceRoot":"","sources":["../../../../../lib/apigateway/lib/model/o-auth2-logout-backend.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAkBlC,IAAiB,mBAAmB,CAyBnC;AAzBD,WAAiB,mBAAmB;IAClC,SAAgB,UAAU,CAAC,GAAwB,EAAE,eAAyB;QAC5E,MAAM,OAAO,mCACR,CAAC,eAAe;YACjB,CAAC,CAAC,GAAG;YACL,CAAC,CAAE,KAAK,CAAC,4BAA4B,CAAC,UAAU,CAAC,GAAG,CAAyB,CAAC,GAC7E,EAAE,CACN,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IATe,8BAAU,aASzB,CAAA;IACY,wBAAI,GAAG,uBAAuB,CAAC;IAC5C,SAAgB,sBAAsB,CACpC,GAAwB,EACxB,eAAyB;QAEzB,MAAM,OAAO,mCACR,CAAC,eAAe;YACjB,CAAC,CAAC,GAAG;YACL,CAAC,CAAE,KAAK,CAAC,4BAA4B,CAAC,sBAAsB,CAAC,GAAG,CAAyB,CAAC,GACzF,EAAE,CACN,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAZe,0CAAsB,yBAYrC,CAAA;AACH,CAAC,EAzBgB,mBAAmB,GAAnB,2BAAmB,KAAnB,2BAAmB,QAyBnC"}
|
|
@@ -0,0 +1,75 @@
|
|
|
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
|
+
* Policy to specify OAuth2 flow configuration.
|
|
19
|
+
*
|
|
20
|
+
*/
|
|
21
|
+
export interface OAuth2ResponseValidationFailurePolicy extends model.ValidationFailurePolicy {
|
|
22
|
+
"clientDetails": model.CustomClientAppDetails | model.ValidationBlockClientAppDetails;
|
|
23
|
+
"sourceUriDetails": model.DiscoveryUriSourceUriDetails | model.ValidationBlockSourceUriDetails;
|
|
24
|
+
/**
|
|
25
|
+
* List of scopes.
|
|
26
|
+
*/
|
|
27
|
+
"scopes": Array<string>;
|
|
28
|
+
/**
|
|
29
|
+
* The duration for which the OAuth2 success token should be cached before it is
|
|
30
|
+
* fetched again.
|
|
31
|
+
* Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.
|
|
32
|
+
*/
|
|
33
|
+
"maxExpiryDurationInHours"?: number;
|
|
34
|
+
/**
|
|
35
|
+
* Defines whether or not to use cookies for session maintenance.
|
|
36
|
+
*
|
|
37
|
+
*/
|
|
38
|
+
"useCookiesForSession"?: boolean;
|
|
39
|
+
/**
|
|
40
|
+
* Defines whether or not to use cookies for OAuth2 intermediate steps.
|
|
41
|
+
*
|
|
42
|
+
*/
|
|
43
|
+
"useCookiesForIntermediateSteps"?: boolean;
|
|
44
|
+
/**
|
|
45
|
+
* Defines whether or not to support PKCE.
|
|
46
|
+
*
|
|
47
|
+
*/
|
|
48
|
+
"usePkce"?: boolean;
|
|
49
|
+
/**
|
|
50
|
+
* Response Type.
|
|
51
|
+
*/
|
|
52
|
+
"responseType": OAuth2ResponseValidationFailurePolicy.ResponseType;
|
|
53
|
+
/**
|
|
54
|
+
* The path to be used as fallback after OAuth2.
|
|
55
|
+
*/
|
|
56
|
+
"fallbackRedirectPath"?: string;
|
|
57
|
+
/**
|
|
58
|
+
* The path to be used as logout.
|
|
59
|
+
*/
|
|
60
|
+
"logoutPath"?: string;
|
|
61
|
+
"type": string;
|
|
62
|
+
}
|
|
63
|
+
export declare namespace OAuth2ResponseValidationFailurePolicy {
|
|
64
|
+
enum ResponseType {
|
|
65
|
+
Code = "CODE",
|
|
66
|
+
/**
|
|
67
|
+
* This value is used if a service returns a value for this enum that is not recognized by this
|
|
68
|
+
* version of the SDK.
|
|
69
|
+
*/
|
|
70
|
+
UnknownValue = "UNKNOWN_VALUE"
|
|
71
|
+
}
|
|
72
|
+
function getJsonObj(obj: OAuth2ResponseValidationFailurePolicy, isParentJsonObj?: boolean): object;
|
|
73
|
+
const type = "OAUTH2";
|
|
74
|
+
function getDeserializedJsonObj(obj: OAuth2ResponseValidationFailurePolicy, isParentJsonObj?: boolean): object;
|
|
75
|
+
}
|
|
@@ -0,0 +1,80 @@
|
|
|
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.OAuth2ResponseValidationFailurePolicy = void 0;
|
|
38
|
+
const model = __importStar(require("../model"));
|
|
39
|
+
var OAuth2ResponseValidationFailurePolicy;
|
|
40
|
+
(function (OAuth2ResponseValidationFailurePolicy) {
|
|
41
|
+
let ResponseType;
|
|
42
|
+
(function (ResponseType) {
|
|
43
|
+
ResponseType["Code"] = "CODE";
|
|
44
|
+
/**
|
|
45
|
+
* This value is used if a service returns a value for this enum that is not recognized by this
|
|
46
|
+
* version of the SDK.
|
|
47
|
+
*/
|
|
48
|
+
ResponseType["UnknownValue"] = "UNKNOWN_VALUE";
|
|
49
|
+
})(ResponseType = OAuth2ResponseValidationFailurePolicy.ResponseType || (OAuth2ResponseValidationFailurePolicy.ResponseType = {}));
|
|
50
|
+
function getJsonObj(obj, isParentJsonObj) {
|
|
51
|
+
const jsonObj = Object.assign(Object.assign({}, (isParentJsonObj
|
|
52
|
+
? obj
|
|
53
|
+
: model.ValidationFailurePolicy.getJsonObj(obj))), {
|
|
54
|
+
"clientDetails": obj.clientDetails
|
|
55
|
+
? model.ClientAppDetails.getJsonObj(obj.clientDetails)
|
|
56
|
+
: undefined,
|
|
57
|
+
"sourceUriDetails": obj.sourceUriDetails
|
|
58
|
+
? model.SourceUriDetails.getJsonObj(obj.sourceUriDetails)
|
|
59
|
+
: undefined
|
|
60
|
+
});
|
|
61
|
+
return jsonObj;
|
|
62
|
+
}
|
|
63
|
+
OAuth2ResponseValidationFailurePolicy.getJsonObj = getJsonObj;
|
|
64
|
+
OAuth2ResponseValidationFailurePolicy.type = "OAUTH2";
|
|
65
|
+
function getDeserializedJsonObj(obj, isParentJsonObj) {
|
|
66
|
+
const jsonObj = Object.assign(Object.assign({}, (isParentJsonObj
|
|
67
|
+
? obj
|
|
68
|
+
: model.ValidationFailurePolicy.getDeserializedJsonObj(obj))), {
|
|
69
|
+
"clientDetails": obj.clientDetails
|
|
70
|
+
? model.ClientAppDetails.getDeserializedJsonObj(obj.clientDetails)
|
|
71
|
+
: undefined,
|
|
72
|
+
"sourceUriDetails": obj.sourceUriDetails
|
|
73
|
+
? model.SourceUriDetails.getDeserializedJsonObj(obj.sourceUriDetails)
|
|
74
|
+
: undefined
|
|
75
|
+
});
|
|
76
|
+
return jsonObj;
|
|
77
|
+
}
|
|
78
|
+
OAuth2ResponseValidationFailurePolicy.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
79
|
+
})(OAuth2ResponseValidationFailurePolicy = exports.OAuth2ResponseValidationFailurePolicy || (exports.OAuth2ResponseValidationFailurePolicy = {}));
|
|
80
|
+
//# sourceMappingURL=o-auth2-response-validation-failure-policy.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"o-auth2-response-validation-failure-policy.js","sourceRoot":"","sources":["../../../../../lib/apigateway/lib/model/o-auth2-response-validation-failure-policy.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAmDlC,IAAiB,qCAAqC,CAqDrD;AArDD,WAAiB,qCAAqC;IACpD,IAAY,YAOX;IAPD,WAAY,YAAY;QACtB,6BAAa,CAAA;QACb;;;WAGG;QACH,8CAA8B,CAAA;IAChC,CAAC,EAPW,YAAY,GAAZ,kDAAY,KAAZ,kDAAY,QAOvB;IAED,SAAgB,UAAU,CACxB,GAA0C,EAC1C,eAAyB;QAEzB,MAAM,OAAO,mCACR,CAAC,eAAe;YACjB,CAAC,CAAC,GAAG;YACL,CAAC,CAAE,KAAK,CAAC,uBAAuB,CAAC,UAAU,CAAC,GAAG,CAA2C,CAAC,GAC1F;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;IAnBe,gDAAU,aAmBzB,CAAA;IACY,0CAAI,GAAG,QAAQ,CAAC;IAC7B,SAAgB,sBAAsB,CACpC,GAA0C,EAC1C,eAAyB;QAEzB,MAAM,OAAO,mCACR,CAAC,eAAe;YACjB,CAAC,CAAC,GAAG;YACL,CAAC,CAAE,KAAK,CAAC,uBAAuB,CAAC,sBAAsB,CACnD,GAAG,CACsC,CAAC,GAC7C;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,4DAAsB,yBAqBrC,CAAA;AACH,CAAC,EArDgB,qCAAqC,GAArC,6CAAqC,KAArC,6CAAqC,QAqDrD"}
|
|
@@ -14,7 +14,7 @@ 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
|
+
* The type of selector to use when dynamically routing and dynamically authenticating requests.
|
|
18
18
|
*/
|
|
19
19
|
export interface SelectionSourcePolicy {
|
|
20
20
|
"type": string;
|
|
@@ -15,7 +15,7 @@ For more information, see
|
|
|
15
15
|
*/
|
|
16
16
|
import * as model from "../model";
|
|
17
17
|
/**
|
|
18
|
-
*
|
|
18
|
+
* The single context variable in an incoming request to match against specified selection keys when dynamically routing and dynamically authenticating requests.
|
|
19
19
|
*/
|
|
20
20
|
export interface SingleSelectionSourcePolicy extends model.SelectionSourcePolicy {
|
|
21
21
|
/**
|
|
@@ -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
|
+
* Auth endpoint details.
|
|
18
|
+
*/
|
|
19
|
+
export interface SourceUriDetails {
|
|
20
|
+
"type": string;
|
|
21
|
+
}
|
|
22
|
+
export declare namespace SourceUriDetails {
|
|
23
|
+
function getJsonObj(obj: SourceUriDetails): object;
|
|
24
|
+
function getDeserializedJsonObj(obj: SourceUriDetails): 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.SourceUriDetails = void 0;
|
|
38
|
+
const model = __importStar(require("../model"));
|
|
39
|
+
const common = require("oci-common");
|
|
40
|
+
var SourceUriDetails;
|
|
41
|
+
(function (SourceUriDetails) {
|
|
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 "DISCOVERY_URI":
|
|
47
|
+
return model.DiscoveryUriSourceUriDetails.getJsonObj(jsonObj, true);
|
|
48
|
+
case "VALIDATION_BLOCK":
|
|
49
|
+
return model.ValidationBlockSourceUriDetails.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
|
+
SourceUriDetails.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 "DISCOVERY_URI":
|
|
63
|
+
return model.DiscoveryUriSourceUriDetails.getDeserializedJsonObj(jsonObj, true);
|
|
64
|
+
case "VALIDATION_BLOCK":
|
|
65
|
+
return model.ValidationBlockSourceUriDetails.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
|
+
SourceUriDetails.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
74
|
+
})(SourceUriDetails = exports.SourceUriDetails || (exports.SourceUriDetails = {}));
|
|
75
|
+
//# sourceMappingURL=source-uri-details.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"source-uri-details.js","sourceRoot":"","sources":["../../../../../lib/apigateway/lib/model/source-uri-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,eAAe;oBAClB,OAAO,KAAK,CAAC,4BAA4B,CAAC,UAAU,CACL,OAAQ,EACrD,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,eAAe;oBAClB,OAAO,KAAK,CAAC,4BAA4B,CAAC,sBAAsB,CACjB,OAAQ,EACrD,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"}
|
|
@@ -0,0 +1,51 @@
|
|
|
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
|
+
* Validate a token present in the header or query parameter. A valid
|
|
19
|
+
* policy must specify either tokenHeader or tokenQueryParam.
|
|
20
|
+
*
|
|
21
|
+
*/
|
|
22
|
+
export interface TokenAuthenticationPolicy extends model.AuthenticationPolicy {
|
|
23
|
+
/**
|
|
24
|
+
* The name of the header containing the authentication token.
|
|
25
|
+
*/
|
|
26
|
+
"tokenHeader"?: string;
|
|
27
|
+
/**
|
|
28
|
+
* The name of the query parameter containing the authentication token.
|
|
29
|
+
*/
|
|
30
|
+
"tokenQueryParam"?: string;
|
|
31
|
+
/**
|
|
32
|
+
* The authentication scheme that is to be used when authenticating
|
|
33
|
+
* the token. This must to be provided if \"tokenHeader\" is specified.
|
|
34
|
+
*
|
|
35
|
+
*/
|
|
36
|
+
"tokenAuthScheme"?: string;
|
|
37
|
+
/**
|
|
38
|
+
* The maximum expected time difference between the system clocks
|
|
39
|
+
* of the token issuer and the API Gateway.
|
|
40
|
+
* Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.
|
|
41
|
+
*/
|
|
42
|
+
"maxClockSkewInSeconds"?: number;
|
|
43
|
+
"validationPolicy": model.TokenAuthenticationRemoteJWKSValidationPolicy | model.TokenAuthenticationRemoteDiscoveryValidationPolicy | model.TokenAuthenticationStaticKeysValidationPolicy;
|
|
44
|
+
"validationFailurePolicy"?: model.ModifyResponseValidationFailurePolicy | model.OAuth2ResponseValidationFailurePolicy;
|
|
45
|
+
"type": string;
|
|
46
|
+
}
|
|
47
|
+
export declare namespace TokenAuthenticationPolicy {
|
|
48
|
+
function getJsonObj(obj: TokenAuthenticationPolicy, isParentJsonObj?: boolean): object;
|
|
49
|
+
const type = "TOKEN_AUTHENTICATION";
|
|
50
|
+
function getDeserializedJsonObj(obj: TokenAuthenticationPolicy, isParentJsonObj?: boolean): object;
|
|
51
|
+
}
|