@aws-sdk/client-sso-oidc 3.186.0 → 3.190.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/CHANGELOG.md +16 -0
- package/dist-es/SSOOIDC.js +14 -21
- package/dist-es/SSOOIDCClient.js +20 -26
- package/dist-es/commands/CreateTokenCommand.js +21 -28
- package/dist-es/commands/RegisterClientCommand.js +21 -28
- package/dist-es/commands/StartDeviceAuthorizationCommand.js +21 -28
- package/dist-es/endpoints.js +8 -8
- package/dist-es/models/SSOOIDCServiceException.js +5 -10
- package/dist-es/models/models_0.js +174 -163
- package/dist-es/protocols/Aws_restJson1.js +454 -560
- package/dist-es/runtimeConfig.browser.js +25 -12
- package/dist-es/runtimeConfig.js +29 -12
- package/dist-es/runtimeConfig.native.js +8 -5
- package/dist-es/runtimeConfig.shared.js +8 -11
- package/package.json +30 -30
|
@@ -1,176 +1,187 @@
|
|
|
1
|
-
import { __assign, __extends } from "tslib";
|
|
2
1
|
import { SSOOIDCServiceException as __BaseException } from "./SSOOIDCServiceException";
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
2
|
+
export class AccessDeniedException extends __BaseException {
|
|
3
|
+
constructor(opts) {
|
|
4
|
+
super({
|
|
5
|
+
name: "AccessDeniedException",
|
|
6
|
+
$fault: "client",
|
|
7
|
+
...opts,
|
|
8
|
+
});
|
|
9
|
+
this.name = "AccessDeniedException";
|
|
10
|
+
this.$fault = "client";
|
|
11
|
+
Object.setPrototypeOf(this, AccessDeniedException.prototype);
|
|
12
|
+
this.error = opts.error;
|
|
13
|
+
this.error_description = opts.error_description;
|
|
13
14
|
}
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
15
|
+
}
|
|
16
|
+
export class AuthorizationPendingException extends __BaseException {
|
|
17
|
+
constructor(opts) {
|
|
18
|
+
super({
|
|
19
|
+
name: "AuthorizationPendingException",
|
|
20
|
+
$fault: "client",
|
|
21
|
+
...opts,
|
|
22
|
+
});
|
|
23
|
+
this.name = "AuthorizationPendingException";
|
|
24
|
+
this.$fault = "client";
|
|
25
|
+
Object.setPrototypeOf(this, AuthorizationPendingException.prototype);
|
|
26
|
+
this.error = opts.error;
|
|
27
|
+
this.error_description = opts.error_description;
|
|
27
28
|
}
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
29
|
+
}
|
|
30
|
+
export class ExpiredTokenException extends __BaseException {
|
|
31
|
+
constructor(opts) {
|
|
32
|
+
super({
|
|
33
|
+
name: "ExpiredTokenException",
|
|
34
|
+
$fault: "client",
|
|
35
|
+
...opts,
|
|
36
|
+
});
|
|
37
|
+
this.name = "ExpiredTokenException";
|
|
38
|
+
this.$fault = "client";
|
|
39
|
+
Object.setPrototypeOf(this, ExpiredTokenException.prototype);
|
|
40
|
+
this.error = opts.error;
|
|
41
|
+
this.error_description = opts.error_description;
|
|
41
42
|
}
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
43
|
+
}
|
|
44
|
+
export class InternalServerException extends __BaseException {
|
|
45
|
+
constructor(opts) {
|
|
46
|
+
super({
|
|
47
|
+
name: "InternalServerException",
|
|
48
|
+
$fault: "server",
|
|
49
|
+
...opts,
|
|
50
|
+
});
|
|
51
|
+
this.name = "InternalServerException";
|
|
52
|
+
this.$fault = "server";
|
|
53
|
+
Object.setPrototypeOf(this, InternalServerException.prototype);
|
|
54
|
+
this.error = opts.error;
|
|
55
|
+
this.error_description = opts.error_description;
|
|
55
56
|
}
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
57
|
+
}
|
|
58
|
+
export class InvalidClientException extends __BaseException {
|
|
59
|
+
constructor(opts) {
|
|
60
|
+
super({
|
|
61
|
+
name: "InvalidClientException",
|
|
62
|
+
$fault: "client",
|
|
63
|
+
...opts,
|
|
64
|
+
});
|
|
65
|
+
this.name = "InvalidClientException";
|
|
66
|
+
this.$fault = "client";
|
|
67
|
+
Object.setPrototypeOf(this, InvalidClientException.prototype);
|
|
68
|
+
this.error = opts.error;
|
|
69
|
+
this.error_description = opts.error_description;
|
|
69
70
|
}
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
71
|
+
}
|
|
72
|
+
export class InvalidGrantException extends __BaseException {
|
|
73
|
+
constructor(opts) {
|
|
74
|
+
super({
|
|
75
|
+
name: "InvalidGrantException",
|
|
76
|
+
$fault: "client",
|
|
77
|
+
...opts,
|
|
78
|
+
});
|
|
79
|
+
this.name = "InvalidGrantException";
|
|
80
|
+
this.$fault = "client";
|
|
81
|
+
Object.setPrototypeOf(this, InvalidGrantException.prototype);
|
|
82
|
+
this.error = opts.error;
|
|
83
|
+
this.error_description = opts.error_description;
|
|
83
84
|
}
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
85
|
+
}
|
|
86
|
+
export class InvalidRequestException extends __BaseException {
|
|
87
|
+
constructor(opts) {
|
|
88
|
+
super({
|
|
89
|
+
name: "InvalidRequestException",
|
|
90
|
+
$fault: "client",
|
|
91
|
+
...opts,
|
|
92
|
+
});
|
|
93
|
+
this.name = "InvalidRequestException";
|
|
94
|
+
this.$fault = "client";
|
|
95
|
+
Object.setPrototypeOf(this, InvalidRequestException.prototype);
|
|
96
|
+
this.error = opts.error;
|
|
97
|
+
this.error_description = opts.error_description;
|
|
97
98
|
}
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
99
|
+
}
|
|
100
|
+
export class InvalidScopeException extends __BaseException {
|
|
101
|
+
constructor(opts) {
|
|
102
|
+
super({
|
|
103
|
+
name: "InvalidScopeException",
|
|
104
|
+
$fault: "client",
|
|
105
|
+
...opts,
|
|
106
|
+
});
|
|
107
|
+
this.name = "InvalidScopeException";
|
|
108
|
+
this.$fault = "client";
|
|
109
|
+
Object.setPrototypeOf(this, InvalidScopeException.prototype);
|
|
110
|
+
this.error = opts.error;
|
|
111
|
+
this.error_description = opts.error_description;
|
|
111
112
|
}
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
113
|
+
}
|
|
114
|
+
export class SlowDownException extends __BaseException {
|
|
115
|
+
constructor(opts) {
|
|
116
|
+
super({
|
|
117
|
+
name: "SlowDownException",
|
|
118
|
+
$fault: "client",
|
|
119
|
+
...opts,
|
|
120
|
+
});
|
|
121
|
+
this.name = "SlowDownException";
|
|
122
|
+
this.$fault = "client";
|
|
123
|
+
Object.setPrototypeOf(this, SlowDownException.prototype);
|
|
124
|
+
this.error = opts.error;
|
|
125
|
+
this.error_description = opts.error_description;
|
|
125
126
|
}
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
127
|
+
}
|
|
128
|
+
export class UnauthorizedClientException extends __BaseException {
|
|
129
|
+
constructor(opts) {
|
|
130
|
+
super({
|
|
131
|
+
name: "UnauthorizedClientException",
|
|
132
|
+
$fault: "client",
|
|
133
|
+
...opts,
|
|
134
|
+
});
|
|
135
|
+
this.name = "UnauthorizedClientException";
|
|
136
|
+
this.$fault = "client";
|
|
137
|
+
Object.setPrototypeOf(this, UnauthorizedClientException.prototype);
|
|
138
|
+
this.error = opts.error;
|
|
139
|
+
this.error_description = opts.error_description;
|
|
139
140
|
}
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
141
|
+
}
|
|
142
|
+
export class UnsupportedGrantTypeException extends __BaseException {
|
|
143
|
+
constructor(opts) {
|
|
144
|
+
super({
|
|
145
|
+
name: "UnsupportedGrantTypeException",
|
|
146
|
+
$fault: "client",
|
|
147
|
+
...opts,
|
|
148
|
+
});
|
|
149
|
+
this.name = "UnsupportedGrantTypeException";
|
|
150
|
+
this.$fault = "client";
|
|
151
|
+
Object.setPrototypeOf(this, UnsupportedGrantTypeException.prototype);
|
|
152
|
+
this.error = opts.error;
|
|
153
|
+
this.error_description = opts.error_description;
|
|
153
154
|
}
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
155
|
+
}
|
|
156
|
+
export class InvalidClientMetadataException extends __BaseException {
|
|
157
|
+
constructor(opts) {
|
|
158
|
+
super({
|
|
159
|
+
name: "InvalidClientMetadataException",
|
|
160
|
+
$fault: "client",
|
|
161
|
+
...opts,
|
|
162
|
+
});
|
|
163
|
+
this.name = "InvalidClientMetadataException";
|
|
164
|
+
this.$fault = "client";
|
|
165
|
+
Object.setPrototypeOf(this, InvalidClientMetadataException.prototype);
|
|
166
|
+
this.error = opts.error;
|
|
167
|
+
this.error_description = opts.error_description;
|
|
167
168
|
}
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
export
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
export
|
|
176
|
-
|
|
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
|
+
});
|