@aws-sdk/client-sso-oidc 3.297.0 → 3.299.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 +2 -3
- package/dist-cjs/commands/RegisterClientCommand.js +2 -3
- package/dist-cjs/commands/StartDeviceAuthorizationCommand.js +2 -3
- package/dist-cjs/models/models_0.js +1 -25
- package/dist-es/commands/CreateTokenCommand.js +2 -3
- package/dist-es/commands/RegisterClientCommand.js +2 -3
- package/dist-es/commands/StartDeviceAuthorizationCommand.js +2 -3
- package/dist-es/models/models_0.js +0 -18
- package/dist-types/models/models_0.d.ts +0 -24
- package/dist-types/ts3.4/models/models_0.d.ts +0 -18
- package/package.json +8 -7
|
@@ -4,7 +4,6 @@ exports.CreateTokenCommand = void 0;
|
|
|
4
4
|
const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
|
|
5
5
|
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
7
|
-
const models_0_1 = require("../models/models_0");
|
|
8
7
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
9
8
|
class CreateTokenCommand extends smithy_client_1.Command {
|
|
10
9
|
static getEndpointParameterInstructions() {
|
|
@@ -30,8 +29,8 @@ class CreateTokenCommand extends smithy_client_1.Command {
|
|
|
30
29
|
logger,
|
|
31
30
|
clientName,
|
|
32
31
|
commandName,
|
|
33
|
-
inputFilterSensitiveLog:
|
|
34
|
-
outputFilterSensitiveLog:
|
|
32
|
+
inputFilterSensitiveLog: (_) => _,
|
|
33
|
+
outputFilterSensitiveLog: (_) => _,
|
|
35
34
|
};
|
|
36
35
|
const { requestHandler } = configuration;
|
|
37
36
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -4,7 +4,6 @@ exports.RegisterClientCommand = void 0;
|
|
|
4
4
|
const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
|
|
5
5
|
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
7
|
-
const models_0_1 = require("../models/models_0");
|
|
8
7
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
9
8
|
class RegisterClientCommand extends smithy_client_1.Command {
|
|
10
9
|
static getEndpointParameterInstructions() {
|
|
@@ -30,8 +29,8 @@ class RegisterClientCommand extends smithy_client_1.Command {
|
|
|
30
29
|
logger,
|
|
31
30
|
clientName,
|
|
32
31
|
commandName,
|
|
33
|
-
inputFilterSensitiveLog:
|
|
34
|
-
outputFilterSensitiveLog:
|
|
32
|
+
inputFilterSensitiveLog: (_) => _,
|
|
33
|
+
outputFilterSensitiveLog: (_) => _,
|
|
35
34
|
};
|
|
36
35
|
const { requestHandler } = configuration;
|
|
37
36
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -4,7 +4,6 @@ exports.StartDeviceAuthorizationCommand = void 0;
|
|
|
4
4
|
const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
|
|
5
5
|
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
7
|
-
const models_0_1 = require("../models/models_0");
|
|
8
7
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
9
8
|
class StartDeviceAuthorizationCommand extends smithy_client_1.Command {
|
|
10
9
|
static getEndpointParameterInstructions() {
|
|
@@ -30,8 +29,8 @@ class StartDeviceAuthorizationCommand extends smithy_client_1.Command {
|
|
|
30
29
|
logger,
|
|
31
30
|
clientName,
|
|
32
31
|
commandName,
|
|
33
|
-
inputFilterSensitiveLog:
|
|
34
|
-
outputFilterSensitiveLog:
|
|
32
|
+
inputFilterSensitiveLog: (_) => _,
|
|
33
|
+
outputFilterSensitiveLog: (_) => _,
|
|
35
34
|
};
|
|
36
35
|
const { requestHandler } = configuration;
|
|
37
36
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
3
|
+
exports.InvalidClientMetadataException = exports.UnsupportedGrantTypeException = exports.UnauthorizedClientException = exports.SlowDownException = exports.InvalidScopeException = exports.InvalidRequestException = exports.InvalidGrantException = exports.InvalidClientException = exports.InternalServerException = exports.ExpiredTokenException = exports.AuthorizationPendingException = exports.AccessDeniedException = void 0;
|
|
4
4
|
const SSOOIDCServiceException_1 = require("./SSOOIDCServiceException");
|
|
5
5
|
class AccessDeniedException extends SSOOIDCServiceException_1.SSOOIDCServiceException {
|
|
6
6
|
constructor(opts) {
|
|
@@ -182,27 +182,3 @@ class InvalidClientMetadataException extends SSOOIDCServiceException_1.SSOOIDCSe
|
|
|
182
182
|
}
|
|
183
183
|
}
|
|
184
184
|
exports.InvalidClientMetadataException = InvalidClientMetadataException;
|
|
185
|
-
const CreateTokenRequestFilterSensitiveLog = (obj) => ({
|
|
186
|
-
...obj,
|
|
187
|
-
});
|
|
188
|
-
exports.CreateTokenRequestFilterSensitiveLog = CreateTokenRequestFilterSensitiveLog;
|
|
189
|
-
const CreateTokenResponseFilterSensitiveLog = (obj) => ({
|
|
190
|
-
...obj,
|
|
191
|
-
});
|
|
192
|
-
exports.CreateTokenResponseFilterSensitiveLog = CreateTokenResponseFilterSensitiveLog;
|
|
193
|
-
const RegisterClientRequestFilterSensitiveLog = (obj) => ({
|
|
194
|
-
...obj,
|
|
195
|
-
});
|
|
196
|
-
exports.RegisterClientRequestFilterSensitiveLog = RegisterClientRequestFilterSensitiveLog;
|
|
197
|
-
const RegisterClientResponseFilterSensitiveLog = (obj) => ({
|
|
198
|
-
...obj,
|
|
199
|
-
});
|
|
200
|
-
exports.RegisterClientResponseFilterSensitiveLog = RegisterClientResponseFilterSensitiveLog;
|
|
201
|
-
const StartDeviceAuthorizationRequestFilterSensitiveLog = (obj) => ({
|
|
202
|
-
...obj,
|
|
203
|
-
});
|
|
204
|
-
exports.StartDeviceAuthorizationRequestFilterSensitiveLog = StartDeviceAuthorizationRequestFilterSensitiveLog;
|
|
205
|
-
const StartDeviceAuthorizationResponseFilterSensitiveLog = (obj) => ({
|
|
206
|
-
...obj,
|
|
207
|
-
});
|
|
208
|
-
exports.StartDeviceAuthorizationResponseFilterSensitiveLog = StartDeviceAuthorizationResponseFilterSensitiveLog;
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import { CreateTokenRequestFilterSensitiveLog, CreateTokenResponseFilterSensitiveLog, } from "../models/models_0";
|
|
5
4
|
import { deserializeAws_restJson1CreateTokenCommand, serializeAws_restJson1CreateTokenCommand, } from "../protocols/Aws_restJson1";
|
|
6
5
|
export class CreateTokenCommand extends $Command {
|
|
7
6
|
static getEndpointParameterInstructions() {
|
|
@@ -27,8 +26,8 @@ export class CreateTokenCommand extends $Command {
|
|
|
27
26
|
logger,
|
|
28
27
|
clientName,
|
|
29
28
|
commandName,
|
|
30
|
-
inputFilterSensitiveLog:
|
|
31
|
-
outputFilterSensitiveLog:
|
|
29
|
+
inputFilterSensitiveLog: (_) => _,
|
|
30
|
+
outputFilterSensitiveLog: (_) => _,
|
|
32
31
|
};
|
|
33
32
|
const { requestHandler } = configuration;
|
|
34
33
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import { RegisterClientRequestFilterSensitiveLog, RegisterClientResponseFilterSensitiveLog, } from "../models/models_0";
|
|
5
4
|
import { deserializeAws_restJson1RegisterClientCommand, serializeAws_restJson1RegisterClientCommand, } from "../protocols/Aws_restJson1";
|
|
6
5
|
export class RegisterClientCommand extends $Command {
|
|
7
6
|
static getEndpointParameterInstructions() {
|
|
@@ -27,8 +26,8 @@ export class RegisterClientCommand extends $Command {
|
|
|
27
26
|
logger,
|
|
28
27
|
clientName,
|
|
29
28
|
commandName,
|
|
30
|
-
inputFilterSensitiveLog:
|
|
31
|
-
outputFilterSensitiveLog:
|
|
29
|
+
inputFilterSensitiveLog: (_) => _,
|
|
30
|
+
outputFilterSensitiveLog: (_) => _,
|
|
32
31
|
};
|
|
33
32
|
const { requestHandler } = configuration;
|
|
34
33
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import { StartDeviceAuthorizationRequestFilterSensitiveLog, StartDeviceAuthorizationResponseFilterSensitiveLog, } from "../models/models_0";
|
|
5
4
|
import { deserializeAws_restJson1StartDeviceAuthorizationCommand, serializeAws_restJson1StartDeviceAuthorizationCommand, } from "../protocols/Aws_restJson1";
|
|
6
5
|
export class StartDeviceAuthorizationCommand extends $Command {
|
|
7
6
|
static getEndpointParameterInstructions() {
|
|
@@ -27,8 +26,8 @@ export class StartDeviceAuthorizationCommand extends $Command {
|
|
|
27
26
|
logger,
|
|
28
27
|
clientName,
|
|
29
28
|
commandName,
|
|
30
|
-
inputFilterSensitiveLog:
|
|
31
|
-
outputFilterSensitiveLog:
|
|
29
|
+
inputFilterSensitiveLog: (_) => _,
|
|
30
|
+
outputFilterSensitiveLog: (_) => _,
|
|
32
31
|
};
|
|
33
32
|
const { requestHandler } = configuration;
|
|
34
33
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -167,21 +167,3 @@ export class InvalidClientMetadataException extends __BaseException {
|
|
|
167
167
|
this.error_description = opts.error_description;
|
|
168
168
|
}
|
|
169
169
|
}
|
|
170
|
-
export const CreateTokenRequestFilterSensitiveLog = (obj) => ({
|
|
171
|
-
...obj,
|
|
172
|
-
});
|
|
173
|
-
export const CreateTokenResponseFilterSensitiveLog = (obj) => ({
|
|
174
|
-
...obj,
|
|
175
|
-
});
|
|
176
|
-
export const RegisterClientRequestFilterSensitiveLog = (obj) => ({
|
|
177
|
-
...obj,
|
|
178
|
-
});
|
|
179
|
-
export const RegisterClientResponseFilterSensitiveLog = (obj) => ({
|
|
180
|
-
...obj,
|
|
181
|
-
});
|
|
182
|
-
export const StartDeviceAuthorizationRequestFilterSensitiveLog = (obj) => ({
|
|
183
|
-
...obj,
|
|
184
|
-
});
|
|
185
|
-
export const StartDeviceAuthorizationResponseFilterSensitiveLog = (obj) => ({
|
|
186
|
-
...obj,
|
|
187
|
-
});
|
|
@@ -375,27 +375,3 @@ export interface StartDeviceAuthorizationResponse {
|
|
|
375
375
|
*/
|
|
376
376
|
interval?: number;
|
|
377
377
|
}
|
|
378
|
-
/**
|
|
379
|
-
* @internal
|
|
380
|
-
*/
|
|
381
|
-
export declare const CreateTokenRequestFilterSensitiveLog: (obj: CreateTokenRequest) => any;
|
|
382
|
-
/**
|
|
383
|
-
* @internal
|
|
384
|
-
*/
|
|
385
|
-
export declare const CreateTokenResponseFilterSensitiveLog: (obj: CreateTokenResponse) => any;
|
|
386
|
-
/**
|
|
387
|
-
* @internal
|
|
388
|
-
*/
|
|
389
|
-
export declare const RegisterClientRequestFilterSensitiveLog: (obj: RegisterClientRequest) => any;
|
|
390
|
-
/**
|
|
391
|
-
* @internal
|
|
392
|
-
*/
|
|
393
|
-
export declare const RegisterClientResponseFilterSensitiveLog: (obj: RegisterClientResponse) => any;
|
|
394
|
-
/**
|
|
395
|
-
* @internal
|
|
396
|
-
*/
|
|
397
|
-
export declare const StartDeviceAuthorizationRequestFilterSensitiveLog: (obj: StartDeviceAuthorizationRequest) => any;
|
|
398
|
-
/**
|
|
399
|
-
* @internal
|
|
400
|
-
*/
|
|
401
|
-
export declare const StartDeviceAuthorizationResponseFilterSensitiveLog: (obj: StartDeviceAuthorizationResponse) => any;
|
|
@@ -149,21 +149,3 @@ export interface StartDeviceAuthorizationResponse {
|
|
|
149
149
|
expiresIn?: number;
|
|
150
150
|
interval?: number;
|
|
151
151
|
}
|
|
152
|
-
export declare const CreateTokenRequestFilterSensitiveLog: (
|
|
153
|
-
obj: CreateTokenRequest
|
|
154
|
-
) => any;
|
|
155
|
-
export declare const CreateTokenResponseFilterSensitiveLog: (
|
|
156
|
-
obj: CreateTokenResponse
|
|
157
|
-
) => any;
|
|
158
|
-
export declare const RegisterClientRequestFilterSensitiveLog: (
|
|
159
|
-
obj: RegisterClientRequest
|
|
160
|
-
) => any;
|
|
161
|
-
export declare const RegisterClientResponseFilterSensitiveLog: (
|
|
162
|
-
obj: RegisterClientResponse
|
|
163
|
-
) => any;
|
|
164
|
-
export declare const StartDeviceAuthorizationRequestFilterSensitiveLog: (
|
|
165
|
-
obj: StartDeviceAuthorizationRequest
|
|
166
|
-
) => any;
|
|
167
|
-
export declare const StartDeviceAuthorizationResponseFilterSensitiveLog: (
|
|
168
|
-
obj: StartDeviceAuthorizationResponse
|
|
169
|
-
) => any;
|
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.299.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",
|
|
@@ -11,6 +11,7 @@
|
|
|
11
11
|
"build:types": "tsc -p tsconfig.types.json",
|
|
12
12
|
"build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4",
|
|
13
13
|
"clean": "rimraf ./dist-* && rimraf *.tsbuildinfo",
|
|
14
|
+
"extract:docs": "api-extractor run --local",
|
|
14
15
|
"generate:client": "node ../../scripts/generate-clients/single-service --solo sso-oidc"
|
|
15
16
|
},
|
|
16
17
|
"main": "./dist-cjs/index.js",
|
|
@@ -20,19 +21,19 @@
|
|
|
20
21
|
"dependencies": {
|
|
21
22
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
22
23
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
23
|
-
"@aws-sdk/config-resolver": "3.
|
|
24
|
+
"@aws-sdk/config-resolver": "3.299.0",
|
|
24
25
|
"@aws-sdk/fetch-http-handler": "3.296.0",
|
|
25
26
|
"@aws-sdk/hash-node": "3.296.0",
|
|
26
27
|
"@aws-sdk/invalid-dependency": "3.296.0",
|
|
27
28
|
"@aws-sdk/middleware-content-length": "3.296.0",
|
|
28
|
-
"@aws-sdk/middleware-endpoint": "3.
|
|
29
|
+
"@aws-sdk/middleware-endpoint": "3.299.0",
|
|
29
30
|
"@aws-sdk/middleware-host-header": "3.296.0",
|
|
30
31
|
"@aws-sdk/middleware-logger": "3.296.0",
|
|
31
32
|
"@aws-sdk/middleware-recursion-detection": "3.296.0",
|
|
32
33
|
"@aws-sdk/middleware-retry": "3.296.0",
|
|
33
34
|
"@aws-sdk/middleware-serde": "3.296.0",
|
|
34
35
|
"@aws-sdk/middleware-stack": "3.296.0",
|
|
35
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
36
|
+
"@aws-sdk/middleware-user-agent": "3.299.0",
|
|
36
37
|
"@aws-sdk/node-config-provider": "3.296.0",
|
|
37
38
|
"@aws-sdk/node-http-handler": "3.296.0",
|
|
38
39
|
"@aws-sdk/protocol-http": "3.296.0",
|
|
@@ -43,11 +44,11 @@
|
|
|
43
44
|
"@aws-sdk/util-body-length-browser": "3.295.0",
|
|
44
45
|
"@aws-sdk/util-body-length-node": "3.295.0",
|
|
45
46
|
"@aws-sdk/util-defaults-mode-browser": "3.296.0",
|
|
46
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
47
|
+
"@aws-sdk/util-defaults-mode-node": "3.299.0",
|
|
47
48
|
"@aws-sdk/util-endpoints": "3.296.0",
|
|
48
49
|
"@aws-sdk/util-retry": "3.296.0",
|
|
49
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
50
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
50
|
+
"@aws-sdk/util-user-agent-browser": "3.299.0",
|
|
51
|
+
"@aws-sdk/util-user-agent-node": "3.299.0",
|
|
51
52
|
"@aws-sdk/util-utf8": "3.295.0",
|
|
52
53
|
"tslib": "^2.5.0"
|
|
53
54
|
},
|