@aws-sdk/client-sso-oidc 3.803.0 → 3.806.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/dist-cjs/runtimeConfig.js +6 -6
- package/dist-es/runtimeConfig.js +6 -6
- package/dist-types/commands/CreateTokenCommand.d.ts +1 -1
- package/dist-types/commands/CreateTokenWithIAMCommand.d.ts +1 -1
- package/dist-types/commands/RegisterClientCommand.d.ts +1 -1
- package/dist-types/commands/StartDeviceAuthorizationCommand.d.ts +1 -1
- package/dist-types/endpoint/EndpointParameters.d.ts +1 -3
- package/dist-types/runtimeConfig.browser.d.ts +17 -17
- package/dist-types/runtimeConfig.d.ts +16 -16
- package/dist-types/runtimeConfig.native.d.ts +18 -18
- package/dist-types/runtimeConfig.shared.d.ts +3 -3
- package/dist-types/ts3.4/commands/CreateTokenCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/CreateTokenWithIAMCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/RegisterClientCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/StartDeviceAuthorizationCommand.d.ts +1 -1
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +1 -4
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +22 -32
- package/dist-types/ts3.4/runtimeConfig.d.ts +20 -29
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +23 -33
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +3 -3
- package/package.json +22 -22
|
@@ -23,20 +23,20 @@ const getRuntimeConfig = (config) => {
|
|
|
23
23
|
const defaultConfigProvider = () => defaultsMode().then(smithy_client_1.loadConfigsForDefaultMode);
|
|
24
24
|
const clientSharedValues = (0, runtimeConfig_shared_1.getRuntimeConfig)(config);
|
|
25
25
|
(0, core_1.emitWarningIfUnsupportedVersion)(process.version);
|
|
26
|
-
const
|
|
26
|
+
const loaderConfig = { profile: config?.profile, logger: clientSharedValues.logger };
|
|
27
27
|
return {
|
|
28
28
|
...clientSharedValues,
|
|
29
29
|
...config,
|
|
30
30
|
runtime: "node",
|
|
31
31
|
defaultsMode,
|
|
32
|
-
authSchemePreference: config?.authSchemePreference ?? (0, node_config_provider_1.loadConfig)(core_1.NODE_AUTH_SCHEME_PREFERENCE_OPTIONS,
|
|
32
|
+
authSchemePreference: config?.authSchemePreference ?? (0, node_config_provider_1.loadConfig)(core_1.NODE_AUTH_SCHEME_PREFERENCE_OPTIONS, loaderConfig),
|
|
33
33
|
bodyLengthChecker: config?.bodyLengthChecker ?? util_body_length_node_1.calculateBodyLength,
|
|
34
34
|
credentialDefaultProvider: config?.credentialDefaultProvider ?? credential_provider_node_1.defaultProvider,
|
|
35
35
|
defaultUserAgentProvider: config?.defaultUserAgentProvider ??
|
|
36
36
|
(0, util_user_agent_node_1.createDefaultUserAgentProvider)({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
|
|
37
37
|
maxAttempts: config?.maxAttempts ?? (0, node_config_provider_1.loadConfig)(middleware_retry_1.NODE_MAX_ATTEMPT_CONFIG_OPTIONS, config),
|
|
38
38
|
region: config?.region ??
|
|
39
|
-
(0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_REGION_CONFIG_OPTIONS, { ...config_resolver_1.NODE_REGION_CONFIG_FILE_OPTIONS, ...
|
|
39
|
+
(0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_REGION_CONFIG_OPTIONS, { ...config_resolver_1.NODE_REGION_CONFIG_FILE_OPTIONS, ...loaderConfig }),
|
|
40
40
|
requestHandler: node_http_handler_1.NodeHttpHandler.create(config?.requestHandler ?? defaultConfigProvider),
|
|
41
41
|
retryMode: config?.retryMode ??
|
|
42
42
|
(0, node_config_provider_1.loadConfig)({
|
|
@@ -45,9 +45,9 @@ const getRuntimeConfig = (config) => {
|
|
|
45
45
|
}, config),
|
|
46
46
|
sha256: config?.sha256 ?? hash_node_1.Hash.bind(null, "sha256"),
|
|
47
47
|
streamCollector: config?.streamCollector ?? node_http_handler_1.streamCollector,
|
|
48
|
-
useDualstackEndpoint: config?.useDualstackEndpoint ?? (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS,
|
|
49
|
-
useFipsEndpoint: config?.useFipsEndpoint ?? (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS,
|
|
50
|
-
userAgentAppId: config?.userAgentAppId ?? (0, node_config_provider_1.loadConfig)(util_user_agent_node_1.NODE_APP_ID_CONFIG_OPTIONS,
|
|
48
|
+
useDualstackEndpoint: config?.useDualstackEndpoint ?? (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
|
|
49
|
+
useFipsEndpoint: config?.useFipsEndpoint ?? (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
|
|
50
|
+
userAgentAppId: config?.userAgentAppId ?? (0, node_config_provider_1.loadConfig)(util_user_agent_node_1.NODE_APP_ID_CONFIG_OPTIONS, loaderConfig),
|
|
51
51
|
};
|
|
52
52
|
};
|
|
53
53
|
exports.getRuntimeConfig = getRuntimeConfig;
|
package/dist-es/runtimeConfig.js
CHANGED
|
@@ -19,20 +19,20 @@ export const getRuntimeConfig = (config) => {
|
|
|
19
19
|
const defaultConfigProvider = () => defaultsMode().then(loadConfigsForDefaultMode);
|
|
20
20
|
const clientSharedValues = getSharedRuntimeConfig(config);
|
|
21
21
|
awsCheckVersion(process.version);
|
|
22
|
-
const
|
|
22
|
+
const loaderConfig = { profile: config?.profile, logger: clientSharedValues.logger };
|
|
23
23
|
return {
|
|
24
24
|
...clientSharedValues,
|
|
25
25
|
...config,
|
|
26
26
|
runtime: "node",
|
|
27
27
|
defaultsMode,
|
|
28
|
-
authSchemePreference: config?.authSchemePreference ?? loadNodeConfig(NODE_AUTH_SCHEME_PREFERENCE_OPTIONS,
|
|
28
|
+
authSchemePreference: config?.authSchemePreference ?? loadNodeConfig(NODE_AUTH_SCHEME_PREFERENCE_OPTIONS, loaderConfig),
|
|
29
29
|
bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength,
|
|
30
30
|
credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider,
|
|
31
31
|
defaultUserAgentProvider: config?.defaultUserAgentProvider ??
|
|
32
32
|
createDefaultUserAgentProvider({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }),
|
|
33
33
|
maxAttempts: config?.maxAttempts ?? loadNodeConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS, config),
|
|
34
34
|
region: config?.region ??
|
|
35
|
-
loadNodeConfig(NODE_REGION_CONFIG_OPTIONS, { ...NODE_REGION_CONFIG_FILE_OPTIONS, ...
|
|
35
|
+
loadNodeConfig(NODE_REGION_CONFIG_OPTIONS, { ...NODE_REGION_CONFIG_FILE_OPTIONS, ...loaderConfig }),
|
|
36
36
|
requestHandler: RequestHandler.create(config?.requestHandler ?? defaultConfigProvider),
|
|
37
37
|
retryMode: config?.retryMode ??
|
|
38
38
|
loadNodeConfig({
|
|
@@ -41,8 +41,8 @@ export const getRuntimeConfig = (config) => {
|
|
|
41
41
|
}, config),
|
|
42
42
|
sha256: config?.sha256 ?? Hash.bind(null, "sha256"),
|
|
43
43
|
streamCollector: config?.streamCollector ?? streamCollector,
|
|
44
|
-
useDualstackEndpoint: config?.useDualstackEndpoint ?? loadNodeConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS,
|
|
45
|
-
useFipsEndpoint: config?.useFipsEndpoint ?? loadNodeConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS,
|
|
46
|
-
userAgentAppId: config?.userAgentAppId ?? loadNodeConfig(NODE_APP_ID_CONFIG_OPTIONS,
|
|
44
|
+
useDualstackEndpoint: config?.useDualstackEndpoint ?? loadNodeConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
|
|
45
|
+
useFipsEndpoint: config?.useFipsEndpoint ?? loadNodeConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
|
|
46
|
+
userAgentAppId: config?.userAgentAppId ?? loadNodeConfig(NODE_APP_ID_CONFIG_OPTIONS, loaderConfig),
|
|
47
47
|
};
|
|
48
48
|
};
|
|
@@ -23,7 +23,7 @@ export interface CreateTokenCommandOutput extends CreateTokenResponse, __Metadat
|
|
|
23
23
|
}
|
|
24
24
|
declare const CreateTokenCommand_base: {
|
|
25
25
|
new (input: CreateTokenCommandInput): import("@smithy/smithy-client").CommandImpl<CreateTokenCommandInput, CreateTokenCommandOutput, SSOOIDCClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
-
new (
|
|
26
|
+
new (input: CreateTokenCommandInput): import("@smithy/smithy-client").CommandImpl<CreateTokenCommandInput, CreateTokenCommandOutput, SSOOIDCClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
@@ -23,7 +23,7 @@ export interface CreateTokenWithIAMCommandOutput extends CreateTokenWithIAMRespo
|
|
|
23
23
|
}
|
|
24
24
|
declare const CreateTokenWithIAMCommand_base: {
|
|
25
25
|
new (input: CreateTokenWithIAMCommandInput): import("@smithy/smithy-client").CommandImpl<CreateTokenWithIAMCommandInput, CreateTokenWithIAMCommandOutput, SSOOIDCClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
-
new (
|
|
26
|
+
new (input: CreateTokenWithIAMCommandInput): import("@smithy/smithy-client").CommandImpl<CreateTokenWithIAMCommandInput, CreateTokenWithIAMCommandOutput, SSOOIDCClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
@@ -23,7 +23,7 @@ export interface RegisterClientCommandOutput extends RegisterClientResponse, __M
|
|
|
23
23
|
}
|
|
24
24
|
declare const RegisterClientCommand_base: {
|
|
25
25
|
new (input: RegisterClientCommandInput): import("@smithy/smithy-client").CommandImpl<RegisterClientCommandInput, RegisterClientCommandOutput, SSOOIDCClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
-
new (
|
|
26
|
+
new (input: RegisterClientCommandInput): import("@smithy/smithy-client").CommandImpl<RegisterClientCommandInput, RegisterClientCommandOutput, SSOOIDCClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
@@ -23,7 +23,7 @@ export interface StartDeviceAuthorizationCommandOutput extends StartDeviceAuthor
|
|
|
23
23
|
}
|
|
24
24
|
declare const StartDeviceAuthorizationCommand_base: {
|
|
25
25
|
new (input: StartDeviceAuthorizationCommandInput): import("@smithy/smithy-client").CommandImpl<StartDeviceAuthorizationCommandInput, StartDeviceAuthorizationCommandOutput, SSOOIDCClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
-
new (
|
|
26
|
+
new (input: StartDeviceAuthorizationCommandInput): import("@smithy/smithy-client").CommandImpl<StartDeviceAuthorizationCommandInput, StartDeviceAuthorizationCommandOutput, SSOOIDCClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
@@ -11,9 +11,7 @@ export interface ClientInputEndpointParameters {
|
|
|
11
11
|
export type ClientResolvedEndpointParameters = ClientInputEndpointParameters & {
|
|
12
12
|
defaultSigningName: string;
|
|
13
13
|
};
|
|
14
|
-
export declare const resolveClientEndpointParameters: <T>(options: T & ClientInputEndpointParameters) => T &
|
|
15
|
-
defaultSigningName: string;
|
|
16
|
-
};
|
|
14
|
+
export declare const resolveClientEndpointParameters: <T>(options: T & ClientInputEndpointParameters) => T & ClientResolvedEndpointParameters;
|
|
17
15
|
export declare const commonParams: {
|
|
18
16
|
readonly UseFIPS: {
|
|
19
17
|
readonly type: "builtInParams";
|
|
@@ -8,7 +8,7 @@ export declare const getRuntimeConfig: (config: SSOOIDCClientConfig) => {
|
|
|
8
8
|
defaultsMode: import("@smithy/types").Provider<import("@smithy/smithy-client").ResolvedDefaultsMode>;
|
|
9
9
|
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
10
10
|
credentialDefaultProvider: ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider) | ((_: unknown) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
|
|
11
|
-
defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-browser").PreviouslyResolved
|
|
11
|
+
defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-browser").PreviouslyResolved) => Promise<import("@smithy/types").UserAgent>;
|
|
12
12
|
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
13
13
|
region: string | import("@smithy/types").Provider<any>;
|
|
14
14
|
requestHandler: import("@smithy/protocol-http").HttpHandler<any> | RequestHandler;
|
|
@@ -21,24 +21,24 @@ export declare const getRuntimeConfig: (config: SSOOIDCClientConfig) => {
|
|
|
21
21
|
cacheMiddleware?: boolean | undefined;
|
|
22
22
|
urlParser: import("@smithy/types").UrlParser;
|
|
23
23
|
base64Decoder: import("@smithy/types").Decoder;
|
|
24
|
-
base64Encoder: (_input:
|
|
24
|
+
base64Encoder: (_input: Uint8Array | string) => string;
|
|
25
25
|
utf8Decoder: import("@smithy/types").Decoder;
|
|
26
|
-
utf8Encoder: (input:
|
|
26
|
+
utf8Encoder: (input: Uint8Array | string) => string;
|
|
27
27
|
disableHostPrefix: boolean;
|
|
28
28
|
serviceId: string;
|
|
29
|
-
profile?: string
|
|
29
|
+
profile?: string;
|
|
30
30
|
logger: import("@smithy/types").Logger;
|
|
31
31
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
32
|
-
customUserAgent?: string | import("@smithy/types").UserAgent
|
|
33
|
-
userAgentAppId?: string | import("@smithy/types").Provider<string | undefined
|
|
34
|
-
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2
|
|
32
|
+
customUserAgent?: string | import("@smithy/types").UserAgent;
|
|
33
|
+
userAgentAppId?: string | undefined | import("@smithy/types").Provider<string | undefined>;
|
|
34
|
+
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
|
|
35
35
|
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;
|
|
36
36
|
endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
|
|
37
|
-
logger?: import("@smithy/types").Logger
|
|
37
|
+
logger?: import("@smithy/types").Logger;
|
|
38
38
|
}) => import("@smithy/types").EndpointV2;
|
|
39
|
-
tls?: boolean
|
|
40
|
-
serviceConfiguredEndpoint?:
|
|
41
|
-
authSchemePreference?: string[] | import("@smithy/types").Provider<string[]
|
|
39
|
+
tls?: boolean;
|
|
40
|
+
serviceConfiguredEndpoint?: never;
|
|
41
|
+
authSchemePreference?: string[] | import("@smithy/types").Provider<string[]>;
|
|
42
42
|
httpAuthSchemes: import("@smithy/types").HttpAuthScheme[] | ({
|
|
43
43
|
schemeId: string;
|
|
44
44
|
identityProvider: (ipc: import("@smithy/types").IdentityProviderConfig) => import("@smithy/types").IdentityProvider<import("@smithy/types").Identity> | undefined;
|
|
@@ -49,10 +49,10 @@ export declare const getRuntimeConfig: (config: SSOOIDCClientConfig) => {
|
|
|
49
49
|
signer: import("@smithy/core").NoAuthSigner;
|
|
50
50
|
})[];
|
|
51
51
|
httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").SSOOIDCHttpAuthSchemeProvider;
|
|
52
|
-
credentials?: import("@smithy/types").AwsCredentialIdentity | import("@smithy/types").AwsCredentialIdentityProvider
|
|
53
|
-
signer?: import("@smithy/types").RequestSigner | ((authScheme?: import("@smithy/types").AuthScheme
|
|
54
|
-
signingEscapePath?: boolean
|
|
55
|
-
systemClockOffset?: number
|
|
56
|
-
signingRegion?: string
|
|
57
|
-
signerConstructor?:
|
|
52
|
+
credentials?: import("@smithy/types").AwsCredentialIdentity | import("@smithy/types").AwsCredentialIdentityProvider;
|
|
53
|
+
signer?: import("@smithy/types").RequestSigner | ((authScheme?: import("@smithy/types").AuthScheme) => Promise<import("@smithy/types").RequestSigner>);
|
|
54
|
+
signingEscapePath?: boolean;
|
|
55
|
+
systemClockOffset?: number;
|
|
56
|
+
signingRegion?: string;
|
|
57
|
+
signerConstructor?: new (options: import("@smithy/signature-v4").SignatureV4Init & import("@smithy/signature-v4").SignatureV4CryptoInit) => import("@smithy/types").RequestSigner;
|
|
58
58
|
};
|
|
@@ -8,8 +8,8 @@ export declare const getRuntimeConfig: (config: SSOOIDCClientConfig) => {
|
|
|
8
8
|
defaultsMode: import("@smithy/types").Provider<import("@smithy/smithy-client").ResolvedDefaultsMode>;
|
|
9
9
|
authSchemePreference: string[] | import("@smithy/types").Provider<string[]>;
|
|
10
10
|
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
11
|
-
credentialDefaultProvider: ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider) | ((init?: import("@aws-sdk/credential-provider-node").DefaultProviderInit
|
|
12
|
-
defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-node").PreviouslyResolved
|
|
11
|
+
credentialDefaultProvider: ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider) | ((init?: import("@aws-sdk/credential-provider-node").DefaultProviderInit) => import("@smithy/types").MemoizedProvider<import("@smithy/types").AwsCredentialIdentity>);
|
|
12
|
+
defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-node").PreviouslyResolved) => Promise<import("@smithy/types").UserAgent>;
|
|
13
13
|
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
14
14
|
region: string | import("@smithy/types").Provider<string>;
|
|
15
15
|
requestHandler: RequestHandler | import("@smithy/protocol-http").HttpHandler<any>;
|
|
@@ -23,22 +23,22 @@ export declare const getRuntimeConfig: (config: SSOOIDCClientConfig) => {
|
|
|
23
23
|
cacheMiddleware?: boolean | undefined;
|
|
24
24
|
urlParser: import("@smithy/types").UrlParser;
|
|
25
25
|
base64Decoder: import("@smithy/types").Decoder;
|
|
26
|
-
base64Encoder: (_input:
|
|
26
|
+
base64Encoder: (_input: Uint8Array | string) => string;
|
|
27
27
|
utf8Decoder: import("@smithy/types").Decoder;
|
|
28
|
-
utf8Encoder: (input:
|
|
28
|
+
utf8Encoder: (input: Uint8Array | string) => string;
|
|
29
29
|
disableHostPrefix: boolean;
|
|
30
30
|
serviceId: string;
|
|
31
|
-
profile?: string
|
|
31
|
+
profile?: string;
|
|
32
32
|
logger: import("@smithy/types").Logger;
|
|
33
33
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
34
|
-
customUserAgent?: string | import("@smithy/types").UserAgent
|
|
35
|
-
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2
|
|
34
|
+
customUserAgent?: string | import("@smithy/types").UserAgent;
|
|
35
|
+
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
|
|
36
36
|
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;
|
|
37
37
|
endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
|
|
38
|
-
logger?: import("@smithy/types").Logger
|
|
38
|
+
logger?: import("@smithy/types").Logger;
|
|
39
39
|
}) => import("@smithy/types").EndpointV2;
|
|
40
|
-
tls?: boolean
|
|
41
|
-
serviceConfiguredEndpoint?:
|
|
40
|
+
tls?: boolean;
|
|
41
|
+
serviceConfiguredEndpoint?: never;
|
|
42
42
|
httpAuthSchemes: import("@smithy/types").HttpAuthScheme[] | ({
|
|
43
43
|
schemeId: string;
|
|
44
44
|
identityProvider: (ipc: import("@smithy/types").IdentityProviderConfig) => import("@smithy/types").IdentityProvider<import("@smithy/types").Identity> | undefined;
|
|
@@ -49,10 +49,10 @@ export declare const getRuntimeConfig: (config: SSOOIDCClientConfig) => {
|
|
|
49
49
|
signer: import("@smithy/core").NoAuthSigner;
|
|
50
50
|
})[];
|
|
51
51
|
httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").SSOOIDCHttpAuthSchemeProvider;
|
|
52
|
-
credentials?: import("@smithy/types").AwsCredentialIdentity | import("@smithy/types").AwsCredentialIdentityProvider
|
|
53
|
-
signer?: import("@smithy/types").RequestSigner | ((authScheme?: import("@smithy/types").AuthScheme
|
|
54
|
-
signingEscapePath?: boolean
|
|
55
|
-
systemClockOffset?: number
|
|
56
|
-
signingRegion?: string
|
|
57
|
-
signerConstructor?:
|
|
52
|
+
credentials?: import("@smithy/types").AwsCredentialIdentity | import("@smithy/types").AwsCredentialIdentityProvider;
|
|
53
|
+
signer?: import("@smithy/types").RequestSigner | ((authScheme?: import("@smithy/types").AuthScheme) => Promise<import("@smithy/types").RequestSigner>);
|
|
54
|
+
signingEscapePath?: boolean;
|
|
55
|
+
systemClockOffset?: number;
|
|
56
|
+
signingRegion?: string;
|
|
57
|
+
signerConstructor?: new (options: import("@smithy/signature-v4").SignatureV4Init & import("@smithy/signature-v4").SignatureV4CryptoInit) => import("@smithy/types").RequestSigner;
|
|
58
58
|
};
|
|
@@ -7,37 +7,37 @@ export declare const getRuntimeConfig: (config: SSOOIDCClientConfig) => {
|
|
|
7
7
|
sha256: import("@smithy/types").HashConstructor;
|
|
8
8
|
requestHandler: import("@smithy/types").NodeHttpHandlerOptions | import("@smithy/types").FetchHttpHandlerOptions | Record<string, unknown> | import("@smithy/protocol-http").HttpHandler<any> | import("@smithy/fetch-http-handler").FetchHttpHandler;
|
|
9
9
|
apiVersion: string;
|
|
10
|
-
cacheMiddleware?: boolean
|
|
10
|
+
cacheMiddleware?: boolean;
|
|
11
11
|
urlParser: import("@smithy/types").UrlParser;
|
|
12
12
|
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
13
13
|
streamCollector: import("@smithy/types").StreamCollector;
|
|
14
14
|
base64Decoder: import("@smithy/types").Decoder;
|
|
15
|
-
base64Encoder: (_input:
|
|
15
|
+
base64Encoder: (_input: Uint8Array | string) => string;
|
|
16
16
|
utf8Decoder: import("@smithy/types").Decoder;
|
|
17
|
-
utf8Encoder: (input:
|
|
17
|
+
utf8Encoder: (input: Uint8Array | string) => string;
|
|
18
18
|
disableHostPrefix: boolean;
|
|
19
19
|
serviceId: string;
|
|
20
20
|
useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
|
21
21
|
useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
|
22
22
|
region: string | import("@smithy/types").Provider<any>;
|
|
23
|
-
profile?: string
|
|
24
|
-
defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-browser").PreviouslyResolved
|
|
23
|
+
profile?: string;
|
|
24
|
+
defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-browser").PreviouslyResolved) => Promise<import("@smithy/types").UserAgent>;
|
|
25
25
|
credentialDefaultProvider: ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider) | ((_: unknown) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
|
|
26
26
|
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
27
27
|
retryMode: string | import("@smithy/types").Provider<string>;
|
|
28
28
|
logger: import("@smithy/types").Logger;
|
|
29
29
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
30
30
|
defaultsMode: import("@smithy/smithy-client").DefaultsMode | import("@smithy/types").Provider<import("@smithy/smithy-client").DefaultsMode>;
|
|
31
|
-
customUserAgent?: string | import("@smithy/types").UserAgent
|
|
32
|
-
userAgentAppId?: string | import("@smithy/types").Provider<string | undefined
|
|
33
|
-
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2
|
|
31
|
+
customUserAgent?: string | import("@smithy/types").UserAgent;
|
|
32
|
+
userAgentAppId?: string | undefined | import("@smithy/types").Provider<string | undefined>;
|
|
33
|
+
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
|
|
34
34
|
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
35
|
endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
|
|
36
|
-
logger?: import("@smithy/types").Logger
|
|
36
|
+
logger?: import("@smithy/types").Logger;
|
|
37
37
|
}) => import("@smithy/types").EndpointV2;
|
|
38
|
-
tls?: boolean
|
|
39
|
-
serviceConfiguredEndpoint?:
|
|
40
|
-
authSchemePreference?: string[] | import("@smithy/types").Provider<string[]
|
|
38
|
+
tls?: boolean;
|
|
39
|
+
serviceConfiguredEndpoint?: never;
|
|
40
|
+
authSchemePreference?: string[] | import("@smithy/types").Provider<string[]>;
|
|
41
41
|
httpAuthSchemes: import("@smithy/types").HttpAuthScheme[] | ({
|
|
42
42
|
schemeId: string;
|
|
43
43
|
identityProvider: (ipc: import("@smithy/types").IdentityProviderConfig) => import("@smithy/types").IdentityProvider<import("@smithy/types").Identity> | undefined;
|
|
@@ -48,10 +48,10 @@ export declare const getRuntimeConfig: (config: SSOOIDCClientConfig) => {
|
|
|
48
48
|
signer: import("@smithy/core").NoAuthSigner;
|
|
49
49
|
})[];
|
|
50
50
|
httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").SSOOIDCHttpAuthSchemeProvider;
|
|
51
|
-
credentials?: import("@smithy/types").AwsCredentialIdentity | import("@smithy/types").AwsCredentialIdentityProvider
|
|
52
|
-
signer?: import("@smithy/types").RequestSigner | ((authScheme?: import("@smithy/types").AuthScheme
|
|
53
|
-
signingEscapePath?: boolean
|
|
54
|
-
systemClockOffset?: number
|
|
55
|
-
signingRegion?: string
|
|
56
|
-
signerConstructor?:
|
|
51
|
+
credentials?: import("@smithy/types").AwsCredentialIdentity | import("@smithy/types").AwsCredentialIdentityProvider;
|
|
52
|
+
signer?: import("@smithy/types").RequestSigner | ((authScheme?: import("@smithy/types").AuthScheme) => Promise<import("@smithy/types").RequestSigner>);
|
|
53
|
+
signingEscapePath?: boolean;
|
|
54
|
+
systemClockOffset?: number;
|
|
55
|
+
signingRegion?: string;
|
|
56
|
+
signerConstructor?: new (options: import("@smithy/signature-v4").SignatureV4Init & import("@smithy/signature-v4").SignatureV4CryptoInit) => import("@smithy/types").RequestSigner;
|
|
57
57
|
};
|
|
@@ -8,10 +8,10 @@ import { SSOOIDCClientConfig } from "./SSOOIDCClient";
|
|
|
8
8
|
export declare const getRuntimeConfig: (config: SSOOIDCClientConfig) => {
|
|
9
9
|
apiVersion: string;
|
|
10
10
|
base64Decoder: import("@smithy/types").Decoder;
|
|
11
|
-
base64Encoder: (_input:
|
|
11
|
+
base64Encoder: (_input: Uint8Array | string) => string;
|
|
12
12
|
disableHostPrefix: boolean;
|
|
13
13
|
endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
|
|
14
|
-
logger?: import("@smithy/types").Logger
|
|
14
|
+
logger?: import("@smithy/types").Logger;
|
|
15
15
|
}) => import("@smithy/types").EndpointV2;
|
|
16
16
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
17
17
|
httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").SSOOIDCHttpAuthSchemeProvider;
|
|
@@ -28,5 +28,5 @@ export declare const getRuntimeConfig: (config: SSOOIDCClientConfig) => {
|
|
|
28
28
|
serviceId: string;
|
|
29
29
|
urlParser: import("@smithy/types").UrlParser;
|
|
30
30
|
utf8Decoder: import("@smithy/types").Decoder;
|
|
31
|
-
utf8Encoder: (input:
|
|
31
|
+
utf8Encoder: (input: Uint8Array | string) => string;
|
|
32
32
|
};
|
|
@@ -27,7 +27,7 @@ declare const CreateTokenWithIAMCommand_base: {
|
|
|
27
27
|
ServiceOutputTypes
|
|
28
28
|
>;
|
|
29
29
|
new (
|
|
30
|
-
|
|
30
|
+
input: CreateTokenWithIAMCommandInput
|
|
31
31
|
): import("@smithy/smithy-client").CommandImpl<
|
|
32
32
|
CreateTokenWithIAMCommandInput,
|
|
33
33
|
CreateTokenWithIAMCommandOutput,
|
|
@@ -26,7 +26,7 @@ declare const RegisterClientCommand_base: {
|
|
|
26
26
|
ServiceOutputTypes
|
|
27
27
|
>;
|
|
28
28
|
new (
|
|
29
|
-
|
|
29
|
+
input: RegisterClientCommandInput
|
|
30
30
|
): import("@smithy/smithy-client").CommandImpl<
|
|
31
31
|
RegisterClientCommandInput,
|
|
32
32
|
RegisterClientCommandOutput,
|
|
@@ -27,7 +27,7 @@ declare const StartDeviceAuthorizationCommand_base: {
|
|
|
27
27
|
ServiceOutputTypes
|
|
28
28
|
>;
|
|
29
29
|
new (
|
|
30
|
-
|
|
30
|
+
input: StartDeviceAuthorizationCommandInput
|
|
31
31
|
): import("@smithy/smithy-client").CommandImpl<
|
|
32
32
|
StartDeviceAuthorizationCommandInput,
|
|
33
33
|
StartDeviceAuthorizationCommandOutput,
|
|
@@ -21,10 +21,7 @@ export type ClientResolvedEndpointParameters = ClientInputEndpointParameters & {
|
|
|
21
21
|
};
|
|
22
22
|
export declare const resolveClientEndpointParameters: <T>(
|
|
23
23
|
options: T & ClientInputEndpointParameters
|
|
24
|
-
) => T &
|
|
25
|
-
ClientInputEndpointParameters & {
|
|
26
|
-
defaultSigningName: string;
|
|
27
|
-
};
|
|
24
|
+
) => T & ClientResolvedEndpointParameters;
|
|
28
25
|
export declare const commonParams: {
|
|
29
26
|
readonly UseFIPS: {
|
|
30
27
|
readonly type: "builtInParams";
|
|
@@ -12,9 +12,7 @@ export declare const getRuntimeConfig: (config: SSOOIDCClientConfig) => {
|
|
|
12
12
|
_: unknown
|
|
13
13
|
) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
|
|
14
14
|
defaultUserAgentProvider: (
|
|
15
|
-
config?:
|
|
16
|
-
| import("@aws-sdk/util-user-agent-browser").PreviouslyResolved
|
|
17
|
-
| undefined
|
|
15
|
+
config?: import("@aws-sdk/util-user-agent-browser").PreviouslyResolved
|
|
18
16
|
) => Promise<import("@smithy/types").UserAgent>;
|
|
19
17
|
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
20
18
|
region: string | import("@smithy/types").Provider<any>;
|
|
@@ -30,23 +28,22 @@ export declare const getRuntimeConfig: (config: SSOOIDCClientConfig) => {
|
|
|
30
28
|
cacheMiddleware?: boolean | undefined;
|
|
31
29
|
urlParser: import("@smithy/types").UrlParser;
|
|
32
30
|
base64Decoder: import("@smithy/types").Decoder;
|
|
33
|
-
base64Encoder: (_input:
|
|
31
|
+
base64Encoder: (_input: Uint8Array | string) => string;
|
|
34
32
|
utf8Decoder: import("@smithy/types").Decoder;
|
|
35
|
-
utf8Encoder: (input:
|
|
33
|
+
utf8Encoder: (input: Uint8Array | string) => string;
|
|
36
34
|
disableHostPrefix: boolean;
|
|
37
35
|
serviceId: string;
|
|
38
|
-
profile?: string
|
|
36
|
+
profile?: string;
|
|
39
37
|
logger: import("@smithy/types").Logger;
|
|
40
38
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
41
|
-
customUserAgent?: string | import("@smithy/types").UserAgent
|
|
39
|
+
customUserAgent?: string | import("@smithy/types").UserAgent;
|
|
42
40
|
userAgentAppId?:
|
|
43
41
|
| string
|
|
44
|
-
|
|
|
45
|
-
| undefined
|
|
42
|
+
| undefined
|
|
43
|
+
| import("@smithy/types").Provider<string | undefined>;
|
|
46
44
|
retryStrategy?:
|
|
47
45
|
| import("@smithy/types").RetryStrategy
|
|
48
|
-
| import("@smithy/types").RetryStrategyV2
|
|
49
|
-
| undefined;
|
|
46
|
+
| import("@smithy/types").RetryStrategyV2;
|
|
50
47
|
endpoint?:
|
|
51
48
|
| ((
|
|
52
49
|
| string
|
|
@@ -67,15 +64,12 @@ export declare const getRuntimeConfig: (config: SSOOIDCClientConfig) => {
|
|
|
67
64
|
endpointProvider: (
|
|
68
65
|
endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
|
|
69
66
|
context?: {
|
|
70
|
-
logger?: import("@smithy/types").Logger
|
|
67
|
+
logger?: import("@smithy/types").Logger;
|
|
71
68
|
}
|
|
72
69
|
) => import("@smithy/types").EndpointV2;
|
|
73
|
-
tls?: boolean
|
|
74
|
-
serviceConfiguredEndpoint?:
|
|
75
|
-
authSchemePreference?:
|
|
76
|
-
| string[]
|
|
77
|
-
| import("@smithy/types").Provider<string[]>
|
|
78
|
-
| undefined;
|
|
70
|
+
tls?: boolean;
|
|
71
|
+
serviceConfiguredEndpoint?: never;
|
|
72
|
+
authSchemePreference?: string[] | import("@smithy/types").Provider<string[]>;
|
|
79
73
|
httpAuthSchemes:
|
|
80
74
|
| import("@smithy/types").HttpAuthScheme[]
|
|
81
75
|
| (
|
|
@@ -105,21 +99,17 @@ export declare const getRuntimeConfig: (config: SSOOIDCClientConfig) => {
|
|
|
105
99
|
httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").SSOOIDCHttpAuthSchemeProvider;
|
|
106
100
|
credentials?:
|
|
107
101
|
| import("@smithy/types").AwsCredentialIdentity
|
|
108
|
-
| import("@smithy/types").AwsCredentialIdentityProvider
|
|
109
|
-
| undefined;
|
|
102
|
+
| import("@smithy/types").AwsCredentialIdentityProvider;
|
|
110
103
|
signer?:
|
|
111
104
|
| import("@smithy/types").RequestSigner
|
|
112
105
|
| ((
|
|
113
|
-
authScheme?: import("@smithy/types").AuthScheme
|
|
114
|
-
) => Promise<import("@smithy/types").RequestSigner>)
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
import("@smithy/signature-v4").SignatureV4CryptoInit
|
|
123
|
-
) => import("@smithy/types").RequestSigner)
|
|
124
|
-
| undefined;
|
|
106
|
+
authScheme?: import("@smithy/types").AuthScheme
|
|
107
|
+
) => Promise<import("@smithy/types").RequestSigner>);
|
|
108
|
+
signingEscapePath?: boolean;
|
|
109
|
+
systemClockOffset?: number;
|
|
110
|
+
signingRegion?: string;
|
|
111
|
+
signerConstructor?: new (
|
|
112
|
+
options: import("@smithy/signature-v4").SignatureV4Init &
|
|
113
|
+
import("@smithy/signature-v4").SignatureV4CryptoInit
|
|
114
|
+
) => import("@smithy/types").RequestSigner;
|
|
125
115
|
};
|
|
@@ -10,16 +10,12 @@ export declare const getRuntimeConfig: (config: SSOOIDCClientConfig) => {
|
|
|
10
10
|
credentialDefaultProvider:
|
|
11
11
|
| ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
|
|
12
12
|
| ((
|
|
13
|
-
init?:
|
|
14
|
-
| import("@aws-sdk/credential-provider-node").DefaultProviderInit
|
|
15
|
-
| undefined
|
|
13
|
+
init?: import("@aws-sdk/credential-provider-node").DefaultProviderInit
|
|
16
14
|
) => import("@smithy/types").MemoizedProvider<
|
|
17
15
|
import("@smithy/types").AwsCredentialIdentity
|
|
18
16
|
>);
|
|
19
17
|
defaultUserAgentProvider: (
|
|
20
|
-
config?:
|
|
21
|
-
| import("@aws-sdk/util-user-agent-node").PreviouslyResolved
|
|
22
|
-
| undefined
|
|
18
|
+
config?: import("@aws-sdk/util-user-agent-node").PreviouslyResolved
|
|
23
19
|
) => Promise<import("@smithy/types").UserAgent>;
|
|
24
20
|
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
25
21
|
region: string | import("@smithy/types").Provider<string>;
|
|
@@ -36,19 +32,18 @@ export declare const getRuntimeConfig: (config: SSOOIDCClientConfig) => {
|
|
|
36
32
|
cacheMiddleware?: boolean | undefined;
|
|
37
33
|
urlParser: import("@smithy/types").UrlParser;
|
|
38
34
|
base64Decoder: import("@smithy/types").Decoder;
|
|
39
|
-
base64Encoder: (_input:
|
|
35
|
+
base64Encoder: (_input: Uint8Array | string) => string;
|
|
40
36
|
utf8Decoder: import("@smithy/types").Decoder;
|
|
41
|
-
utf8Encoder: (input:
|
|
37
|
+
utf8Encoder: (input: Uint8Array | string) => string;
|
|
42
38
|
disableHostPrefix: boolean;
|
|
43
39
|
serviceId: string;
|
|
44
|
-
profile?: string
|
|
40
|
+
profile?: string;
|
|
45
41
|
logger: import("@smithy/types").Logger;
|
|
46
42
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
47
|
-
customUserAgent?: string | import("@smithy/types").UserAgent
|
|
43
|
+
customUserAgent?: string | import("@smithy/types").UserAgent;
|
|
48
44
|
retryStrategy?:
|
|
49
45
|
| import("@smithy/types").RetryStrategy
|
|
50
|
-
| import("@smithy/types").RetryStrategyV2
|
|
51
|
-
| undefined;
|
|
46
|
+
| import("@smithy/types").RetryStrategyV2;
|
|
52
47
|
endpoint?:
|
|
53
48
|
| ((
|
|
54
49
|
| string
|
|
@@ -69,11 +64,11 @@ export declare const getRuntimeConfig: (config: SSOOIDCClientConfig) => {
|
|
|
69
64
|
endpointProvider: (
|
|
70
65
|
endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
|
|
71
66
|
context?: {
|
|
72
|
-
logger?: import("@smithy/types").Logger
|
|
67
|
+
logger?: import("@smithy/types").Logger;
|
|
73
68
|
}
|
|
74
69
|
) => import("@smithy/types").EndpointV2;
|
|
75
|
-
tls?: boolean
|
|
76
|
-
serviceConfiguredEndpoint?:
|
|
70
|
+
tls?: boolean;
|
|
71
|
+
serviceConfiguredEndpoint?: never;
|
|
77
72
|
httpAuthSchemes:
|
|
78
73
|
| import("@smithy/types").HttpAuthScheme[]
|
|
79
74
|
| (
|
|
@@ -103,21 +98,17 @@ export declare const getRuntimeConfig: (config: SSOOIDCClientConfig) => {
|
|
|
103
98
|
httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").SSOOIDCHttpAuthSchemeProvider;
|
|
104
99
|
credentials?:
|
|
105
100
|
| import("@smithy/types").AwsCredentialIdentity
|
|
106
|
-
| import("@smithy/types").AwsCredentialIdentityProvider
|
|
107
|
-
| undefined;
|
|
101
|
+
| import("@smithy/types").AwsCredentialIdentityProvider;
|
|
108
102
|
signer?:
|
|
109
103
|
| import("@smithy/types").RequestSigner
|
|
110
104
|
| ((
|
|
111
|
-
authScheme?: import("@smithy/types").AuthScheme
|
|
112
|
-
) => Promise<import("@smithy/types").RequestSigner>)
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
import("@smithy/signature-v4").SignatureV4CryptoInit
|
|
121
|
-
) => import("@smithy/types").RequestSigner)
|
|
122
|
-
| undefined;
|
|
105
|
+
authScheme?: import("@smithy/types").AuthScheme
|
|
106
|
+
) => Promise<import("@smithy/types").RequestSigner>);
|
|
107
|
+
signingEscapePath?: boolean;
|
|
108
|
+
systemClockOffset?: number;
|
|
109
|
+
signingRegion?: string;
|
|
110
|
+
signerConstructor?: new (
|
|
111
|
+
options: import("@smithy/signature-v4").SignatureV4Init &
|
|
112
|
+
import("@smithy/signature-v4").SignatureV4CryptoInit
|
|
113
|
+
) => import("@smithy/types").RequestSigner;
|
|
123
114
|
};
|
|
@@ -9,24 +9,22 @@ export declare const getRuntimeConfig: (config: SSOOIDCClientConfig) => {
|
|
|
9
9
|
| import("@smithy/protocol-http").HttpHandler<any>
|
|
10
10
|
| import("@smithy/fetch-http-handler").FetchHttpHandler;
|
|
11
11
|
apiVersion: string;
|
|
12
|
-
cacheMiddleware?: boolean
|
|
12
|
+
cacheMiddleware?: boolean;
|
|
13
13
|
urlParser: import("@smithy/types").UrlParser;
|
|
14
14
|
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
15
15
|
streamCollector: import("@smithy/types").StreamCollector;
|
|
16
16
|
base64Decoder: import("@smithy/types").Decoder;
|
|
17
|
-
base64Encoder: (_input:
|
|
17
|
+
base64Encoder: (_input: Uint8Array | string) => string;
|
|
18
18
|
utf8Decoder: import("@smithy/types").Decoder;
|
|
19
|
-
utf8Encoder: (input:
|
|
19
|
+
utf8Encoder: (input: Uint8Array | string) => string;
|
|
20
20
|
disableHostPrefix: boolean;
|
|
21
21
|
serviceId: string;
|
|
22
22
|
useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
|
23
23
|
useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
|
24
24
|
region: string | import("@smithy/types").Provider<any>;
|
|
25
|
-
profile?: string
|
|
25
|
+
profile?: string;
|
|
26
26
|
defaultUserAgentProvider: (
|
|
27
|
-
config?:
|
|
28
|
-
| import("@aws-sdk/util-user-agent-browser").PreviouslyResolved
|
|
29
|
-
| undefined
|
|
27
|
+
config?: import("@aws-sdk/util-user-agent-browser").PreviouslyResolved
|
|
30
28
|
) => Promise<import("@smithy/types").UserAgent>;
|
|
31
29
|
credentialDefaultProvider:
|
|
32
30
|
| ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
|
|
@@ -42,15 +40,14 @@ export declare const getRuntimeConfig: (config: SSOOIDCClientConfig) => {
|
|
|
42
40
|
| import("@smithy/types").Provider<
|
|
43
41
|
import("@smithy/smithy-client").DefaultsMode
|
|
44
42
|
>;
|
|
45
|
-
customUserAgent?: string | import("@smithy/types").UserAgent
|
|
43
|
+
customUserAgent?: string | import("@smithy/types").UserAgent;
|
|
46
44
|
userAgentAppId?:
|
|
47
45
|
| string
|
|
48
|
-
|
|
|
49
|
-
| undefined
|
|
46
|
+
| undefined
|
|
47
|
+
| import("@smithy/types").Provider<string | undefined>;
|
|
50
48
|
retryStrategy?:
|
|
51
49
|
| import("@smithy/types").RetryStrategy
|
|
52
|
-
| import("@smithy/types").RetryStrategyV2
|
|
53
|
-
| undefined;
|
|
50
|
+
| import("@smithy/types").RetryStrategyV2;
|
|
54
51
|
endpoint?:
|
|
55
52
|
| ((
|
|
56
53
|
| string
|
|
@@ -71,15 +68,12 @@ export declare const getRuntimeConfig: (config: SSOOIDCClientConfig) => {
|
|
|
71
68
|
endpointProvider: (
|
|
72
69
|
endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
|
|
73
70
|
context?: {
|
|
74
|
-
logger?: import("@smithy/types").Logger
|
|
71
|
+
logger?: import("@smithy/types").Logger;
|
|
75
72
|
}
|
|
76
73
|
) => import("@smithy/types").EndpointV2;
|
|
77
|
-
tls?: boolean
|
|
78
|
-
serviceConfiguredEndpoint?:
|
|
79
|
-
authSchemePreference?:
|
|
80
|
-
| string[]
|
|
81
|
-
| import("@smithy/types").Provider<string[]>
|
|
82
|
-
| undefined;
|
|
74
|
+
tls?: boolean;
|
|
75
|
+
serviceConfiguredEndpoint?: never;
|
|
76
|
+
authSchemePreference?: string[] | import("@smithy/types").Provider<string[]>;
|
|
83
77
|
httpAuthSchemes:
|
|
84
78
|
| import("@smithy/types").HttpAuthScheme[]
|
|
85
79
|
| (
|
|
@@ -109,21 +103,17 @@ export declare const getRuntimeConfig: (config: SSOOIDCClientConfig) => {
|
|
|
109
103
|
httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").SSOOIDCHttpAuthSchemeProvider;
|
|
110
104
|
credentials?:
|
|
111
105
|
| import("@smithy/types").AwsCredentialIdentity
|
|
112
|
-
| import("@smithy/types").AwsCredentialIdentityProvider
|
|
113
|
-
| undefined;
|
|
106
|
+
| import("@smithy/types").AwsCredentialIdentityProvider;
|
|
114
107
|
signer?:
|
|
115
108
|
| import("@smithy/types").RequestSigner
|
|
116
109
|
| ((
|
|
117
|
-
authScheme?: import("@smithy/types").AuthScheme
|
|
118
|
-
) => Promise<import("@smithy/types").RequestSigner>)
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
import("@smithy/signature-v4").SignatureV4CryptoInit
|
|
127
|
-
) => import("@smithy/types").RequestSigner)
|
|
128
|
-
| undefined;
|
|
110
|
+
authScheme?: import("@smithy/types").AuthScheme
|
|
111
|
+
) => Promise<import("@smithy/types").RequestSigner>);
|
|
112
|
+
signingEscapePath?: boolean;
|
|
113
|
+
systemClockOffset?: number;
|
|
114
|
+
signingRegion?: string;
|
|
115
|
+
signerConstructor?: new (
|
|
116
|
+
options: import("@smithy/signature-v4").SignatureV4Init &
|
|
117
|
+
import("@smithy/signature-v4").SignatureV4CryptoInit
|
|
118
|
+
) => import("@smithy/types").RequestSigner;
|
|
129
119
|
};
|
|
@@ -5,12 +5,12 @@ import { SSOOIDCClientConfig } from "./SSOOIDCClient";
|
|
|
5
5
|
export declare const getRuntimeConfig: (config: SSOOIDCClientConfig) => {
|
|
6
6
|
apiVersion: string;
|
|
7
7
|
base64Decoder: import("@smithy/types").Decoder;
|
|
8
|
-
base64Encoder: (_input:
|
|
8
|
+
base64Encoder: (_input: Uint8Array | string) => string;
|
|
9
9
|
disableHostPrefix: boolean;
|
|
10
10
|
endpointProvider: (
|
|
11
11
|
endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
|
|
12
12
|
context?: {
|
|
13
|
-
logger?: import("@smithy/types").Logger
|
|
13
|
+
logger?: import("@smithy/types").Logger;
|
|
14
14
|
}
|
|
15
15
|
) => import("@smithy/types").EndpointV2;
|
|
16
16
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
@@ -45,5 +45,5 @@ export declare const getRuntimeConfig: (config: SSOOIDCClientConfig) => {
|
|
|
45
45
|
serviceId: string;
|
|
46
46
|
urlParser: import("@smithy/types").UrlParser;
|
|
47
47
|
utf8Decoder: import("@smithy/types").Decoder;
|
|
48
|
-
utf8Encoder: (input:
|
|
48
|
+
utf8Encoder: (input: Uint8Array | string) => string;
|
|
49
49
|
};
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-sso-oidc",
|
|
3
3
|
"description": "AWS SDK for JavaScript Sso Oidc Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.806.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-sso-oidc",
|
|
@@ -20,39 +20,39 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
23
|
-
"@aws-sdk/core": "3.
|
|
24
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
25
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
26
|
-
"@aws-sdk/middleware-logger": "3.
|
|
27
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
28
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
29
|
-
"@aws-sdk/region-config-resolver": "3.
|
|
30
|
-
"@aws-sdk/types": "3.
|
|
31
|
-
"@aws-sdk/util-endpoints": "3.
|
|
32
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
33
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
34
|
-
"@smithy/config-resolver": "^4.1.
|
|
35
|
-
"@smithy/core": "^3.3.
|
|
23
|
+
"@aws-sdk/core": "3.806.0",
|
|
24
|
+
"@aws-sdk/credential-provider-node": "3.806.0",
|
|
25
|
+
"@aws-sdk/middleware-host-header": "3.804.0",
|
|
26
|
+
"@aws-sdk/middleware-logger": "3.804.0",
|
|
27
|
+
"@aws-sdk/middleware-recursion-detection": "3.804.0",
|
|
28
|
+
"@aws-sdk/middleware-user-agent": "3.806.0",
|
|
29
|
+
"@aws-sdk/region-config-resolver": "3.806.0",
|
|
30
|
+
"@aws-sdk/types": "3.804.0",
|
|
31
|
+
"@aws-sdk/util-endpoints": "3.806.0",
|
|
32
|
+
"@aws-sdk/util-user-agent-browser": "3.804.0",
|
|
33
|
+
"@aws-sdk/util-user-agent-node": "3.806.0",
|
|
34
|
+
"@smithy/config-resolver": "^4.1.1",
|
|
35
|
+
"@smithy/core": "^3.3.1",
|
|
36
36
|
"@smithy/fetch-http-handler": "^5.0.2",
|
|
37
37
|
"@smithy/hash-node": "^4.0.2",
|
|
38
38
|
"@smithy/invalid-dependency": "^4.0.2",
|
|
39
39
|
"@smithy/middleware-content-length": "^4.0.2",
|
|
40
|
-
"@smithy/middleware-endpoint": "^4.1.
|
|
41
|
-
"@smithy/middleware-retry": "^4.1.
|
|
40
|
+
"@smithy/middleware-endpoint": "^4.1.3",
|
|
41
|
+
"@smithy/middleware-retry": "^4.1.4",
|
|
42
42
|
"@smithy/middleware-serde": "^4.0.3",
|
|
43
43
|
"@smithy/middleware-stack": "^4.0.2",
|
|
44
|
-
"@smithy/node-config-provider": "^4.0
|
|
44
|
+
"@smithy/node-config-provider": "^4.1.0",
|
|
45
45
|
"@smithy/node-http-handler": "^4.0.4",
|
|
46
46
|
"@smithy/protocol-http": "^5.1.0",
|
|
47
|
-
"@smithy/smithy-client": "^4.2.
|
|
47
|
+
"@smithy/smithy-client": "^4.2.3",
|
|
48
48
|
"@smithy/types": "^4.2.0",
|
|
49
49
|
"@smithy/url-parser": "^4.0.2",
|
|
50
50
|
"@smithy/util-base64": "^4.0.0",
|
|
51
51
|
"@smithy/util-body-length-browser": "^4.0.0",
|
|
52
52
|
"@smithy/util-body-length-node": "^4.0.0",
|
|
53
|
-
"@smithy/util-defaults-mode-browser": "^4.0.
|
|
54
|
-
"@smithy/util-defaults-mode-node": "^4.0.
|
|
55
|
-
"@smithy/util-endpoints": "^3.0.
|
|
53
|
+
"@smithy/util-defaults-mode-browser": "^4.0.11",
|
|
54
|
+
"@smithy/util-defaults-mode-node": "^4.0.11",
|
|
55
|
+
"@smithy/util-endpoints": "^3.0.3",
|
|
56
56
|
"@smithy/util-middleware": "^4.0.2",
|
|
57
57
|
"@smithy/util-retry": "^4.0.3",
|
|
58
58
|
"@smithy/util-utf8": "^4.0.0",
|
|
@@ -64,7 +64,7 @@
|
|
|
64
64
|
"concurrently": "7.0.0",
|
|
65
65
|
"downlevel-dts": "0.10.1",
|
|
66
66
|
"rimraf": "3.0.2",
|
|
67
|
-
"typescript": "~5.
|
|
67
|
+
"typescript": "~5.8.3"
|
|
68
68
|
},
|
|
69
69
|
"engines": {
|
|
70
70
|
"node": ">=18.0.0"
|