@aws-sdk/client-sso-oidc 3.325.0 → 3.327.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.
|
@@ -42,6 +42,14 @@ export interface CreateTokenCommandOutput extends CreateTokenResponse, __Metadat
|
|
|
42
42
|
* };
|
|
43
43
|
* const command = new CreateTokenCommand(input);
|
|
44
44
|
* const response = await client.send(command);
|
|
45
|
+
* // { // CreateTokenResponse
|
|
46
|
+
* // accessToken: "STRING_VALUE",
|
|
47
|
+
* // tokenType: "STRING_VALUE",
|
|
48
|
+
* // expiresIn: Number("int"),
|
|
49
|
+
* // refreshToken: "STRING_VALUE",
|
|
50
|
+
* // idToken: "STRING_VALUE",
|
|
51
|
+
* // };
|
|
52
|
+
*
|
|
45
53
|
* ```
|
|
46
54
|
*
|
|
47
55
|
* @param CreateTokenCommandInput - {@link CreateTokenCommandInput}
|
|
@@ -91,6 +99,8 @@ export interface CreateTokenCommandOutput extends CreateTokenResponse, __Metadat
|
|
|
91
99
|
* @throws {@link UnsupportedGrantTypeException} (client fault)
|
|
92
100
|
* <p>Indicates that the grant type in the request is not supported by the service.</p>
|
|
93
101
|
*
|
|
102
|
+
* @throws {@link SSOOIDCServiceException}
|
|
103
|
+
* <p>Base exception class for all service exceptions from SSOOIDC service.</p>
|
|
94
104
|
*
|
|
95
105
|
*/
|
|
96
106
|
export declare class CreateTokenCommand extends $Command<CreateTokenCommandInput, CreateTokenCommandOutput, SSOOIDCClientResolvedConfig> {
|
|
@@ -36,6 +36,15 @@ export interface RegisterClientCommandOutput extends RegisterClientResponse, __M
|
|
|
36
36
|
* };
|
|
37
37
|
* const command = new RegisterClientCommand(input);
|
|
38
38
|
* const response = await client.send(command);
|
|
39
|
+
* // { // RegisterClientResponse
|
|
40
|
+
* // clientId: "STRING_VALUE",
|
|
41
|
+
* // clientSecret: "STRING_VALUE",
|
|
42
|
+
* // clientIdIssuedAt: Number("long"),
|
|
43
|
+
* // clientSecretExpiresAt: Number("long"),
|
|
44
|
+
* // authorizationEndpoint: "STRING_VALUE",
|
|
45
|
+
* // tokenEndpoint: "STRING_VALUE",
|
|
46
|
+
* // };
|
|
47
|
+
*
|
|
39
48
|
* ```
|
|
40
49
|
*
|
|
41
50
|
* @param RegisterClientCommandInput - {@link RegisterClientCommandInput}
|
|
@@ -59,6 +68,8 @@ export interface RegisterClientCommandOutput extends RegisterClientResponse, __M
|
|
|
59
68
|
* @throws {@link InvalidScopeException} (client fault)
|
|
60
69
|
* <p>Indicates that the scope provided in the request is invalid.</p>
|
|
61
70
|
*
|
|
71
|
+
* @throws {@link SSOOIDCServiceException}
|
|
72
|
+
* <p>Base exception class for all service exceptions from SSOOIDC service.</p>
|
|
62
73
|
*
|
|
63
74
|
*/
|
|
64
75
|
export declare class RegisterClientCommand extends $Command<RegisterClientCommandInput, RegisterClientCommandOutput, SSOOIDCClientResolvedConfig> {
|
|
@@ -34,6 +34,15 @@ export interface StartDeviceAuthorizationCommandOutput extends StartDeviceAuthor
|
|
|
34
34
|
* };
|
|
35
35
|
* const command = new StartDeviceAuthorizationCommand(input);
|
|
36
36
|
* const response = await client.send(command);
|
|
37
|
+
* // { // StartDeviceAuthorizationResponse
|
|
38
|
+
* // deviceCode: "STRING_VALUE",
|
|
39
|
+
* // userCode: "STRING_VALUE",
|
|
40
|
+
* // verificationUri: "STRING_VALUE",
|
|
41
|
+
* // verificationUriComplete: "STRING_VALUE",
|
|
42
|
+
* // expiresIn: Number("int"),
|
|
43
|
+
* // interval: Number("int"),
|
|
44
|
+
* // };
|
|
45
|
+
*
|
|
37
46
|
* ```
|
|
38
47
|
*
|
|
39
48
|
* @param StartDeviceAuthorizationCommandInput - {@link StartDeviceAuthorizationCommandInput}
|
|
@@ -63,6 +72,8 @@ export interface StartDeviceAuthorizationCommandOutput extends StartDeviceAuthor
|
|
|
63
72
|
* <p>Indicates that the client is not currently authorized to make the request. This can happen
|
|
64
73
|
* when a <code>clientId</code> is not issued for a public client.</p>
|
|
65
74
|
*
|
|
75
|
+
* @throws {@link SSOOIDCServiceException}
|
|
76
|
+
* <p>Base exception class for all service exceptions from SSOOIDC service.</p>
|
|
66
77
|
*
|
|
67
78
|
*/
|
|
68
79
|
export declare class StartDeviceAuthorizationCommand extends $Command<StartDeviceAuthorizationCommandInput, StartDeviceAuthorizationCommandOutput, SSOOIDCClientResolvedConfig> {
|
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.327.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",
|
|
@@ -30,10 +30,10 @@
|
|
|
30
30
|
"@aws-sdk/middleware-host-header": "3.325.0",
|
|
31
31
|
"@aws-sdk/middleware-logger": "3.325.0",
|
|
32
32
|
"@aws-sdk/middleware-recursion-detection": "3.325.0",
|
|
33
|
-
"@aws-sdk/middleware-retry": "3.
|
|
33
|
+
"@aws-sdk/middleware-retry": "3.327.0",
|
|
34
34
|
"@aws-sdk/middleware-serde": "3.325.0",
|
|
35
35
|
"@aws-sdk/middleware-stack": "3.325.0",
|
|
36
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
36
|
+
"@aws-sdk/middleware-user-agent": "3.327.0",
|
|
37
37
|
"@aws-sdk/node-config-provider": "3.310.0",
|
|
38
38
|
"@aws-sdk/node-http-handler": "3.321.1",
|
|
39
39
|
"@aws-sdk/protocol-http": "3.310.0",
|
|
@@ -45,8 +45,8 @@
|
|
|
45
45
|
"@aws-sdk/util-body-length-node": "3.310.0",
|
|
46
46
|
"@aws-sdk/util-defaults-mode-browser": "3.325.0",
|
|
47
47
|
"@aws-sdk/util-defaults-mode-node": "3.325.0",
|
|
48
|
-
"@aws-sdk/util-endpoints": "3.
|
|
49
|
-
"@aws-sdk/util-retry": "3.
|
|
48
|
+
"@aws-sdk/util-endpoints": "3.327.0",
|
|
49
|
+
"@aws-sdk/util-retry": "3.327.0",
|
|
50
50
|
"@aws-sdk/util-user-agent-browser": "3.310.0",
|
|
51
51
|
"@aws-sdk/util-user-agent-node": "3.310.0",
|
|
52
52
|
"@aws-sdk/util-utf8": "3.310.0",
|