@aws-sdk/client-sso
Advanced tools
Comparing version 3.621.0 to 3.622.0
@@ -147,7 +147,7 @@ "use strict"; | ||
const _config_1 = resolveClientEndpointParameters(_config_0); | ||
const _config_2 = (0, import_config_resolver.resolveRegionConfig)(_config_1); | ||
const _config_3 = (0, import_middleware_endpoint.resolveEndpointConfig)(_config_2); | ||
const _config_4 = (0, import_middleware_host_header.resolveHostHeaderConfig)(_config_3); | ||
const _config_5 = (0, import_middleware_user_agent.resolveUserAgentConfig)(_config_4); | ||
const _config_6 = (0, import_middleware_retry.resolveRetryConfig)(_config_5); | ||
const _config_2 = (0, import_middleware_user_agent.resolveUserAgentConfig)(_config_1); | ||
const _config_3 = (0, import_middleware_retry.resolveRetryConfig)(_config_2); | ||
const _config_4 = (0, import_config_resolver.resolveRegionConfig)(_config_3); | ||
const _config_5 = (0, import_middleware_host_header.resolveHostHeaderConfig)(_config_4); | ||
const _config_6 = (0, import_middleware_endpoint.resolveEndpointConfig)(_config_5); | ||
const _config_7 = (0, import_httpAuthSchemeProvider.resolveHttpAuthSchemeConfig)(_config_6); | ||
@@ -157,12 +157,14 @@ const _config_8 = resolveRuntimeExtensions(_config_7, (configuration == null ? void 0 : configuration.extensions) || []); | ||
this.config = _config_8; | ||
this.middlewareStack.use((0, import_middleware_user_agent.getUserAgentPlugin)(this.config)); | ||
this.middlewareStack.use((0, import_middleware_retry.getRetryPlugin)(this.config)); | ||
this.middlewareStack.use((0, import_middleware_content_length.getContentLengthPlugin)(this.config)); | ||
this.middlewareStack.use((0, import_middleware_host_header.getHostHeaderPlugin)(this.config)); | ||
this.middlewareStack.use((0, import_middleware_logger.getLoggerPlugin)(this.config)); | ||
this.middlewareStack.use((0, import_middleware_recursion_detection.getRecursionDetectionPlugin)(this.config)); | ||
this.middlewareStack.use((0, import_middleware_user_agent.getUserAgentPlugin)(this.config)); | ||
this.middlewareStack.use((0, import_middleware_retry.getRetryPlugin)(this.config)); | ||
this.middlewareStack.use((0, import_middleware_content_length.getContentLengthPlugin)(this.config)); | ||
this.middlewareStack.use( | ||
(0, import_core.getHttpAuthSchemeEndpointRuleSetPlugin)(this.config, { | ||
httpAuthSchemeParametersProvider: this.getDefaultHttpAuthSchemeParametersProvider(), | ||
identityProviderConfigProvider: this.getIdentityProviderConfigProvider() | ||
httpAuthSchemeParametersProvider: import_httpAuthSchemeProvider.defaultSSOHttpAuthSchemeParametersProvider, | ||
identityProviderConfigProvider: async (config) => new import_core.DefaultIdentityProviderConfig({ | ||
"aws.auth#sigv4": config.credentials | ||
}) | ||
}) | ||
@@ -180,10 +182,2 @@ ); | ||
} | ||
getDefaultHttpAuthSchemeParametersProvider() { | ||
return import_httpAuthSchemeProvider.defaultSSOHttpAuthSchemeParametersProvider; | ||
} | ||
getIdentityProviderConfigProvider() { | ||
return async (config) => new import_core.DefaultIdentityProviderConfig({ | ||
"aws.auth#sigv4": config.credentials | ||
}); | ||
} | ||
}; | ||
@@ -190,0 +184,0 @@ __name(_SSOClient, "SSOClient"); |
@@ -20,7 +20,7 @@ import { getHostHeaderPlugin, resolveHostHeaderConfig, } from "@aws-sdk/middleware-host-header"; | ||
const _config_1 = resolveClientEndpointParameters(_config_0); | ||
const _config_2 = resolveRegionConfig(_config_1); | ||
const _config_3 = resolveEndpointConfig(_config_2); | ||
const _config_4 = resolveHostHeaderConfig(_config_3); | ||
const _config_5 = resolveUserAgentConfig(_config_4); | ||
const _config_6 = resolveRetryConfig(_config_5); | ||
const _config_2 = resolveUserAgentConfig(_config_1); | ||
const _config_3 = resolveRetryConfig(_config_2); | ||
const _config_4 = resolveRegionConfig(_config_3); | ||
const _config_5 = resolveHostHeaderConfig(_config_4); | ||
const _config_6 = resolveEndpointConfig(_config_5); | ||
const _config_7 = resolveHttpAuthSchemeConfig(_config_6); | ||
@@ -30,11 +30,13 @@ const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []); | ||
this.config = _config_8; | ||
this.middlewareStack.use(getUserAgentPlugin(this.config)); | ||
this.middlewareStack.use(getRetryPlugin(this.config)); | ||
this.middlewareStack.use(getContentLengthPlugin(this.config)); | ||
this.middlewareStack.use(getHostHeaderPlugin(this.config)); | ||
this.middlewareStack.use(getLoggerPlugin(this.config)); | ||
this.middlewareStack.use(getRecursionDetectionPlugin(this.config)); | ||
this.middlewareStack.use(getUserAgentPlugin(this.config)); | ||
this.middlewareStack.use(getRetryPlugin(this.config)); | ||
this.middlewareStack.use(getContentLengthPlugin(this.config)); | ||
this.middlewareStack.use(getHttpAuthSchemeEndpointRuleSetPlugin(this.config, { | ||
httpAuthSchemeParametersProvider: this.getDefaultHttpAuthSchemeParametersProvider(), | ||
identityProviderConfigProvider: this.getIdentityProviderConfigProvider(), | ||
httpAuthSchemeParametersProvider: defaultSSOHttpAuthSchemeParametersProvider, | ||
identityProviderConfigProvider: async (config) => new DefaultIdentityProviderConfig({ | ||
"aws.auth#sigv4": config.credentials, | ||
}), | ||
})); | ||
@@ -46,10 +48,2 @@ this.middlewareStack.use(getHttpSigningPlugin(this.config)); | ||
} | ||
getDefaultHttpAuthSchemeParametersProvider() { | ||
return defaultSSOHttpAuthSchemeParametersProvider; | ||
} | ||
getIdentityProviderConfigProvider() { | ||
return async (config) => new DefaultIdentityProviderConfig({ | ||
"aws.auth#sigv4": config.credentials, | ||
}); | ||
} | ||
} |
@@ -33,3 +33,3 @@ import { AwsSdkSigV4AuthInputConfig, AwsSdkSigV4AuthResolvedConfig, AwsSdkSigV4PreviouslyResolved } from "@aws-sdk/core"; | ||
/** | ||
* experimentalIdentityAndAuth: Configuration of HttpAuthSchemes for a client which provides default identity providers and signers per auth scheme. | ||
* Configuration of HttpAuthSchemes for a client which provides default identity providers and signers per auth scheme. | ||
* @internal | ||
@@ -39,3 +39,3 @@ */ | ||
/** | ||
* experimentalIdentityAndAuth: Configuration of an HttpAuthSchemeProvider for a client which resolves which HttpAuthScheme to use. | ||
* Configuration of an HttpAuthSchemeProvider for a client which resolves which HttpAuthScheme to use. | ||
* @internal | ||
@@ -50,3 +50,3 @@ */ | ||
/** | ||
* experimentalIdentityAndAuth: Configuration of HttpAuthSchemes for a client which provides default identity providers and signers per auth scheme. | ||
* Configuration of HttpAuthSchemes for a client which provides default identity providers and signers per auth scheme. | ||
* @internal | ||
@@ -56,3 +56,3 @@ */ | ||
/** | ||
* experimentalIdentityAndAuth: Configuration of an HttpAuthSchemeProvider for a client which resolves which HttpAuthScheme to use. | ||
* Configuration of an HttpAuthSchemeProvider for a client which resolves which HttpAuthScheme to use. | ||
* @internal | ||
@@ -59,0 +59,0 @@ */ |
@@ -29,2 +29,4 @@ import { FetchHttpHandler as RequestHandler } from "@smithy/fetch-http-handler"; | ||
extensions: import("./runtimeExtensions").RuntimeExtension[]; | ||
customUserAgent?: string | import("@smithy/types").UserAgent | undefined; | ||
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2 | undefined; | ||
endpoint?: ((string | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>) & (string | import("@smithy/types").Provider<string> | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>)) | undefined; | ||
@@ -35,4 +37,2 @@ endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: { | ||
tls?: boolean | undefined; | ||
customUserAgent?: string | import("@smithy/types").UserAgent | undefined; | ||
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2 | undefined; | ||
httpAuthSchemes: import("@smithy/types").HttpAuthScheme[] | ({ | ||
@@ -39,0 +39,0 @@ schemeId: string; |
@@ -29,2 +29,4 @@ import { NodeHttpHandler as RequestHandler } from "@smithy/node-http-handler"; | ||
extensions: import("./runtimeExtensions").RuntimeExtension[]; | ||
customUserAgent?: string | import("@smithy/types").UserAgent | undefined; | ||
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2 | undefined; | ||
endpoint?: ((string | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>) & (string | import("@smithy/types").Provider<string> | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>)) | undefined; | ||
@@ -35,4 +37,2 @@ endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: { | ||
tls?: boolean | undefined; | ||
customUserAgent?: string | import("@smithy/types").UserAgent | undefined; | ||
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2 | undefined; | ||
httpAuthSchemes: import("@smithy/types").HttpAuthScheme[] | ({ | ||
@@ -39,0 +39,0 @@ schemeId: string; |
@@ -28,2 +28,4 @@ import { SSOClientConfig } from "./SSOClient"; | ||
defaultsMode: import("@smithy/smithy-client").DefaultsMode | import("@smithy/types").Provider<import("@smithy/smithy-client").DefaultsMode>; | ||
customUserAgent?: string | import("@smithy/types").UserAgent | undefined; | ||
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2 | undefined; | ||
endpoint?: string | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2> | undefined; | ||
@@ -34,4 +36,2 @@ endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: { | ||
tls?: boolean | undefined; | ||
customUserAgent?: string | import("@smithy/types").UserAgent | undefined; | ||
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2 | undefined; | ||
httpAuthSchemes: import("@smithy/types").HttpAuthScheme[] | ({ | ||
@@ -38,0 +38,0 @@ schemeId: string; |
@@ -132,3 +132,3 @@ import { HostHeaderInputConfig, HostHeaderResolvedConfig } from "@aws-sdk/middleware-host-header"; | ||
*/ | ||
export type SSOClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointInputConfig<EndpointParameters> & HostHeaderInputConfig & UserAgentInputConfig & RetryInputConfig & HttpAuthSchemeInputConfig & ClientInputEndpointParameters; | ||
export type SSOClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & UserAgentInputConfig & RetryInputConfig & RegionInputConfig & HostHeaderInputConfig & EndpointInputConfig<EndpointParameters> & HttpAuthSchemeInputConfig & ClientInputEndpointParameters; | ||
/** | ||
@@ -144,3 +144,3 @@ * @public | ||
*/ | ||
export type SSOClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & Required<ClientDefaults> & RuntimeExtensionsConfig & RegionResolvedConfig & EndpointResolvedConfig<EndpointParameters> & HostHeaderResolvedConfig & UserAgentResolvedConfig & RetryResolvedConfig & HttpAuthSchemeResolvedConfig & ClientResolvedEndpointParameters; | ||
export type SSOClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & Required<ClientDefaults> & RuntimeExtensionsConfig & UserAgentResolvedConfig & RetryResolvedConfig & RegionResolvedConfig & HostHeaderResolvedConfig & EndpointResolvedConfig<EndpointParameters> & HttpAuthSchemeResolvedConfig & ClientResolvedEndpointParameters; | ||
/** | ||
@@ -184,4 +184,2 @@ * @public | ||
destroy(): void; | ||
private getDefaultHttpAuthSchemeParametersProvider; | ||
private getIdentityProviderConfigProvider; | ||
} |
@@ -32,2 +32,7 @@ import { FetchHttpHandler as RequestHandler } from "@smithy/fetch-http-handler"; | ||
extensions: import("./runtimeExtensions").RuntimeExtension[]; | ||
customUserAgent?: string | import("@smithy/types").UserAgent | undefined; | ||
retryStrategy?: | ||
| import("@smithy/types").RetryStrategy | ||
| import("@smithy/types").RetryStrategyV2 | ||
| undefined; | ||
endpoint?: | ||
@@ -57,7 +62,2 @@ | (( | ||
tls?: boolean | undefined; | ||
customUserAgent?: string | import("@smithy/types").UserAgent | undefined; | ||
retryStrategy?: | ||
| import("@smithy/types").RetryStrategy | ||
| import("@smithy/types").RetryStrategyV2 | ||
| undefined; | ||
httpAuthSchemes: | ||
@@ -64,0 +64,0 @@ | import("@smithy/types").HttpAuthScheme[] |
@@ -32,2 +32,7 @@ import { NodeHttpHandler as RequestHandler } from "@smithy/node-http-handler"; | ||
extensions: import("./runtimeExtensions").RuntimeExtension[]; | ||
customUserAgent?: string | import("@smithy/types").UserAgent | undefined; | ||
retryStrategy?: | ||
| import("@smithy/types").RetryStrategy | ||
| import("@smithy/types").RetryStrategyV2 | ||
| undefined; | ||
endpoint?: | ||
@@ -57,7 +62,2 @@ | (( | ||
tls?: boolean | undefined; | ||
customUserAgent?: string | import("@smithy/types").UserAgent | undefined; | ||
retryStrategy?: | ||
| import("@smithy/types").RetryStrategy | ||
| import("@smithy/types").RetryStrategyV2 | ||
| undefined; | ||
httpAuthSchemes: | ||
@@ -64,0 +64,0 @@ | import("@smithy/types").HttpAuthScheme[] |
@@ -36,2 +36,7 @@ import { SSOClientConfig } from "./SSOClient"; | ||
>; | ||
customUserAgent?: string | import("@smithy/types").UserAgent | undefined; | ||
retryStrategy?: | ||
| import("@smithy/types").RetryStrategy | ||
| import("@smithy/types").RetryStrategyV2 | ||
| undefined; | ||
endpoint?: | ||
@@ -51,7 +56,2 @@ | string | ||
tls?: boolean | undefined; | ||
customUserAgent?: string | import("@smithy/types").UserAgent | undefined; | ||
retryStrategy?: | ||
| import("@smithy/types").RetryStrategy | ||
| import("@smithy/types").RetryStrategyV2 | ||
| undefined; | ||
httpAuthSchemes: | ||
@@ -58,0 +58,0 @@ | import("@smithy/types").HttpAuthScheme[] |
@@ -108,7 +108,7 @@ import { | ||
ClientDefaults & | ||
UserAgentInputConfig & | ||
RetryInputConfig & | ||
RegionInputConfig & | ||
HostHeaderInputConfig & | ||
EndpointInputConfig<EndpointParameters> & | ||
HostHeaderInputConfig & | ||
UserAgentInputConfig & | ||
RetryInputConfig & | ||
HttpAuthSchemeInputConfig & | ||
@@ -121,7 +121,7 @@ ClientInputEndpointParameters; | ||
RuntimeExtensionsConfig & | ||
UserAgentResolvedConfig & | ||
RetryResolvedConfig & | ||
RegionResolvedConfig & | ||
HostHeaderResolvedConfig & | ||
EndpointResolvedConfig<EndpointParameters> & | ||
HostHeaderResolvedConfig & | ||
UserAgentResolvedConfig & | ||
RetryResolvedConfig & | ||
HttpAuthSchemeResolvedConfig & | ||
@@ -139,4 +139,2 @@ ClientResolvedEndpointParameters; | ||
destroy(): void; | ||
private getDefaultHttpAuthSchemeParametersProvider; | ||
private getIdentityProviderConfigProvider; | ||
} |
{ | ||
"name": "@aws-sdk/client-sso", | ||
"description": "AWS SDK for JavaScript Sso Client for Node.js, Browser and React Native", | ||
"version": "3.621.0", | ||
"version": "3.622.0", | ||
"scripts": { | ||
@@ -23,3 +23,3 @@ "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'", | ||
"@aws-crypto/sha256-js": "5.2.0", | ||
"@aws-sdk/core": "3.621.0", | ||
"@aws-sdk/core": "3.622.0", | ||
"@aws-sdk/middleware-host-header": "3.620.0", | ||
@@ -35,3 +35,3 @@ "@aws-sdk/middleware-logger": "3.609.0", | ||
"@smithy/config-resolver": "^3.0.5", | ||
"@smithy/core": "^2.3.1", | ||
"@smithy/core": "^2.3.2", | ||
"@smithy/fetch-http-handler": "^3.2.4", | ||
@@ -42,3 +42,3 @@ "@smithy/hash-node": "^3.0.3", | ||
"@smithy/middleware-endpoint": "^3.1.0", | ||
"@smithy/middleware-retry": "^3.0.13", | ||
"@smithy/middleware-retry": "^3.0.14", | ||
"@smithy/middleware-serde": "^3.0.3", | ||
@@ -49,3 +49,3 @@ "@smithy/middleware-stack": "^3.0.3", | ||
"@smithy/protocol-http": "^4.1.0", | ||
"@smithy/smithy-client": "^3.1.11", | ||
"@smithy/smithy-client": "^3.1.12", | ||
"@smithy/types": "^3.3.0", | ||
@@ -56,4 +56,4 @@ "@smithy/url-parser": "^3.0.3", | ||
"@smithy/util-body-length-node": "^3.0.0", | ||
"@smithy/util-defaults-mode-browser": "^3.0.13", | ||
"@smithy/util-defaults-mode-node": "^3.0.13", | ||
"@smithy/util-defaults-mode-browser": "^3.0.14", | ||
"@smithy/util-defaults-mode-node": "^3.0.14", | ||
"@smithy/util-endpoints": "^2.0.5", | ||
@@ -60,0 +60,0 @@ "@smithy/util-middleware": "^3.0.3", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
197456
3954
+ Added@aws-sdk/core@3.622.0(transitive)
- Removed@aws-sdk/core@3.621.0(transitive)
Updated@aws-sdk/core@3.622.0
Updated@smithy/core@^2.3.2