@aws-sdk/client-sso-oidc 3.294.0 → 3.296.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/commands/CreateTokenCommand.js +4 -4
- package/dist-cjs/commands/RegisterClientCommand.js +4 -4
- package/dist-cjs/commands/StartDeviceAuthorizationCommand.js +4 -4
- package/dist-es/commands/CreateTokenCommand.js +4 -4
- package/dist-es/commands/RegisterClientCommand.js +4 -4
- package/dist-es/commands/StartDeviceAuthorizationCommand.js +4 -4
- package/dist-types/SSOOIDCClient.d.ts +4 -4
- package/dist-types/endpoint/EndpointParameters.d.ts +1 -1
- package/dist-types/ts3.4/SSOOIDCClient.d.ts +4 -4
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +3 -4
- package/package.json +33 -33
|
@@ -7,10 +7,6 @@ const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
|
7
7
|
const models_0_1 = require("../models/models_0");
|
|
8
8
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
9
9
|
class CreateTokenCommand extends smithy_client_1.Command {
|
|
10
|
-
constructor(input) {
|
|
11
|
-
super();
|
|
12
|
-
this.input = input;
|
|
13
|
-
}
|
|
14
10
|
static getEndpointParameterInstructions() {
|
|
15
11
|
return {
|
|
16
12
|
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
@@ -19,6 +15,10 @@ class CreateTokenCommand extends smithy_client_1.Command {
|
|
|
19
15
|
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
20
16
|
};
|
|
21
17
|
}
|
|
18
|
+
constructor(input) {
|
|
19
|
+
super();
|
|
20
|
+
this.input = input;
|
|
21
|
+
}
|
|
22
22
|
resolveMiddleware(clientStack, configuration, options) {
|
|
23
23
|
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
24
24
|
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, CreateTokenCommand.getEndpointParameterInstructions()));
|
|
@@ -7,10 +7,6 @@ const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
|
7
7
|
const models_0_1 = require("../models/models_0");
|
|
8
8
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
9
9
|
class RegisterClientCommand extends smithy_client_1.Command {
|
|
10
|
-
constructor(input) {
|
|
11
|
-
super();
|
|
12
|
-
this.input = input;
|
|
13
|
-
}
|
|
14
10
|
static getEndpointParameterInstructions() {
|
|
15
11
|
return {
|
|
16
12
|
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
@@ -19,6 +15,10 @@ class RegisterClientCommand extends smithy_client_1.Command {
|
|
|
19
15
|
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
20
16
|
};
|
|
21
17
|
}
|
|
18
|
+
constructor(input) {
|
|
19
|
+
super();
|
|
20
|
+
this.input = input;
|
|
21
|
+
}
|
|
22
22
|
resolveMiddleware(clientStack, configuration, options) {
|
|
23
23
|
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
24
24
|
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, RegisterClientCommand.getEndpointParameterInstructions()));
|
|
@@ -7,10 +7,6 @@ const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
|
7
7
|
const models_0_1 = require("../models/models_0");
|
|
8
8
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
9
9
|
class StartDeviceAuthorizationCommand extends smithy_client_1.Command {
|
|
10
|
-
constructor(input) {
|
|
11
|
-
super();
|
|
12
|
-
this.input = input;
|
|
13
|
-
}
|
|
14
10
|
static getEndpointParameterInstructions() {
|
|
15
11
|
return {
|
|
16
12
|
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
@@ -19,6 +15,10 @@ class StartDeviceAuthorizationCommand extends smithy_client_1.Command {
|
|
|
19
15
|
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
20
16
|
};
|
|
21
17
|
}
|
|
18
|
+
constructor(input) {
|
|
19
|
+
super();
|
|
20
|
+
this.input = input;
|
|
21
|
+
}
|
|
22
22
|
resolveMiddleware(clientStack, configuration, options) {
|
|
23
23
|
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
24
24
|
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, StartDeviceAuthorizationCommand.getEndpointParameterInstructions()));
|
|
@@ -4,10 +4,6 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
|
4
4
|
import { CreateTokenRequestFilterSensitiveLog, CreateTokenResponseFilterSensitiveLog, } from "../models/models_0";
|
|
5
5
|
import { deserializeAws_restJson1CreateTokenCommand, serializeAws_restJson1CreateTokenCommand, } from "../protocols/Aws_restJson1";
|
|
6
6
|
export class CreateTokenCommand extends $Command {
|
|
7
|
-
constructor(input) {
|
|
8
|
-
super();
|
|
9
|
-
this.input = input;
|
|
10
|
-
}
|
|
11
7
|
static getEndpointParameterInstructions() {
|
|
12
8
|
return {
|
|
13
9
|
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
@@ -16,6 +12,10 @@ export class CreateTokenCommand extends $Command {
|
|
|
16
12
|
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
13
|
};
|
|
18
14
|
}
|
|
15
|
+
constructor(input) {
|
|
16
|
+
super();
|
|
17
|
+
this.input = input;
|
|
18
|
+
}
|
|
19
19
|
resolveMiddleware(clientStack, configuration, options) {
|
|
20
20
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
21
|
this.middlewareStack.use(getEndpointPlugin(configuration, CreateTokenCommand.getEndpointParameterInstructions()));
|
|
@@ -4,10 +4,6 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
|
4
4
|
import { RegisterClientRequestFilterSensitiveLog, RegisterClientResponseFilterSensitiveLog, } from "../models/models_0";
|
|
5
5
|
import { deserializeAws_restJson1RegisterClientCommand, serializeAws_restJson1RegisterClientCommand, } from "../protocols/Aws_restJson1";
|
|
6
6
|
export class RegisterClientCommand extends $Command {
|
|
7
|
-
constructor(input) {
|
|
8
|
-
super();
|
|
9
|
-
this.input = input;
|
|
10
|
-
}
|
|
11
7
|
static getEndpointParameterInstructions() {
|
|
12
8
|
return {
|
|
13
9
|
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
@@ -16,6 +12,10 @@ export class RegisterClientCommand extends $Command {
|
|
|
16
12
|
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
13
|
};
|
|
18
14
|
}
|
|
15
|
+
constructor(input) {
|
|
16
|
+
super();
|
|
17
|
+
this.input = input;
|
|
18
|
+
}
|
|
19
19
|
resolveMiddleware(clientStack, configuration, options) {
|
|
20
20
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
21
|
this.middlewareStack.use(getEndpointPlugin(configuration, RegisterClientCommand.getEndpointParameterInstructions()));
|
|
@@ -4,10 +4,6 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
|
4
4
|
import { StartDeviceAuthorizationRequestFilterSensitiveLog, StartDeviceAuthorizationResponseFilterSensitiveLog, } from "../models/models_0";
|
|
5
5
|
import { deserializeAws_restJson1StartDeviceAuthorizationCommand, serializeAws_restJson1StartDeviceAuthorizationCommand, } from "../protocols/Aws_restJson1";
|
|
6
6
|
export class StartDeviceAuthorizationCommand extends $Command {
|
|
7
|
-
constructor(input) {
|
|
8
|
-
super();
|
|
9
|
-
this.input = input;
|
|
10
|
-
}
|
|
11
7
|
static getEndpointParameterInstructions() {
|
|
12
8
|
return {
|
|
13
9
|
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
@@ -16,6 +12,10 @@ export class StartDeviceAuthorizationCommand extends $Command {
|
|
|
16
12
|
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
13
|
};
|
|
18
14
|
}
|
|
15
|
+
constructor(input) {
|
|
16
|
+
super();
|
|
17
|
+
this.input = input;
|
|
18
|
+
}
|
|
19
19
|
resolveMiddleware(clientStack, configuration, options) {
|
|
20
20
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
21
|
this.middlewareStack.use(getEndpointPlugin(configuration, StartDeviceAuthorizationCommand.getEndpointParameterInstructions()));
|
|
@@ -10,8 +10,8 @@ import { CreateTokenCommandInput, CreateTokenCommandOutput } from "./commands/Cr
|
|
|
10
10
|
import { RegisterClientCommandInput, RegisterClientCommandOutput } from "./commands/RegisterClientCommand";
|
|
11
11
|
import { StartDeviceAuthorizationCommandInput, StartDeviceAuthorizationCommandOutput } from "./commands/StartDeviceAuthorizationCommand";
|
|
12
12
|
import { ClientInputEndpointParameters, ClientResolvedEndpointParameters, EndpointParameters } from "./endpoint/EndpointParameters";
|
|
13
|
-
export
|
|
14
|
-
export
|
|
13
|
+
export type ServiceInputTypes = CreateTokenCommandInput | RegisterClientCommandInput | StartDeviceAuthorizationCommandInput;
|
|
14
|
+
export type ServiceOutputTypes = CreateTokenCommandOutput | RegisterClientCommandOutput | StartDeviceAuthorizationCommandOutput;
|
|
15
15
|
export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
|
|
16
16
|
/**
|
|
17
17
|
* The HTTP handler to use. Fetch in browser and Https in Nodejs.
|
|
@@ -107,13 +107,13 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
|
|
|
107
107
|
*/
|
|
108
108
|
defaultsMode?: __DefaultsMode | __Provider<__DefaultsMode>;
|
|
109
109
|
}
|
|
110
|
-
|
|
110
|
+
type SSOOIDCClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointInputConfig<EndpointParameters> & RetryInputConfig & HostHeaderInputConfig & UserAgentInputConfig & ClientInputEndpointParameters;
|
|
111
111
|
/**
|
|
112
112
|
* The configuration interface of SSOOIDCClient class constructor that set the region, credentials and other options.
|
|
113
113
|
*/
|
|
114
114
|
export interface SSOOIDCClientConfig extends SSOOIDCClientConfigType {
|
|
115
115
|
}
|
|
116
|
-
|
|
116
|
+
type SSOOIDCClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & Required<ClientDefaults> & RegionResolvedConfig & EndpointResolvedConfig<EndpointParameters> & RetryResolvedConfig & HostHeaderResolvedConfig & UserAgentResolvedConfig & ClientResolvedEndpointParameters;
|
|
117
117
|
/**
|
|
118
118
|
* The resolved configuration interface of SSOOIDCClient class. This is resolved and normalized from the {@link SSOOIDCClientConfig | constructor configuration interface}.
|
|
119
119
|
*/
|
|
@@ -5,7 +5,7 @@ export interface ClientInputEndpointParameters {
|
|
|
5
5
|
useFipsEndpoint?: boolean | Provider<boolean>;
|
|
6
6
|
endpoint?: string | Provider<string> | Endpoint | Provider<Endpoint> | EndpointV2 | Provider<EndpointV2>;
|
|
7
7
|
}
|
|
8
|
-
export
|
|
8
|
+
export type ClientResolvedEndpointParameters = ClientInputEndpointParameters & {
|
|
9
9
|
defaultSigningName: string;
|
|
10
10
|
};
|
|
11
11
|
export declare const resolveClientEndpointParameters: <T>(options: T & ClientInputEndpointParameters) => T & ClientInputEndpointParameters & {
|
|
@@ -56,11 +56,11 @@ import {
|
|
|
56
56
|
ClientResolvedEndpointParameters,
|
|
57
57
|
EndpointParameters,
|
|
58
58
|
} from "./endpoint/EndpointParameters";
|
|
59
|
-
export
|
|
59
|
+
export type ServiceInputTypes =
|
|
60
60
|
| CreateTokenCommandInput
|
|
61
61
|
| RegisterClientCommandInput
|
|
62
62
|
| StartDeviceAuthorizationCommandInput;
|
|
63
|
-
export
|
|
63
|
+
export type ServiceOutputTypes =
|
|
64
64
|
| CreateTokenCommandOutput
|
|
65
65
|
| RegisterClientCommandOutput
|
|
66
66
|
| StartDeviceAuthorizationCommandOutput;
|
|
@@ -87,7 +87,7 @@ export interface ClientDefaults
|
|
|
87
87
|
logger?: __Logger;
|
|
88
88
|
defaultsMode?: __DefaultsMode | __Provider<__DefaultsMode>;
|
|
89
89
|
}
|
|
90
|
-
|
|
90
|
+
type SSOOIDCClientConfigType = Partial<
|
|
91
91
|
__SmithyConfiguration<__HttpHandlerOptions>
|
|
92
92
|
> &
|
|
93
93
|
ClientDefaults &
|
|
@@ -98,7 +98,7 @@ declare type SSOOIDCClientConfigType = Partial<
|
|
|
98
98
|
UserAgentInputConfig &
|
|
99
99
|
ClientInputEndpointParameters;
|
|
100
100
|
export interface SSOOIDCClientConfig extends SSOOIDCClientConfigType {}
|
|
101
|
-
|
|
101
|
+
type SSOOIDCClientResolvedConfigType =
|
|
102
102
|
__SmithyResolvedConfiguration<__HttpHandlerOptions> &
|
|
103
103
|
Required<ClientDefaults> &
|
|
104
104
|
RegionResolvedConfig &
|
|
@@ -16,10 +16,9 @@ export interface ClientInputEndpointParameters {
|
|
|
16
16
|
| EndpointV2
|
|
17
17
|
| Provider<EndpointV2>;
|
|
18
18
|
}
|
|
19
|
-
export
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
};
|
|
19
|
+
export type ClientResolvedEndpointParameters = ClientInputEndpointParameters & {
|
|
20
|
+
defaultSigningName: string;
|
|
21
|
+
};
|
|
23
22
|
export declare const resolveClientEndpointParameters: <T>(
|
|
24
23
|
options: T & ClientInputEndpointParameters
|
|
25
24
|
) => T &
|
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.296.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -20,46 +20,46 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
23
|
-
"@aws-sdk/config-resolver": "3.
|
|
24
|
-
"@aws-sdk/fetch-http-handler": "3.
|
|
25
|
-
"@aws-sdk/hash-node": "3.
|
|
26
|
-
"@aws-sdk/invalid-dependency": "3.
|
|
27
|
-
"@aws-sdk/middleware-content-length": "3.
|
|
28
|
-
"@aws-sdk/middleware-endpoint": "3.
|
|
29
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
30
|
-
"@aws-sdk/middleware-logger": "3.
|
|
31
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
32
|
-
"@aws-sdk/middleware-retry": "3.
|
|
33
|
-
"@aws-sdk/middleware-serde": "3.
|
|
34
|
-
"@aws-sdk/middleware-stack": "3.
|
|
35
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
36
|
-
"@aws-sdk/node-config-provider": "3.
|
|
37
|
-
"@aws-sdk/node-http-handler": "3.
|
|
38
|
-
"@aws-sdk/protocol-http": "3.
|
|
39
|
-
"@aws-sdk/smithy-client": "3.
|
|
40
|
-
"@aws-sdk/types": "3.
|
|
41
|
-
"@aws-sdk/url-parser": "3.
|
|
42
|
-
"@aws-sdk/util-base64": "3.
|
|
43
|
-
"@aws-sdk/util-body-length-browser": "3.
|
|
44
|
-
"@aws-sdk/util-body-length-node": "3.
|
|
45
|
-
"@aws-sdk/util-defaults-mode-browser": "3.
|
|
46
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
47
|
-
"@aws-sdk/util-endpoints": "3.
|
|
48
|
-
"@aws-sdk/util-retry": "3.
|
|
49
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
50
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
51
|
-
"@aws-sdk/util-utf8": "3.
|
|
52
|
-
"tslib": "^2.
|
|
23
|
+
"@aws-sdk/config-resolver": "3.296.0",
|
|
24
|
+
"@aws-sdk/fetch-http-handler": "3.296.0",
|
|
25
|
+
"@aws-sdk/hash-node": "3.296.0",
|
|
26
|
+
"@aws-sdk/invalid-dependency": "3.296.0",
|
|
27
|
+
"@aws-sdk/middleware-content-length": "3.296.0",
|
|
28
|
+
"@aws-sdk/middleware-endpoint": "3.296.0",
|
|
29
|
+
"@aws-sdk/middleware-host-header": "3.296.0",
|
|
30
|
+
"@aws-sdk/middleware-logger": "3.296.0",
|
|
31
|
+
"@aws-sdk/middleware-recursion-detection": "3.296.0",
|
|
32
|
+
"@aws-sdk/middleware-retry": "3.296.0",
|
|
33
|
+
"@aws-sdk/middleware-serde": "3.296.0",
|
|
34
|
+
"@aws-sdk/middleware-stack": "3.296.0",
|
|
35
|
+
"@aws-sdk/middleware-user-agent": "3.296.0",
|
|
36
|
+
"@aws-sdk/node-config-provider": "3.296.0",
|
|
37
|
+
"@aws-sdk/node-http-handler": "3.296.0",
|
|
38
|
+
"@aws-sdk/protocol-http": "3.296.0",
|
|
39
|
+
"@aws-sdk/smithy-client": "3.296.0",
|
|
40
|
+
"@aws-sdk/types": "3.296.0",
|
|
41
|
+
"@aws-sdk/url-parser": "3.296.0",
|
|
42
|
+
"@aws-sdk/util-base64": "3.295.0",
|
|
43
|
+
"@aws-sdk/util-body-length-browser": "3.295.0",
|
|
44
|
+
"@aws-sdk/util-body-length-node": "3.295.0",
|
|
45
|
+
"@aws-sdk/util-defaults-mode-browser": "3.296.0",
|
|
46
|
+
"@aws-sdk/util-defaults-mode-node": "3.296.0",
|
|
47
|
+
"@aws-sdk/util-endpoints": "3.296.0",
|
|
48
|
+
"@aws-sdk/util-retry": "3.296.0",
|
|
49
|
+
"@aws-sdk/util-user-agent-browser": "3.296.0",
|
|
50
|
+
"@aws-sdk/util-user-agent-node": "3.296.0",
|
|
51
|
+
"@aws-sdk/util-utf8": "3.295.0",
|
|
52
|
+
"tslib": "^2.5.0"
|
|
53
53
|
},
|
|
54
54
|
"devDependencies": {
|
|
55
|
-
"@aws-sdk/service-client-documentation-generator": "3.
|
|
55
|
+
"@aws-sdk/service-client-documentation-generator": "3.295.0",
|
|
56
56
|
"@tsconfig/node14": "1.0.3",
|
|
57
57
|
"@types/node": "^14.14.31",
|
|
58
58
|
"concurrently": "7.0.0",
|
|
59
59
|
"downlevel-dts": "0.10.1",
|
|
60
60
|
"rimraf": "3.0.2",
|
|
61
61
|
"typedoc": "0.23.23",
|
|
62
|
-
"typescript": "~4.
|
|
62
|
+
"typescript": "~4.9.5"
|
|
63
63
|
},
|
|
64
64
|
"engines": {
|
|
65
65
|
"node": ">=14.0.0"
|