@aws-sdk/client-sso-oidc 3.137.0 → 3.145.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.
@@ -14,7 +14,8 @@ export declare class AccessDeniedException extends __BaseException {
14
14
  constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
15
15
  }
16
16
  /**
17
- * <p>Indicates that a request to authorize a client with an access user session token is pending.</p>
17
+ * <p>Indicates that a request to authorize a client with an access user session token is
18
+ * pending.</p>
18
19
  */
19
20
  export declare class AuthorizationPendingException extends __BaseException {
20
21
  readonly name: "AuthorizationPendingException";
@@ -28,15 +29,25 @@ export declare class AuthorizationPendingException extends __BaseException {
28
29
  }
29
30
  export interface CreateTokenRequest {
30
31
  /**
31
- * <p>The unique identifier string for each client. This value should come from the persisted result of the <a>RegisterClient</a> API.</p>
32
+ * <p>The unique identifier string for each client. This value should come from the persisted
33
+ * result of the <a>RegisterClient</a> API.</p>
32
34
  */
33
35
  clientId: string | undefined;
34
36
  /**
35
- * <p>A secret string generated for the client. This value should come from the persisted result of the <a>RegisterClient</a> API.</p>
37
+ * <p>A secret string generated for the client. This value should come from the persisted result
38
+ * of the <a>RegisterClient</a> API.</p>
36
39
  */
37
40
  clientSecret: string | undefined;
38
41
  /**
39
- * <p>Supports grant types for authorization code, refresh token, and device code request.</p>
42
+ * <p>Supports grant types for the authorization code, refresh token, and device code request.
43
+ * For device code requests, specify the following value:</p>
44
+ *
45
+ * <p>
46
+ * <code>urn:ietf:params:oauth:grant-type:<i>device_code</i>
47
+ * </code>
48
+ * </p>
49
+ *
50
+ * <p>For information about how to obtain the device code, see the <a>StartDeviceAuthorization</a> topic.</p>
40
51
  */
41
52
  grantType: string | undefined;
42
53
  /**
@@ -46,11 +57,17 @@ export interface CreateTokenRequest {
46
57
  */
47
58
  deviceCode: string | undefined;
48
59
  /**
49
- * <p>The authorization code received from the authorization service. This parameter is required to perform an authorization grant request to get access to a token.</p>
60
+ * <p>The authorization code received from the authorization service. This parameter is required
61
+ * to perform an authorization grant request to get access to a token.</p>
50
62
  */
51
63
  code?: string;
52
64
  /**
53
- * <p>The token used to obtain an access token in the event that the access token is invalid or expired. This token is not issued by the service.</p>
65
+ * <p>Currently, <code>refreshToken</code> is not yet implemented and is not supported. For more
66
+ * information about the features and limitations of the current Amazon Web Services SSO OIDC implementation,
67
+ * see <i>Considerations for Using this Guide</i> in the <a href="https://docs.aws.amazon.com/singlesignon/latest/OIDCAPIReference/Welcome.html">Amazon Web Services SSO
68
+ * OIDC API Reference</a>.</p>
69
+ * <p>The token used to obtain an access token in the event that the access token is invalid or
70
+ * expired.</p>
54
71
  */
55
72
  refreshToken?: string;
56
73
  /**
@@ -66,7 +83,7 @@ export interface CreateTokenRequest {
66
83
  }
67
84
  export interface CreateTokenResponse {
68
85
  /**
69
- * <p>An opaque token to access AWS SSO resources assigned to a user.</p>
86
+ * <p>An opaque token to access Amazon Web Services SSO resources assigned to a user.</p>
70
87
  */
71
88
  accessToken?: string;
72
89
  /**
@@ -79,12 +96,20 @@ export interface CreateTokenResponse {
79
96
  */
80
97
  expiresIn?: number;
81
98
  /**
82
- * <p>A token that, if present, can be used to refresh a previously issued access token that
99
+ * <p>Currently, <code>refreshToken</code> is not yet implemented and is not supported. For more
100
+ * information about the features and limitations of the current Amazon Web Services SSO OIDC implementation,
101
+ * see <i>Considerations for Using this Guide</i> in the <a href="https://docs.aws.amazon.com/singlesignon/latest/OIDCAPIReference/Welcome.html">Amazon Web Services SSO
102
+ * OIDC API Reference</a>.</p>
103
+ * <p>A token that, if present, can be used to refresh a previously issued access token that
83
104
  * might have expired.</p>
84
105
  */
85
106
  refreshToken?: string;
86
107
  /**
87
- * <p>The identifier of the user that associated with the access token, if present.</p>
108
+ * <p>Currently, <code>idToken</code> is not yet implemented and is not supported. For more
109
+ * information about the features and limitations of the current Amazon Web Services SSO OIDC implementation,
110
+ * see <i>Considerations for Using this Guide</i> in the <a href="https://docs.aws.amazon.com/singlesignon/latest/OIDCAPIReference/Welcome.html">Amazon Web Services SSO
111
+ * OIDC API Reference</a>.</p>
112
+ * <p>The identifier of the user that associated with the access token, if present.</p>
88
113
  */
89
114
  idToken?: string;
90
115
  }
@@ -102,7 +127,8 @@ export declare class ExpiredTokenException extends __BaseException {
102
127
  constructor(opts: __ExceptionOptionType<ExpiredTokenException, __BaseException>);
103
128
  }
104
129
  /**
105
- * <p>Indicates that an error from the service occurred while trying to process a request.</p>
130
+ * <p>Indicates that an error from the service occurred while trying to process a
131
+ * request.</p>
106
132
  */
107
133
  export declare class InternalServerException extends __BaseException {
108
134
  readonly name: "InternalServerException";
@@ -130,7 +156,8 @@ export declare class InvalidClientException extends __BaseException {
130
156
  constructor(opts: __ExceptionOptionType<InvalidClientException, __BaseException>);
131
157
  }
132
158
  /**
133
- * <p>Indicates that a request contains an invalid grant. This can occur if a client makes a <a>CreateToken</a> request with an invalid grant type.</p>
159
+ * <p>Indicates that a request contains an invalid grant. This can occur if a client makes a
160
+ * <a>CreateToken</a> request with an invalid grant type.</p>
134
161
  */
135
162
  export declare class InvalidGrantException extends __BaseException {
136
163
  readonly name: "InvalidGrantException";
@@ -170,7 +197,8 @@ export declare class InvalidScopeException extends __BaseException {
170
197
  constructor(opts: __ExceptionOptionType<InvalidScopeException, __BaseException>);
171
198
  }
172
199
  /**
173
- * <p>Indicates that the client is making the request too frequently and is more than the service can handle. </p>
200
+ * <p>Indicates that the client is making the request too frequently and is more than the
201
+ * service can handle. </p>
174
202
  */
175
203
  export declare class SlowDownException extends __BaseException {
176
204
  readonly name: "SlowDownException";
@@ -210,7 +238,8 @@ export declare class UnsupportedGrantTypeException extends __BaseException {
210
238
  constructor(opts: __ExceptionOptionType<UnsupportedGrantTypeException, __BaseException>);
211
239
  }
212
240
  /**
213
- * <p>Indicates that the client information sent in the request during registration is invalid.</p>
241
+ * <p>Indicates that the client information sent in the request during registration is
242
+ * invalid.</p>
214
243
  */
215
244
  export declare class InvalidClientMetadataException extends __BaseException {
216
245
  readonly name: "InvalidClientMetadataException";
@@ -228,7 +257,8 @@ export interface RegisterClientRequest {
228
257
  */
229
258
  clientName: string | undefined;
230
259
  /**
231
- * <p>The type of client. The service supports only <code>public</code> as a client type. Anything other than public will be rejected by the service.</p>
260
+ * <p>The type of client. The service supports only <code>public</code> as a client type.
261
+ * Anything other than public will be rejected by the service.</p>
232
262
  */
233
263
  clientType: string | undefined;
234
264
  /**
@@ -249,11 +279,13 @@ export interface RegisterClientResponse {
249
279
  */
250
280
  clientSecret?: string;
251
281
  /**
252
- * <p>Indicates the time at which the <code>clientId</code> and <code>clientSecret</code> were issued.</p>
282
+ * <p>Indicates the time at which the <code>clientId</code> and <code>clientSecret</code> were
283
+ * issued.</p>
253
284
  */
254
285
  clientIdIssuedAt?: number;
255
286
  /**
256
- * <p>Indicates the time at which the <code>clientId</code> and <code>clientSecret</code> will become invalid.</p>
287
+ * <p>Indicates the time at which the <code>clientId</code> and <code>clientSecret</code> will
288
+ * become invalid.</p>
257
289
  */
258
290
  clientSecretExpiresAt?: number;
259
291
  /**
@@ -267,7 +299,7 @@ export interface RegisterClientResponse {
267
299
  }
268
300
  export interface StartDeviceAuthorizationRequest {
269
301
  /**
270
- * <p>The unique identifier string for the client that is registered with AWS SSO. This value
302
+ * <p>The unique identifier string for the client that is registered with Amazon Web Services SSO. This value
271
303
  * should come from the persisted result of the <a>RegisterClient</a> API
272
304
  * operation.</p>
273
305
  */
@@ -278,8 +310,8 @@ export interface StartDeviceAuthorizationRequest {
278
310
  */
279
311
  clientSecret: string | undefined;
280
312
  /**
281
- * <p>The URL for the AWS SSO user portal. For more information, see <a href="https://docs.aws.amazon.com/singlesignon/latest/userguide/using-the-portal.html">Using
282
- * the User Portal</a> in the <i>AWS Single Sign-On User Guide</i>.</p>
313
+ * <p>The URL for the AWS access portal. For more information, see <a href="https://docs.aws.amazon.com/singlesignon/latest/userguide/using-the-portal.html">Using
314
+ * the AWS access portal</a> in the <i>Amazon Web Services SSO User Guide</i>.</p>
283
315
  */
284
316
  startUrl: string | undefined;
285
317
  }
@@ -293,7 +325,8 @@ export interface StartDeviceAuthorizationResponse {
293
325
  */
294
326
  userCode?: string;
295
327
  /**
296
- * <p>The URI of the verification page that takes the <code>userCode</code> to authorize the device.</p>
328
+ * <p>The URI of the verification page that takes the <code>userCode</code> to authorize the
329
+ * device.</p>
297
330
  */
298
331
  verificationUri?: string;
299
332
  /**
@@ -307,7 +340,8 @@ export interface StartDeviceAuthorizationResponse {
307
340
  */
308
341
  expiresIn?: number;
309
342
  /**
310
- * <p>Indicates the number of seconds the client must wait between attempts when polling for a session.</p>
343
+ * <p>Indicates the number of seconds the client must wait between attempts when polling for a
344
+ * session.</p>
311
345
  */
312
346
  interval?: number;
313
347
  }
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.137.0",
4
+ "version": "3.145.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",
@@ -33,15 +33,15 @@
33
33
  "@aws-sdk/node-config-provider": "3.127.0",
34
34
  "@aws-sdk/node-http-handler": "3.127.0",
35
35
  "@aws-sdk/protocol-http": "3.127.0",
36
- "@aws-sdk/smithy-client": "3.137.0",
36
+ "@aws-sdk/smithy-client": "3.142.0",
37
37
  "@aws-sdk/types": "3.127.0",
38
38
  "@aws-sdk/url-parser": "3.127.0",
39
39
  "@aws-sdk/util-base64-browser": "3.109.0",
40
40
  "@aws-sdk/util-base64-node": "3.55.0",
41
41
  "@aws-sdk/util-body-length-browser": "3.55.0",
42
42
  "@aws-sdk/util-body-length-node": "3.55.0",
43
- "@aws-sdk/util-defaults-mode-browser": "3.137.0",
44
- "@aws-sdk/util-defaults-mode-node": "3.137.0",
43
+ "@aws-sdk/util-defaults-mode-browser": "3.142.0",
44
+ "@aws-sdk/util-defaults-mode-node": "3.142.0",
45
45
  "@aws-sdk/util-user-agent-browser": "3.127.0",
46
46
  "@aws-sdk/util-user-agent-node": "3.127.0",
47
47
  "@aws-sdk/util-utf8-browser": "3.109.0",
@@ -58,6 +58,11 @@
58
58
  "typedoc": "0.19.2",
59
59
  "typescript": "~4.6.2"
60
60
  },
61
+ "overrides": {
62
+ "typedoc": {
63
+ "typescript": "~4.6.2"
64
+ }
65
+ },
61
66
  "engines": {
62
67
  "node": ">=12.0.0"
63
68
  },