@aws-sdk/client-sso-oidc 3.379.1 → 3.386.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.
@@ -34,16 +34,19 @@ export declare class AuthorizationPendingException extends __BaseException {
34
34
  */
35
35
  export interface CreateTokenRequest {
36
36
  /**
37
+ * @public
37
38
  * <p>The unique identifier string for each client. This value should come from the persisted
38
39
  * result of the <a>RegisterClient</a> API.</p>
39
40
  */
40
41
  clientId: string | undefined;
41
42
  /**
43
+ * @public
42
44
  * <p>A secret string generated for the client. This value should come from the persisted result
43
45
  * of the <a>RegisterClient</a> API.</p>
44
46
  */
45
47
  clientSecret: string | undefined;
46
48
  /**
49
+ * @public
47
50
  * <p>Supports grant types for the authorization code, refresh token, and device code request.
48
51
  * For device code requests, specify the following value:</p>
49
52
  *
@@ -56,17 +59,20 @@ export interface CreateTokenRequest {
56
59
  */
57
60
  grantType: string | undefined;
58
61
  /**
62
+ * @public
59
63
  * <p>Used only when calling this API for the device code grant type. This short-term code is
60
64
  * used to identify this authentication attempt. This should come from an in-memory reference to
61
65
  * the result of the <a>StartDeviceAuthorization</a> API.</p>
62
66
  */
63
67
  deviceCode?: string;
64
68
  /**
69
+ * @public
65
70
  * <p>The authorization code received from the authorization service. This parameter is required
66
71
  * to perform an authorization grant request to get access to a token.</p>
67
72
  */
68
73
  code?: string;
69
74
  /**
75
+ * @public
70
76
  * <p>Currently, <code>refreshToken</code> is not yet implemented and is not supported. For more
71
77
  * information about the features and limitations of the current IAM Identity Center OIDC implementation,
72
78
  * see <i>Considerations for Using this Guide</i> in the <a href="https://docs.aws.amazon.com/singlesignon/latest/OIDCAPIReference/Welcome.html">IAM Identity Center
@@ -76,11 +82,13 @@ export interface CreateTokenRequest {
76
82
  */
77
83
  refreshToken?: string;
78
84
  /**
85
+ * @public
79
86
  * <p>The list of scopes that is defined by the client. Upon authorization, this list is used to
80
87
  * restrict permissions when granting an access token.</p>
81
88
  */
82
89
  scope?: string[];
83
90
  /**
91
+ * @public
84
92
  * <p>The location of the application that will receive the authorization code. Users authorize
85
93
  * the service to send the request to this location.</p>
86
94
  */
@@ -91,19 +99,23 @@ export interface CreateTokenRequest {
91
99
  */
92
100
  export interface CreateTokenResponse {
93
101
  /**
102
+ * @public
94
103
  * <p>An opaque token to access IAM Identity Center resources assigned to a user.</p>
95
104
  */
96
105
  accessToken?: string;
97
106
  /**
107
+ * @public
98
108
  * <p>Used to notify the client that the returned token is an access token. The supported type
99
109
  * is <code>BearerToken</code>.</p>
100
110
  */
101
111
  tokenType?: string;
102
112
  /**
113
+ * @public
103
114
  * <p>Indicates the time in seconds when an access token will expire.</p>
104
115
  */
105
116
  expiresIn?: number;
106
117
  /**
118
+ * @public
107
119
  * <p>Currently, <code>refreshToken</code> is not yet implemented and is not supported. For more
108
120
  * information about the features and limitations of the current IAM Identity Center OIDC implementation,
109
121
  * see <i>Considerations for Using this Guide</i> in the <a href="https://docs.aws.amazon.com/singlesignon/latest/OIDCAPIReference/Welcome.html">IAM Identity Center
@@ -113,6 +125,7 @@ export interface CreateTokenResponse {
113
125
  */
114
126
  refreshToken?: string;
115
127
  /**
128
+ * @public
116
129
  * <p>Currently, <code>idToken</code> is not yet implemented and is not supported. For more
117
130
  * information about the features and limitations of the current IAM Identity Center OIDC implementation,
118
131
  * see <i>Considerations for Using this Guide</i> in the <a href="https://docs.aws.amazon.com/singlesignon/latest/OIDCAPIReference/Welcome.html">IAM Identity Center
@@ -274,15 +287,18 @@ export declare class InvalidClientMetadataException extends __BaseException {
274
287
  */
275
288
  export interface RegisterClientRequest {
276
289
  /**
290
+ * @public
277
291
  * <p>The friendly name of the client.</p>
278
292
  */
279
293
  clientName: string | undefined;
280
294
  /**
295
+ * @public
281
296
  * <p>The type of client. The service supports only <code>public</code> as a client type.
282
297
  * Anything other than public will be rejected by the service.</p>
283
298
  */
284
299
  clientType: string | undefined;
285
300
  /**
301
+ * @public
286
302
  * <p>The list of scopes that are defined by the client. Upon authorization, this list is used
287
303
  * to restrict permissions when granting an access token.</p>
288
304
  */
@@ -293,30 +309,36 @@ export interface RegisterClientRequest {
293
309
  */
294
310
  export interface RegisterClientResponse {
295
311
  /**
312
+ * @public
296
313
  * <p>The unique identifier string for each client. This client uses this identifier to get
297
314
  * authenticated by the service in subsequent calls.</p>
298
315
  */
299
316
  clientId?: string;
300
317
  /**
318
+ * @public
301
319
  * <p>A secret string generated for the client. The client will use this string to get
302
320
  * authenticated by the service in subsequent calls.</p>
303
321
  */
304
322
  clientSecret?: string;
305
323
  /**
324
+ * @public
306
325
  * <p>Indicates the time at which the <code>clientId</code> and <code>clientSecret</code> were
307
326
  * issued.</p>
308
327
  */
309
328
  clientIdIssuedAt?: number;
310
329
  /**
330
+ * @public
311
331
  * <p>Indicates the time at which the <code>clientId</code> and <code>clientSecret</code> will
312
332
  * become invalid.</p>
313
333
  */
314
334
  clientSecretExpiresAt?: number;
315
335
  /**
336
+ * @public
316
337
  * <p>The endpoint where the client can request authorization.</p>
317
338
  */
318
339
  authorizationEndpoint?: string;
319
340
  /**
341
+ * @public
320
342
  * <p>The endpoint where the client can get an access token.</p>
321
343
  */
322
344
  tokenEndpoint?: string;
@@ -326,17 +348,20 @@ export interface RegisterClientResponse {
326
348
  */
327
349
  export interface StartDeviceAuthorizationRequest {
328
350
  /**
351
+ * @public
329
352
  * <p>The unique identifier string for the client that is registered with IAM Identity Center. This value
330
353
  * should come from the persisted result of the <a>RegisterClient</a> API
331
354
  * operation.</p>
332
355
  */
333
356
  clientId: string | undefined;
334
357
  /**
358
+ * @public
335
359
  * <p>A secret string that is generated for the client. This value should come from the
336
360
  * persisted result of the <a>RegisterClient</a> API operation.</p>
337
361
  */
338
362
  clientSecret: string | undefined;
339
363
  /**
364
+ * @public
340
365
  * <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
341
366
  * the AWS access portal</a> in the <i>IAM Identity Center User Guide</i>.</p>
342
367
  */
@@ -347,29 +372,35 @@ export interface StartDeviceAuthorizationRequest {
347
372
  */
348
373
  export interface StartDeviceAuthorizationResponse {
349
374
  /**
375
+ * @public
350
376
  * <p>The short-lived code that is used by the device when polling for a session token.</p>
351
377
  */
352
378
  deviceCode?: string;
353
379
  /**
380
+ * @public
354
381
  * <p>A one-time user verification code. This is needed to authorize an in-use device.</p>
355
382
  */
356
383
  userCode?: string;
357
384
  /**
385
+ * @public
358
386
  * <p>The URI of the verification page that takes the <code>userCode</code> to authorize the
359
387
  * device.</p>
360
388
  */
361
389
  verificationUri?: string;
362
390
  /**
391
+ * @public
363
392
  * <p>An alternate URL that the client can use to automatically launch a browser. This process
364
393
  * skips the manual step in which the user visits the verification page and enters their
365
394
  * code.</p>
366
395
  */
367
396
  verificationUriComplete?: string;
368
397
  /**
398
+ * @public
369
399
  * <p>Indicates the number of seconds in which the verification code will become invalid.</p>
370
400
  */
371
401
  expiresIn?: number;
372
402
  /**
403
+ * @public
373
404
  * <p>Indicates the number of seconds the client must wait between attempts when polling for a
374
405
  * session.</p>
375
406
  */
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.379.1",
4
+ "version": "3.386.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",
@@ -24,9 +24,9 @@
24
24
  "@aws-sdk/middleware-host-header": "3.379.1",
25
25
  "@aws-sdk/middleware-logger": "3.378.0",
26
26
  "@aws-sdk/middleware-recursion-detection": "3.378.0",
27
- "@aws-sdk/middleware-user-agent": "3.379.1",
27
+ "@aws-sdk/middleware-user-agent": "3.386.0",
28
28
  "@aws-sdk/types": "3.378.0",
29
- "@aws-sdk/util-endpoints": "3.378.0",
29
+ "@aws-sdk/util-endpoints": "3.386.0",
30
30
  "@aws-sdk/util-user-agent-browser": "3.378.0",
31
31
  "@aws-sdk/util-user-agent-node": "3.378.0",
32
32
  "@smithy/config-resolver": "^2.0.1",