@aws-sdk/client-sso-oidc 3.299.0 → 3.301.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.
|
@@ -28,6 +28,18 @@ export interface CreateTokenCommandOutput extends CreateTokenResponse, __Metadat
|
|
|
28
28
|
* import { SSOOIDCClient, CreateTokenCommand } from "@aws-sdk/client-sso-oidc"; // ES Modules import
|
|
29
29
|
* // const { SSOOIDCClient, CreateTokenCommand } = require("@aws-sdk/client-sso-oidc"); // CommonJS import
|
|
30
30
|
* const client = new SSOOIDCClient(config);
|
|
31
|
+
* const input = { // CreateTokenRequest
|
|
32
|
+
* clientId: "STRING_VALUE", // required
|
|
33
|
+
* clientSecret: "STRING_VALUE", // required
|
|
34
|
+
* grantType: "STRING_VALUE", // required
|
|
35
|
+
* deviceCode: "STRING_VALUE",
|
|
36
|
+
* code: "STRING_VALUE",
|
|
37
|
+
* refreshToken: "STRING_VALUE",
|
|
38
|
+
* scope: [ // Scopes
|
|
39
|
+
* "STRING_VALUE",
|
|
40
|
+
* ],
|
|
41
|
+
* redirectUri: "STRING_VALUE",
|
|
42
|
+
* };
|
|
31
43
|
* const command = new CreateTokenCommand(input);
|
|
32
44
|
* const response = await client.send(command);
|
|
33
45
|
* ```
|
|
@@ -27,6 +27,13 @@ export interface RegisterClientCommandOutput extends RegisterClientResponse, __M
|
|
|
27
27
|
* import { SSOOIDCClient, RegisterClientCommand } from "@aws-sdk/client-sso-oidc"; // ES Modules import
|
|
28
28
|
* // const { SSOOIDCClient, RegisterClientCommand } = require("@aws-sdk/client-sso-oidc"); // CommonJS import
|
|
29
29
|
* const client = new SSOOIDCClient(config);
|
|
30
|
+
* const input = { // RegisterClientRequest
|
|
31
|
+
* clientName: "STRING_VALUE", // required
|
|
32
|
+
* clientType: "STRING_VALUE", // required
|
|
33
|
+
* scopes: [ // Scopes
|
|
34
|
+
* "STRING_VALUE",
|
|
35
|
+
* ],
|
|
36
|
+
* };
|
|
30
37
|
* const command = new RegisterClientCommand(input);
|
|
31
38
|
* const response = await client.send(command);
|
|
32
39
|
* ```
|
|
@@ -27,6 +27,11 @@ export interface StartDeviceAuthorizationCommandOutput extends StartDeviceAuthor
|
|
|
27
27
|
* import { SSOOIDCClient, StartDeviceAuthorizationCommand } from "@aws-sdk/client-sso-oidc"; // ES Modules import
|
|
28
28
|
* // const { SSOOIDCClient, StartDeviceAuthorizationCommand } = require("@aws-sdk/client-sso-oidc"); // CommonJS import
|
|
29
29
|
* const client = new SSOOIDCClient(config);
|
|
30
|
+
* const input = { // StartDeviceAuthorizationRequest
|
|
31
|
+
* clientId: "STRING_VALUE", // required
|
|
32
|
+
* clientSecret: "STRING_VALUE", // required
|
|
33
|
+
* startUrl: "STRING_VALUE", // required
|
|
34
|
+
* };
|
|
30
35
|
* const command = new StartDeviceAuthorizationCommand(input);
|
|
31
36
|
* const response = await client.send(command);
|
|
32
37
|
* ```
|
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.301.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",
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
24
|
-
"@aws-sdk/config-resolver": "3.
|
|
24
|
+
"@aws-sdk/config-resolver": "3.300.0",
|
|
25
25
|
"@aws-sdk/fetch-http-handler": "3.296.0",
|
|
26
26
|
"@aws-sdk/hash-node": "3.296.0",
|
|
27
27
|
"@aws-sdk/invalid-dependency": "3.296.0",
|
|
@@ -30,11 +30,11 @@
|
|
|
30
30
|
"@aws-sdk/middleware-host-header": "3.296.0",
|
|
31
31
|
"@aws-sdk/middleware-logger": "3.296.0",
|
|
32
32
|
"@aws-sdk/middleware-recursion-detection": "3.296.0",
|
|
33
|
-
"@aws-sdk/middleware-retry": "3.
|
|
33
|
+
"@aws-sdk/middleware-retry": "3.300.0",
|
|
34
34
|
"@aws-sdk/middleware-serde": "3.296.0",
|
|
35
35
|
"@aws-sdk/middleware-stack": "3.296.0",
|
|
36
36
|
"@aws-sdk/middleware-user-agent": "3.299.0",
|
|
37
|
-
"@aws-sdk/node-config-provider": "3.
|
|
37
|
+
"@aws-sdk/node-config-provider": "3.300.0",
|
|
38
38
|
"@aws-sdk/node-http-handler": "3.296.0",
|
|
39
39
|
"@aws-sdk/protocol-http": "3.296.0",
|
|
40
40
|
"@aws-sdk/smithy-client": "3.296.0",
|
|
@@ -44,11 +44,11 @@
|
|
|
44
44
|
"@aws-sdk/util-body-length-browser": "3.295.0",
|
|
45
45
|
"@aws-sdk/util-body-length-node": "3.295.0",
|
|
46
46
|
"@aws-sdk/util-defaults-mode-browser": "3.296.0",
|
|
47
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
47
|
+
"@aws-sdk/util-defaults-mode-node": "3.300.0",
|
|
48
48
|
"@aws-sdk/util-endpoints": "3.296.0",
|
|
49
49
|
"@aws-sdk/util-retry": "3.296.0",
|
|
50
50
|
"@aws-sdk/util-user-agent-browser": "3.299.0",
|
|
51
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
51
|
+
"@aws-sdk/util-user-agent-node": "3.300.0",
|
|
52
52
|
"@aws-sdk/util-utf8": "3.295.0",
|
|
53
53
|
"tslib": "^2.5.0"
|
|
54
54
|
},
|