@aws-sdk/client-sso-oidc 3.928.0 → 3.930.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/dist-cjs/index.js +430 -538
- package/dist-cjs/runtimeConfig.shared.js +2 -0
- package/dist-es/SSOOIDCClient.js +2 -0
- package/dist-es/commands/CreateTokenCommand.js +3 -10
- package/dist-es/commands/CreateTokenWithIAMCommand.js +3 -10
- package/dist-es/commands/RegisterClientCommand.js +3 -10
- package/dist-es/commands/StartDeviceAuthorizationCommand.js +3 -10
- package/dist-es/models/models_0.js +0 -34
- package/dist-es/runtimeConfig.shared.js +2 -0
- package/dist-es/schemas/schemas_0.js +382 -0
- package/dist-types/SSOOIDCClient.d.ts +10 -1
- package/dist-types/models/models_0.d.ts +0 -24
- package/dist-types/runtimeConfig.browser.d.ts +1 -0
- package/dist-types/runtimeConfig.d.ts +1 -0
- package/dist-types/runtimeConfig.native.d.ts +1 -0
- package/dist-types/runtimeConfig.shared.d.ts +1 -0
- package/dist-types/schemas/schemas_0.d.ts +40 -0
- package/dist-types/ts3.4/SSOOIDCClient.d.ts +4 -0
- package/dist-types/ts3.4/models/models_0.d.ts +0 -18
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +45 -0
- package/package.json +33 -33
- package/dist-es/protocols/Aws_restJson1.js +0 -430
- package/dist-types/protocols/Aws_restJson1.d.ts +0 -38
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +0 -53
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { StaticErrorSchema, StaticOperationSchema, StaticSimpleSchema, StaticStructureSchema } from "@smithy/types";
|
|
2
|
+
export declare var AccessToken: StaticSimpleSchema;
|
|
3
|
+
export declare var Assertion: StaticSimpleSchema;
|
|
4
|
+
export declare var ClientSecret: StaticSimpleSchema;
|
|
5
|
+
export declare var CodeVerifier: StaticSimpleSchema;
|
|
6
|
+
export declare var IdToken: StaticSimpleSchema;
|
|
7
|
+
export declare var RefreshToken: StaticSimpleSchema;
|
|
8
|
+
export declare var SubjectToken: StaticSimpleSchema;
|
|
9
|
+
export declare var AccessDeniedException: StaticErrorSchema;
|
|
10
|
+
export declare var AuthorizationPendingException: StaticErrorSchema;
|
|
11
|
+
export declare var AwsAdditionalDetails: StaticStructureSchema;
|
|
12
|
+
export declare var CreateTokenRequest: StaticStructureSchema;
|
|
13
|
+
export declare var CreateTokenResponse: StaticStructureSchema;
|
|
14
|
+
export declare var CreateTokenWithIAMRequest: StaticStructureSchema;
|
|
15
|
+
export declare var CreateTokenWithIAMResponse: StaticStructureSchema;
|
|
16
|
+
export declare var ExpiredTokenException: StaticErrorSchema;
|
|
17
|
+
export declare var InternalServerException: StaticErrorSchema;
|
|
18
|
+
export declare var InvalidClientException: StaticErrorSchema;
|
|
19
|
+
export declare var InvalidClientMetadataException: StaticErrorSchema;
|
|
20
|
+
export declare var InvalidGrantException: StaticErrorSchema;
|
|
21
|
+
export declare var InvalidRedirectUriException: StaticErrorSchema;
|
|
22
|
+
export declare var InvalidRequestException: StaticErrorSchema;
|
|
23
|
+
export declare var InvalidRequestRegionException: StaticErrorSchema;
|
|
24
|
+
export declare var InvalidScopeException: StaticErrorSchema;
|
|
25
|
+
export declare var RegisterClientRequest: StaticStructureSchema;
|
|
26
|
+
export declare var RegisterClientResponse: StaticStructureSchema;
|
|
27
|
+
export declare var SlowDownException: StaticErrorSchema;
|
|
28
|
+
export declare var StartDeviceAuthorizationRequest: StaticStructureSchema;
|
|
29
|
+
export declare var StartDeviceAuthorizationResponse: StaticStructureSchema;
|
|
30
|
+
export declare var UnauthorizedClientException: StaticErrorSchema;
|
|
31
|
+
export declare var UnsupportedGrantTypeException: StaticErrorSchema;
|
|
32
|
+
export declare var __Unit: "unit";
|
|
33
|
+
export declare var SSOOIDCServiceException: StaticErrorSchema;
|
|
34
|
+
export declare var GrantTypes: number;
|
|
35
|
+
export declare var RedirectUris: number;
|
|
36
|
+
export declare var Scopes: number;
|
|
37
|
+
export declare var CreateToken: StaticOperationSchema;
|
|
38
|
+
export declare var CreateTokenWithIAM: StaticOperationSchema;
|
|
39
|
+
export declare var RegisterClient: StaticOperationSchema;
|
|
40
|
+
export declare var StartDeviceAuthorization: StaticOperationSchema;
|
|
@@ -30,10 +30,13 @@ import {
|
|
|
30
30
|
BodyLengthCalculator as __BodyLengthCalculator,
|
|
31
31
|
CheckOptionalClientConfig as __CheckOptionalClientConfig,
|
|
32
32
|
ChecksumConstructor as __ChecksumConstructor,
|
|
33
|
+
ClientProtocol,
|
|
33
34
|
Decoder as __Decoder,
|
|
34
35
|
Encoder as __Encoder,
|
|
35
36
|
HashConstructor as __HashConstructor,
|
|
36
37
|
HttpHandlerOptions as __HttpHandlerOptions,
|
|
38
|
+
HttpRequest,
|
|
39
|
+
HttpResponse,
|
|
37
40
|
Logger as __Logger,
|
|
38
41
|
Provider as __Provider,
|
|
39
42
|
Provider,
|
|
@@ -102,6 +105,7 @@ export interface ClientDefaults
|
|
|
102
105
|
retryMode?: string | __Provider<string>;
|
|
103
106
|
logger?: __Logger;
|
|
104
107
|
extensions?: RuntimeExtension[];
|
|
108
|
+
protocol?: ClientProtocol<HttpRequest, HttpResponse>;
|
|
105
109
|
defaultsMode?: __DefaultsMode | __Provider<__DefaultsMode>;
|
|
106
110
|
}
|
|
107
111
|
export type SSOOIDCClientConfigType = Partial<
|
|
@@ -215,21 +215,3 @@ export interface StartDeviceAuthorizationResponse {
|
|
|
215
215
|
expiresIn?: number | undefined;
|
|
216
216
|
interval?: number | undefined;
|
|
217
217
|
}
|
|
218
|
-
export declare const CreateTokenRequestFilterSensitiveLog: (
|
|
219
|
-
obj: CreateTokenRequest
|
|
220
|
-
) => any;
|
|
221
|
-
export declare const CreateTokenResponseFilterSensitiveLog: (
|
|
222
|
-
obj: CreateTokenResponse
|
|
223
|
-
) => any;
|
|
224
|
-
export declare const CreateTokenWithIAMRequestFilterSensitiveLog: (
|
|
225
|
-
obj: CreateTokenWithIAMRequest
|
|
226
|
-
) => any;
|
|
227
|
-
export declare const CreateTokenWithIAMResponseFilterSensitiveLog: (
|
|
228
|
-
obj: CreateTokenWithIAMResponse
|
|
229
|
-
) => any;
|
|
230
|
-
export declare const RegisterClientResponseFilterSensitiveLog: (
|
|
231
|
-
obj: RegisterClientResponse
|
|
232
|
-
) => any;
|
|
233
|
-
export declare const StartDeviceAuthorizationRequestFilterSensitiveLog: (
|
|
234
|
-
obj: StartDeviceAuthorizationRequest
|
|
235
|
-
) => any;
|
|
@@ -38,6 +38,10 @@ export declare const getRuntimeConfig: (config: SSOOIDCClientConfig) => {
|
|
|
38
38
|
profile?: string;
|
|
39
39
|
logger: import("@smithy/types").Logger;
|
|
40
40
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
41
|
+
protocol: import("@smithy/types").ClientProtocol<
|
|
42
|
+
import("@smithy/types").HttpRequest,
|
|
43
|
+
import("@smithy/types").HttpResponse
|
|
44
|
+
>;
|
|
41
45
|
customUserAgent?: string | import("@smithy/types").UserAgent;
|
|
42
46
|
userAgentAppId?:
|
|
43
47
|
| string
|
|
@@ -38,6 +38,10 @@ export declare const getRuntimeConfig: (config: SSOOIDCClientConfig) => {
|
|
|
38
38
|
profile?: string;
|
|
39
39
|
logger: import("@smithy/types").Logger;
|
|
40
40
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
41
|
+
protocol: import("@smithy/types").ClientProtocol<
|
|
42
|
+
import("@smithy/types").HttpRequest,
|
|
43
|
+
import("@smithy/types").HttpResponse
|
|
44
|
+
>;
|
|
41
45
|
customUserAgent?: string | import("@smithy/types").UserAgent;
|
|
42
46
|
retryStrategy?:
|
|
43
47
|
| import("@smithy/types").RetryStrategy
|
|
@@ -37,6 +37,10 @@ export declare const getRuntimeConfig: (config: SSOOIDCClientConfig) => {
|
|
|
37
37
|
retryMode: string | import("@smithy/types").Provider<string>;
|
|
38
38
|
logger: import("@smithy/types").Logger;
|
|
39
39
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
40
|
+
protocol: import("@smithy/types").ClientProtocol<
|
|
41
|
+
import("@smithy/types").HttpRequest,
|
|
42
|
+
import("@smithy/types").HttpResponse
|
|
43
|
+
>;
|
|
40
44
|
defaultsMode:
|
|
41
45
|
| import("@smithy/smithy-client").DefaultsMode
|
|
42
46
|
| import("@smithy/types").Provider<
|
|
@@ -42,6 +42,10 @@ export declare const getRuntimeConfig: (config: SSOOIDCClientConfig) => {
|
|
|
42
42
|
}
|
|
43
43
|
)[];
|
|
44
44
|
logger: import("@smithy/types").Logger;
|
|
45
|
+
protocol: import("@smithy/types").ClientProtocol<
|
|
46
|
+
import("@smithy/types").HttpRequest,
|
|
47
|
+
import("@smithy/types").HttpResponse
|
|
48
|
+
>;
|
|
45
49
|
serviceId: string;
|
|
46
50
|
urlParser: import("@smithy/types").UrlParser;
|
|
47
51
|
utf8Decoder: import("@smithy/types").Decoder;
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import {
|
|
2
|
+
StaticErrorSchema,
|
|
3
|
+
StaticOperationSchema,
|
|
4
|
+
StaticSimpleSchema,
|
|
5
|
+
StaticStructureSchema,
|
|
6
|
+
} from "@smithy/types";
|
|
7
|
+
export declare var AccessToken: StaticSimpleSchema;
|
|
8
|
+
export declare var Assertion: StaticSimpleSchema;
|
|
9
|
+
export declare var ClientSecret: StaticSimpleSchema;
|
|
10
|
+
export declare var CodeVerifier: StaticSimpleSchema;
|
|
11
|
+
export declare var IdToken: StaticSimpleSchema;
|
|
12
|
+
export declare var RefreshToken: StaticSimpleSchema;
|
|
13
|
+
export declare var SubjectToken: StaticSimpleSchema;
|
|
14
|
+
export declare var AccessDeniedException: StaticErrorSchema;
|
|
15
|
+
export declare var AuthorizationPendingException: StaticErrorSchema;
|
|
16
|
+
export declare var AwsAdditionalDetails: StaticStructureSchema;
|
|
17
|
+
export declare var CreateTokenRequest: StaticStructureSchema;
|
|
18
|
+
export declare var CreateTokenResponse: StaticStructureSchema;
|
|
19
|
+
export declare var CreateTokenWithIAMRequest: StaticStructureSchema;
|
|
20
|
+
export declare var CreateTokenWithIAMResponse: StaticStructureSchema;
|
|
21
|
+
export declare var ExpiredTokenException: StaticErrorSchema;
|
|
22
|
+
export declare var InternalServerException: StaticErrorSchema;
|
|
23
|
+
export declare var InvalidClientException: StaticErrorSchema;
|
|
24
|
+
export declare var InvalidClientMetadataException: StaticErrorSchema;
|
|
25
|
+
export declare var InvalidGrantException: StaticErrorSchema;
|
|
26
|
+
export declare var InvalidRedirectUriException: StaticErrorSchema;
|
|
27
|
+
export declare var InvalidRequestException: StaticErrorSchema;
|
|
28
|
+
export declare var InvalidRequestRegionException: StaticErrorSchema;
|
|
29
|
+
export declare var InvalidScopeException: StaticErrorSchema;
|
|
30
|
+
export declare var RegisterClientRequest: StaticStructureSchema;
|
|
31
|
+
export declare var RegisterClientResponse: StaticStructureSchema;
|
|
32
|
+
export declare var SlowDownException: StaticErrorSchema;
|
|
33
|
+
export declare var StartDeviceAuthorizationRequest: StaticStructureSchema;
|
|
34
|
+
export declare var StartDeviceAuthorizationResponse: StaticStructureSchema;
|
|
35
|
+
export declare var UnauthorizedClientException: StaticErrorSchema;
|
|
36
|
+
export declare var UnsupportedGrantTypeException: StaticErrorSchema;
|
|
37
|
+
export declare var __Unit: "unit";
|
|
38
|
+
export declare var SSOOIDCServiceException: StaticErrorSchema;
|
|
39
|
+
export declare var GrantTypes: number;
|
|
40
|
+
export declare var RedirectUris: number;
|
|
41
|
+
export declare var Scopes: number;
|
|
42
|
+
export declare var CreateToken: StaticOperationSchema;
|
|
43
|
+
export declare var CreateTokenWithIAM: StaticOperationSchema;
|
|
44
|
+
export declare var RegisterClient: StaticOperationSchema;
|
|
45
|
+
export declare var StartDeviceAuthorization: StaticOperationSchema;
|
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.930.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-sso-oidc",
|
|
@@ -20,41 +20,41 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
23
|
-
"@aws-sdk/core": "3.
|
|
24
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
25
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
26
|
-
"@aws-sdk/middleware-logger": "3.
|
|
27
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
28
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
29
|
-
"@aws-sdk/region-config-resolver": "3.
|
|
30
|
-
"@aws-sdk/types": "3.
|
|
31
|
-
"@aws-sdk/util-endpoints": "3.
|
|
32
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
33
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
34
|
-
"@smithy/config-resolver": "^4.4.
|
|
35
|
-
"@smithy/core": "^3.
|
|
36
|
-
"@smithy/fetch-http-handler": "^5.3.
|
|
37
|
-
"@smithy/hash-node": "^4.2.
|
|
38
|
-
"@smithy/invalid-dependency": "^4.2.
|
|
39
|
-
"@smithy/middleware-content-length": "^4.2.
|
|
40
|
-
"@smithy/middleware-endpoint": "^4.3.
|
|
41
|
-
"@smithy/middleware-retry": "^4.4.
|
|
42
|
-
"@smithy/middleware-serde": "^4.2.
|
|
43
|
-
"@smithy/middleware-stack": "^4.2.
|
|
44
|
-
"@smithy/node-config-provider": "^4.3.
|
|
45
|
-
"@smithy/node-http-handler": "^4.4.
|
|
46
|
-
"@smithy/protocol-http": "^5.3.
|
|
47
|
-
"@smithy/smithy-client": "^4.9.
|
|
48
|
-
"@smithy/types": "^4.
|
|
49
|
-
"@smithy/url-parser": "^4.2.
|
|
23
|
+
"@aws-sdk/core": "3.930.0",
|
|
24
|
+
"@aws-sdk/credential-provider-node": "3.930.0",
|
|
25
|
+
"@aws-sdk/middleware-host-header": "3.930.0",
|
|
26
|
+
"@aws-sdk/middleware-logger": "3.930.0",
|
|
27
|
+
"@aws-sdk/middleware-recursion-detection": "3.930.0",
|
|
28
|
+
"@aws-sdk/middleware-user-agent": "3.930.0",
|
|
29
|
+
"@aws-sdk/region-config-resolver": "3.930.0",
|
|
30
|
+
"@aws-sdk/types": "3.930.0",
|
|
31
|
+
"@aws-sdk/util-endpoints": "3.930.0",
|
|
32
|
+
"@aws-sdk/util-user-agent-browser": "3.930.0",
|
|
33
|
+
"@aws-sdk/util-user-agent-node": "3.930.0",
|
|
34
|
+
"@smithy/config-resolver": "^4.4.3",
|
|
35
|
+
"@smithy/core": "^3.18.2",
|
|
36
|
+
"@smithy/fetch-http-handler": "^5.3.6",
|
|
37
|
+
"@smithy/hash-node": "^4.2.5",
|
|
38
|
+
"@smithy/invalid-dependency": "^4.2.5",
|
|
39
|
+
"@smithy/middleware-content-length": "^4.2.5",
|
|
40
|
+
"@smithy/middleware-endpoint": "^4.3.9",
|
|
41
|
+
"@smithy/middleware-retry": "^4.4.9",
|
|
42
|
+
"@smithy/middleware-serde": "^4.2.5",
|
|
43
|
+
"@smithy/middleware-stack": "^4.2.5",
|
|
44
|
+
"@smithy/node-config-provider": "^4.3.5",
|
|
45
|
+
"@smithy/node-http-handler": "^4.4.5",
|
|
46
|
+
"@smithy/protocol-http": "^5.3.5",
|
|
47
|
+
"@smithy/smithy-client": "^4.9.5",
|
|
48
|
+
"@smithy/types": "^4.9.0",
|
|
49
|
+
"@smithy/url-parser": "^4.2.5",
|
|
50
50
|
"@smithy/util-base64": "^4.3.0",
|
|
51
51
|
"@smithy/util-body-length-browser": "^4.2.0",
|
|
52
52
|
"@smithy/util-body-length-node": "^4.2.1",
|
|
53
|
-
"@smithy/util-defaults-mode-browser": "^4.3.
|
|
54
|
-
"@smithy/util-defaults-mode-node": "^4.2.
|
|
55
|
-
"@smithy/util-endpoints": "^3.2.
|
|
56
|
-
"@smithy/util-middleware": "^4.2.
|
|
57
|
-
"@smithy/util-retry": "^4.2.
|
|
53
|
+
"@smithy/util-defaults-mode-browser": "^4.3.8",
|
|
54
|
+
"@smithy/util-defaults-mode-node": "^4.2.11",
|
|
55
|
+
"@smithy/util-endpoints": "^3.2.5",
|
|
56
|
+
"@smithy/util-middleware": "^4.2.5",
|
|
57
|
+
"@smithy/util-retry": "^4.2.5",
|
|
58
58
|
"@smithy/util-utf8": "^4.2.0",
|
|
59
59
|
"tslib": "^2.6.2"
|
|
60
60
|
},
|