apps 0.0.1-beta.2 → 0.0.1-beta.21
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/README.md +68 -44
- package/framework-reference.json +1 -1
- package/js/{chunk-SATWJKN6.js → chunk-27F7W2LG.js} +1 -1
- package/js/{chunk-WFSQXYUT.js → chunk-4QQ62BVS.js} +37 -3
- package/js/{chunk-HDJH3RPR.js → chunk-57RKNWL2.js} +2 -2
- package/js/chunk-625MBYU4.js +524 -0
- package/js/{chunk-RN2MXB4R.js → chunk-BLI53LPN.js} +28 -9
- package/js/{chunk-FW5HBOIK.js → chunk-CDL5PM2Q.js} +307 -169
- package/js/{chunk-J7O55ZV7.js → chunk-CHAK4P5C.js} +317 -176
- package/js/{chunk-HDTGZWP2.js → chunk-CMRKLZZY.js} +8 -8
- package/js/{chunk-OHRT55C4.js → chunk-IJX4CYZO.js} +3 -6
- package/js/{chunk-FDNTX5QJ.js → chunk-IPI4MFSN.js} +2 -2
- package/js/{chunk-YEJOQEII.js → chunk-JU7VHODU.js} +1 -1
- package/js/chunk-KUMBKVJD.js +39 -0
- package/js/{chunk-EVJUVWN2.js → chunk-M3B3DE4K.js} +2 -2
- package/js/{chunk-ZJWDMTE3.js → chunk-MKWZPDR6.js} +3 -3
- package/js/{chunk-BMOIAIVR.js → chunk-N7YDVXYJ.js} +49 -1
- package/js/{chunk-D47C7KG5.js → chunk-NKLWZJLE.js} +2 -2
- package/js/chunk-NMKHTJOQ.js +254 -0
- package/js/chunk-OD3KFKZD.js +1617 -0
- package/js/{chunk-ZCAMUXSG.js → chunk-ODEIDRGW.js} +3 -4
- package/js/{chunk-5MQZEB6Y.js → chunk-OZ4UK3CD.js} +37 -12
- package/js/{chunk-M6ZRRIBI.js → chunk-PJJ24GU7.js} +1 -1
- package/js/{chunk-FZJOYIZO.js → chunk-PZB6T6KU.js} +1 -1
- package/js/{chunk-LGIYBDWA.js → chunk-R3EV5FTO.js} +13 -1
- package/js/{chunk-Z5NMEGJN.js → chunk-RAAPJMVZ.js} +21 -9
- package/js/{chunk-QKHR7BMF.js → chunk-UK573G7W.js} +1 -1
- package/js/{chunk-4LPG6RCH.js → chunk-VFZKSM3T.js} +5 -25
- package/js/{chunk-MYYEW3RA.js → chunk-VXWY44LE.js} +780 -55
- package/js/{chunk-JN55AYQH.js → chunk-XNCYIB4D.js} +61 -32
- package/js/{chunk-PLCMJREA.js → chunk-ZQINWV4W.js} +60 -20
- package/js/client.js +10 -26
- package/js/contracts.js +74 -16
- package/js/effect.js +19 -20
- package/js/{es-APDZKREY.js → es-DIULA3ZF.js} +62 -1659
- package/js/graphql.js +47 -49
- package/js/host.js +19 -20
- package/js/index.js +232 -201
- package/js/mcp/effect.js +21 -22
- package/js/mcp/stdio.js +25 -26
- package/js/mcp.js +74 -56
- package/js/openapi.js +3428 -1276
- package/js/react.js +3 -3
- package/js/skills/effect.js +3 -3
- package/js/skills.js +12 -13
- package/js/storage/facet.js +4 -4
- package/js/ui/auth/contracts.js +8 -9
- package/js/ui/auth.js +16 -14
- package/js/ui/contracts.js +4 -4
- package/js/ui/serving.js +71 -218
- package/package.json +1 -1
- package/runtime.json +1 -1
- package/types/app-data/src/contracts/database.d.ts +33 -6
- package/types/app-data/src/implementation/schema.d.ts +2 -17
- package/types/apps/src/contracts/app.d.ts +7 -6
- package/types/apps/src/contracts/failure.d.ts +25 -0
- package/types/apps/src/contracts/host.d.ts +31 -10
- package/types/apps/src/contracts/mcp.d.ts +16 -0
- package/types/apps/src/contracts/openapi.d.ts +5 -1
- package/types/apps/src/contracts/operations.d.ts +0 -5
- package/types/apps/src/contracts/protocol-version.d.ts +2 -2
- package/types/apps/src/contracts/protocols/1.d.ts +235 -67
- package/types/apps/src/contracts/protocols/2.d.ts +710 -0
- package/types/apps/src/contracts/protocols/3.d.ts +718 -0
- package/types/apps/src/contracts/protocols/4.d.ts +1299 -0
- package/types/apps/src/contracts/protocols/5.d.ts +1174 -0
- package/types/apps/src/contracts/protocols/6.d.ts +1620 -0
- package/types/apps/src/contracts/protocols/7.d.ts +1784 -0
- package/types/apps/src/contracts/protocols/oauth.d.ts +89 -0
- package/types/apps/src/contracts/provider.d.ts +109 -10
- package/types/apps/src/contracts/router.d.ts +59 -0
- package/types/apps/src/contracts/storage.d.ts +3 -3
- package/types/apps/src/contracts/ui-auth.d.ts +6 -14
- package/types/apps/src/contracts/ui.d.ts +18 -0
- package/types/apps/src/contracts/workflows.d.ts +34 -3
- package/types/apps/src/graphql.d.ts +1 -3
- package/types/apps/src/implementation/account-router.d.ts +12 -0
- package/types/apps/src/implementation/app.d.ts +5 -4
- package/types/apps/src/implementation/browser-scripts.gen.d.ts +6 -0
- package/types/apps/src/implementation/catalog-cache.d.ts +34 -4
- package/types/apps/src/implementation/elicitation.d.ts +2 -2
- package/types/apps/src/implementation/failure-detail.d.ts +26 -0
- package/types/apps/src/implementation/graphql-catalog.d.ts +4 -7
- package/types/apps/src/implementation/mcp-catalog.d.ts +7 -8
- package/types/apps/src/implementation/mcp-client.d.ts +35 -19
- package/types/apps/src/implementation/mcp.d.ts +35 -19
- package/types/apps/src/implementation/openapi-compile.d.ts +9 -5
- package/types/apps/src/implementation/openapi-document.d.ts +15 -2
- package/types/apps/src/implementation/openapi-request.d.ts +8 -1
- package/types/apps/src/implementation/openapi-source.d.ts +2 -6
- package/types/apps/src/implementation/openapi-upgrade.d.ts +4 -0
- package/types/apps/src/implementation/operations.d.ts +36 -3
- package/types/apps/src/implementation/protocol-operations.d.ts +3 -4
- package/types/apps/src/implementation/provider.d.ts +19 -5
- package/types/apps/src/implementation/router-catalog.d.ts +225 -0
- package/types/apps/src/implementation/router.d.ts +68 -0
- package/types/apps/src/implementation/runtime-yield.d.ts +7 -0
- package/types/apps/src/implementation/schema.d.ts +44 -1
- package/types/apps/src/implementation/storage.d.ts +5 -3
- package/types/apps/src/implementation/ui-account-notice.d.ts +9 -0
- package/types/apps/src/implementation/ui-auth.d.ts +11 -5
- package/types/apps/src/implementation/ui-errors.d.ts +1 -1
- package/types/apps/src/implementation/ui-serving.d.ts +10 -4
- package/types/apps/src/implementation/ui-watch.d.ts +1 -1
- package/types/apps/src/implementation/webhooks.d.ts +1 -1
- package/types/apps/src/implementation/workflow-context.d.ts +11 -3
- package/types/apps/src/index.d.ts +28 -11
- package/types/apps/src/mcp-stdio.d.ts +2 -5
- package/types/apps/src/mcp.d.ts +5 -4
- package/types/apps/src/openapi.d.ts +6 -6
- package/types/apps/src/ui-auth.d.ts +2 -2
- package/types/telemetry/src/browser-operations.d.ts +5 -2
- package/js/chunk-PYUYJRSK.js +0 -93
- package/js/chunk-SWPD52J7.js +0 -35
- package/js/chunk-TE4KO4HI.js +0 -47
- package/js/chunk-W7D7WVSY.js +0 -18
- package/types/apps/src/contracts/dynamic-tools.d.ts +0 -13
- package/types/apps/src/implementation/account-operations.d.ts +0 -151
- package/types/apps/src/implementation/dynamic-tools.d.ts +0 -8
|
@@ -15,7 +15,21 @@ import { ElicitationFailed } from "../elicitation.js";
|
|
|
15
15
|
import { McpError } from "../mcp.js";
|
|
16
16
|
import { ProviderError } from "../provider-error.js";
|
|
17
17
|
import { SkillLoadFailed } from "../skills.js";
|
|
18
|
-
|
|
18
|
+
declare const WorkflowFailure_base: Schema.Class<WorkflowFailure, Schema.TaggedStruct<"WorkflowFailure", {
|
|
19
|
+
readonly reason: Schema.Literals<readonly ["unavailable", "not_found", "input", "output", "operation", "approval", "credentials", "terminated", "execution", "conflict", "engine"]>;
|
|
20
|
+
readonly retryable: Schema.Boolean;
|
|
21
|
+
}>, import("effect/Cause").YieldableError>;
|
|
22
|
+
/** Protocol 1's workflow failure: a reason code only, as released. */
|
|
23
|
+
export declare class WorkflowFailure extends WorkflowFailure_base {
|
|
24
|
+
}
|
|
25
|
+
/** Protocol 1's workflow step reply, carrying its own failure. */
|
|
26
|
+
export declare const WorkflowRpcResult: Schema.Union<readonly [Schema.Struct<{
|
|
27
|
+
readonly ok: Schema.Literal<true>;
|
|
28
|
+
readonly value: Schema.Codec<Schema.Json, Schema.Json, never, never>;
|
|
29
|
+
}>, Schema.Struct<{
|
|
30
|
+
readonly ok: Schema.Literal<false>;
|
|
31
|
+
readonly error: typeof WorkflowFailure;
|
|
32
|
+
}>]>;
|
|
19
33
|
/** Serializable auth methods shared with SDK hosts; protocol configuration has one schema. */
|
|
20
34
|
export declare const DeclaredAuthMethod: Schema.Union<readonly [Schema.Struct<{
|
|
21
35
|
readonly type: Schema.Literal<"secrets">;
|
|
@@ -28,10 +42,15 @@ export declare const DeclaredAuthMethod: Schema.Union<readonly [Schema.Struct<{
|
|
|
28
42
|
readonly tokenUrl: Schema.optionalKey<Schema.Never>;
|
|
29
43
|
readonly revocationUrl: Schema.optionalKey<Schema.Never>;
|
|
30
44
|
readonly scopes: Schema.optionalKey<Schema.$Array<Schema.String>>;
|
|
45
|
+
readonly tokenResponse: Schema.optionalKey<Schema.Struct<{
|
|
46
|
+
readonly path: Schema.String;
|
|
47
|
+
}>>;
|
|
31
48
|
readonly grant: Schema.optionalKey<Schema.Literal<"authorization_code">>;
|
|
32
49
|
readonly authorizationParams: Schema.optionalKey<Schema.$Record<Schema.String, Schema.String>>;
|
|
33
50
|
readonly tokenEndpointAuthMethod: Schema.optionalKey<Schema.Literals<readonly ["none", "client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>>;
|
|
34
51
|
readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
|
|
52
|
+
readonly scopeSeparator: Schema.optionalKey<Schema.String>;
|
|
53
|
+
readonly tokenRequestFormat: Schema.optionalKey<Schema.Literals<readonly ["form", "json"]>>;
|
|
35
54
|
readonly type: Schema.Literal<"oauth2">;
|
|
36
55
|
}>, Schema.Struct<{
|
|
37
56
|
readonly response: Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>;
|
|
@@ -41,32 +60,41 @@ export declare const DeclaredAuthMethod: Schema.Union<readonly [Schema.Struct<{
|
|
|
41
60
|
readonly scopes: Schema.$Array<Schema.String>;
|
|
42
61
|
readonly issuer: Schema.optionalKey<Schema.String>;
|
|
43
62
|
readonly discover: Schema.optionalKey<Schema.Never>;
|
|
63
|
+
readonly tokenResponse: Schema.optionalKey<Schema.Struct<{
|
|
64
|
+
readonly path: Schema.String;
|
|
65
|
+
}>>;
|
|
44
66
|
readonly grant: Schema.optionalKey<Schema.Literal<"authorization_code">>;
|
|
45
67
|
readonly authorizationParams: Schema.optionalKey<Schema.$Record<Schema.String, Schema.String>>;
|
|
46
68
|
readonly tokenEndpointAuthMethod: Schema.optionalKey<Schema.Literals<readonly ["none", "client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>>;
|
|
47
69
|
readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
|
|
70
|
+
readonly scopeSeparator: Schema.optionalKey<Schema.String>;
|
|
71
|
+
readonly tokenRequestFormat: Schema.optionalKey<Schema.Literals<readonly ["form", "json"]>>;
|
|
48
72
|
readonly type: Schema.Literal<"oauth2">;
|
|
49
73
|
}>, Schema.Struct<{
|
|
50
74
|
readonly response: Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>;
|
|
75
|
+
readonly tokenEndpointAuthMethod: Schema.Literals<readonly ["client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>;
|
|
76
|
+
readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
|
|
77
|
+
readonly scopeSeparator: Schema.optionalKey<Schema.String>;
|
|
78
|
+
readonly tokenRequestFormat: Schema.optionalKey<Schema.Literals<readonly ["form", "json"]>>;
|
|
51
79
|
readonly grant: Schema.Literal<"client_credentials">;
|
|
52
80
|
readonly discover: Schema.String;
|
|
53
81
|
readonly authorizationUrl: Schema.optionalKey<Schema.Never>;
|
|
54
82
|
readonly tokenUrl: Schema.optionalKey<Schema.Never>;
|
|
55
83
|
readonly revocationUrl: Schema.optionalKey<Schema.Never>;
|
|
56
84
|
readonly scopes: Schema.optionalKey<Schema.$Array<Schema.String>>;
|
|
57
|
-
readonly tokenEndpointAuthMethod: Schema.Literals<readonly ["client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>;
|
|
58
|
-
readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
|
|
59
85
|
readonly type: Schema.Literal<"oauth2">;
|
|
60
86
|
}>, Schema.Struct<{
|
|
61
87
|
readonly response: Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>;
|
|
62
|
-
readonly grant: Schema.Literal<"client_credentials">;
|
|
63
|
-
readonly tokenUrl: Schema.String;
|
|
64
|
-
readonly revocationUrl: Schema.optionalKey<Schema.String>;
|
|
65
|
-
readonly scopes: Schema.$Array<Schema.String>;
|
|
66
88
|
readonly tokenEndpointAuthMethod: Schema.Literals<readonly ["client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>;
|
|
67
89
|
readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
|
|
68
90
|
readonly authorizationUrl: Schema.optionalKey<Schema.Never>;
|
|
69
91
|
readonly discover: Schema.optionalKey<Schema.Never>;
|
|
92
|
+
readonly scopeSeparator: Schema.optionalKey<Schema.String>;
|
|
93
|
+
readonly tokenRequestFormat: Schema.optionalKey<Schema.Literals<readonly ["form", "json"]>>;
|
|
94
|
+
readonly grant: Schema.Literal<"client_credentials">;
|
|
95
|
+
readonly tokenUrl: Schema.String;
|
|
96
|
+
readonly revocationUrl: Schema.optionalKey<Schema.String>;
|
|
97
|
+
readonly scopes: Schema.$Array<Schema.String>;
|
|
70
98
|
readonly type: Schema.Literal<"oauth2">;
|
|
71
99
|
}>]>;
|
|
72
100
|
/** Serializable declaration of a provider's named authentication methods. */
|
|
@@ -83,10 +111,15 @@ export declare const DeclaredProvider: Schema.Struct<{
|
|
|
83
111
|
readonly tokenUrl: Schema.optionalKey<Schema.Never>;
|
|
84
112
|
readonly revocationUrl: Schema.optionalKey<Schema.Never>;
|
|
85
113
|
readonly scopes: Schema.optionalKey<Schema.$Array<Schema.String>>;
|
|
114
|
+
readonly tokenResponse: Schema.optionalKey<Schema.Struct<{
|
|
115
|
+
readonly path: Schema.String;
|
|
116
|
+
}>>;
|
|
86
117
|
readonly grant: Schema.optionalKey<Schema.Literal<"authorization_code">>;
|
|
87
118
|
readonly authorizationParams: Schema.optionalKey<Schema.$Record<Schema.String, Schema.String>>;
|
|
88
119
|
readonly tokenEndpointAuthMethod: Schema.optionalKey<Schema.Literals<readonly ["none", "client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>>;
|
|
89
120
|
readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
|
|
121
|
+
readonly scopeSeparator: Schema.optionalKey<Schema.String>;
|
|
122
|
+
readonly tokenRequestFormat: Schema.optionalKey<Schema.Literals<readonly ["form", "json"]>>;
|
|
90
123
|
readonly type: Schema.Literal<"oauth2">;
|
|
91
124
|
}>, Schema.Struct<{
|
|
92
125
|
readonly response: Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>;
|
|
@@ -96,32 +129,41 @@ export declare const DeclaredProvider: Schema.Struct<{
|
|
|
96
129
|
readonly scopes: Schema.$Array<Schema.String>;
|
|
97
130
|
readonly issuer: Schema.optionalKey<Schema.String>;
|
|
98
131
|
readonly discover: Schema.optionalKey<Schema.Never>;
|
|
132
|
+
readonly tokenResponse: Schema.optionalKey<Schema.Struct<{
|
|
133
|
+
readonly path: Schema.String;
|
|
134
|
+
}>>;
|
|
99
135
|
readonly grant: Schema.optionalKey<Schema.Literal<"authorization_code">>;
|
|
100
136
|
readonly authorizationParams: Schema.optionalKey<Schema.$Record<Schema.String, Schema.String>>;
|
|
101
137
|
readonly tokenEndpointAuthMethod: Schema.optionalKey<Schema.Literals<readonly ["none", "client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>>;
|
|
102
138
|
readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
|
|
139
|
+
readonly scopeSeparator: Schema.optionalKey<Schema.String>;
|
|
140
|
+
readonly tokenRequestFormat: Schema.optionalKey<Schema.Literals<readonly ["form", "json"]>>;
|
|
103
141
|
readonly type: Schema.Literal<"oauth2">;
|
|
104
142
|
}>, Schema.Struct<{
|
|
105
143
|
readonly response: Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>;
|
|
144
|
+
readonly tokenEndpointAuthMethod: Schema.Literals<readonly ["client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>;
|
|
145
|
+
readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
|
|
146
|
+
readonly scopeSeparator: Schema.optionalKey<Schema.String>;
|
|
147
|
+
readonly tokenRequestFormat: Schema.optionalKey<Schema.Literals<readonly ["form", "json"]>>;
|
|
106
148
|
readonly grant: Schema.Literal<"client_credentials">;
|
|
107
149
|
readonly discover: Schema.String;
|
|
108
150
|
readonly authorizationUrl: Schema.optionalKey<Schema.Never>;
|
|
109
151
|
readonly tokenUrl: Schema.optionalKey<Schema.Never>;
|
|
110
152
|
readonly revocationUrl: Schema.optionalKey<Schema.Never>;
|
|
111
153
|
readonly scopes: Schema.optionalKey<Schema.$Array<Schema.String>>;
|
|
112
|
-
readonly tokenEndpointAuthMethod: Schema.Literals<readonly ["client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>;
|
|
113
|
-
readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
|
|
114
154
|
readonly type: Schema.Literal<"oauth2">;
|
|
115
155
|
}>, Schema.Struct<{
|
|
116
156
|
readonly response: Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>;
|
|
117
|
-
readonly grant: Schema.Literal<"client_credentials">;
|
|
118
|
-
readonly tokenUrl: Schema.String;
|
|
119
|
-
readonly revocationUrl: Schema.optionalKey<Schema.String>;
|
|
120
|
-
readonly scopes: Schema.$Array<Schema.String>;
|
|
121
157
|
readonly tokenEndpointAuthMethod: Schema.Literals<readonly ["client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>;
|
|
122
158
|
readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
|
|
123
159
|
readonly authorizationUrl: Schema.optionalKey<Schema.Never>;
|
|
124
160
|
readonly discover: Schema.optionalKey<Schema.Never>;
|
|
161
|
+
readonly scopeSeparator: Schema.optionalKey<Schema.String>;
|
|
162
|
+
readonly tokenRequestFormat: Schema.optionalKey<Schema.Literals<readonly ["form", "json"]>>;
|
|
163
|
+
readonly grant: Schema.Literal<"client_credentials">;
|
|
164
|
+
readonly tokenUrl: Schema.String;
|
|
165
|
+
readonly revocationUrl: Schema.optionalKey<Schema.String>;
|
|
166
|
+
readonly scopes: Schema.$Array<Schema.String>;
|
|
125
167
|
readonly type: Schema.Literal<"oauth2">;
|
|
126
168
|
}>]>>;
|
|
127
169
|
}>;
|
|
@@ -165,10 +207,15 @@ export declare const DeclaredRequirements: Schema.Struct<{
|
|
|
165
207
|
readonly tokenUrl: Schema.optionalKey<Schema.Never>;
|
|
166
208
|
readonly revocationUrl: Schema.optionalKey<Schema.Never>;
|
|
167
209
|
readonly scopes: Schema.optionalKey<Schema.$Array<Schema.String>>;
|
|
210
|
+
readonly tokenResponse: Schema.optionalKey<Schema.Struct<{
|
|
211
|
+
readonly path: Schema.String;
|
|
212
|
+
}>>;
|
|
168
213
|
readonly grant: Schema.optionalKey<Schema.Literal<"authorization_code">>;
|
|
169
214
|
readonly authorizationParams: Schema.optionalKey<Schema.$Record<Schema.String, Schema.String>>;
|
|
170
215
|
readonly tokenEndpointAuthMethod: Schema.optionalKey<Schema.Literals<readonly ["none", "client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>>;
|
|
171
216
|
readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
|
|
217
|
+
readonly scopeSeparator: Schema.optionalKey<Schema.String>;
|
|
218
|
+
readonly tokenRequestFormat: Schema.optionalKey<Schema.Literals<readonly ["form", "json"]>>;
|
|
172
219
|
readonly type: Schema.Literal<"oauth2">;
|
|
173
220
|
}>, Schema.Struct<{
|
|
174
221
|
readonly response: Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>;
|
|
@@ -178,32 +225,41 @@ export declare const DeclaredRequirements: Schema.Struct<{
|
|
|
178
225
|
readonly scopes: Schema.$Array<Schema.String>;
|
|
179
226
|
readonly issuer: Schema.optionalKey<Schema.String>;
|
|
180
227
|
readonly discover: Schema.optionalKey<Schema.Never>;
|
|
228
|
+
readonly tokenResponse: Schema.optionalKey<Schema.Struct<{
|
|
229
|
+
readonly path: Schema.String;
|
|
230
|
+
}>>;
|
|
181
231
|
readonly grant: Schema.optionalKey<Schema.Literal<"authorization_code">>;
|
|
182
232
|
readonly authorizationParams: Schema.optionalKey<Schema.$Record<Schema.String, Schema.String>>;
|
|
183
233
|
readonly tokenEndpointAuthMethod: Schema.optionalKey<Schema.Literals<readonly ["none", "client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>>;
|
|
184
234
|
readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
|
|
235
|
+
readonly scopeSeparator: Schema.optionalKey<Schema.String>;
|
|
236
|
+
readonly tokenRequestFormat: Schema.optionalKey<Schema.Literals<readonly ["form", "json"]>>;
|
|
185
237
|
readonly type: Schema.Literal<"oauth2">;
|
|
186
238
|
}>, Schema.Struct<{
|
|
187
239
|
readonly response: Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>;
|
|
240
|
+
readonly tokenEndpointAuthMethod: Schema.Literals<readonly ["client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>;
|
|
241
|
+
readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
|
|
242
|
+
readonly scopeSeparator: Schema.optionalKey<Schema.String>;
|
|
243
|
+
readonly tokenRequestFormat: Schema.optionalKey<Schema.Literals<readonly ["form", "json"]>>;
|
|
188
244
|
readonly grant: Schema.Literal<"client_credentials">;
|
|
189
245
|
readonly discover: Schema.String;
|
|
190
246
|
readonly authorizationUrl: Schema.optionalKey<Schema.Never>;
|
|
191
247
|
readonly tokenUrl: Schema.optionalKey<Schema.Never>;
|
|
192
248
|
readonly revocationUrl: Schema.optionalKey<Schema.Never>;
|
|
193
249
|
readonly scopes: Schema.optionalKey<Schema.$Array<Schema.String>>;
|
|
194
|
-
readonly tokenEndpointAuthMethod: Schema.Literals<readonly ["client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>;
|
|
195
|
-
readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
|
|
196
250
|
readonly type: Schema.Literal<"oauth2">;
|
|
197
251
|
}>, Schema.Struct<{
|
|
198
252
|
readonly response: Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>;
|
|
199
|
-
readonly grant: Schema.Literal<"client_credentials">;
|
|
200
|
-
readonly tokenUrl: Schema.String;
|
|
201
|
-
readonly revocationUrl: Schema.optionalKey<Schema.String>;
|
|
202
|
-
readonly scopes: Schema.$Array<Schema.String>;
|
|
203
253
|
readonly tokenEndpointAuthMethod: Schema.Literals<readonly ["client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>;
|
|
204
254
|
readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
|
|
205
255
|
readonly authorizationUrl: Schema.optionalKey<Schema.Never>;
|
|
206
256
|
readonly discover: Schema.optionalKey<Schema.Never>;
|
|
257
|
+
readonly scopeSeparator: Schema.optionalKey<Schema.String>;
|
|
258
|
+
readonly tokenRequestFormat: Schema.optionalKey<Schema.Literals<readonly ["form", "json"]>>;
|
|
259
|
+
readonly grant: Schema.Literal<"client_credentials">;
|
|
260
|
+
readonly tokenUrl: Schema.String;
|
|
261
|
+
readonly revocationUrl: Schema.optionalKey<Schema.String>;
|
|
262
|
+
readonly scopes: Schema.$Array<Schema.String>;
|
|
207
263
|
readonly type: Schema.Literal<"oauth2">;
|
|
208
264
|
}>]>>;
|
|
209
265
|
}>;
|
|
@@ -228,10 +284,15 @@ export declare const ResolvedAccount: Schema.Struct<{
|
|
|
228
284
|
readonly tokenUrl: Schema.optionalKey<Schema.Never>;
|
|
229
285
|
readonly revocationUrl: Schema.optionalKey<Schema.Never>;
|
|
230
286
|
readonly scopes: Schema.optionalKey<Schema.$Array<Schema.String>>;
|
|
287
|
+
readonly tokenResponse: Schema.optionalKey<Schema.Struct<{
|
|
288
|
+
readonly path: Schema.String;
|
|
289
|
+
}>>;
|
|
231
290
|
readonly grant: Schema.optionalKey<Schema.Literal<"authorization_code">>;
|
|
232
291
|
readonly authorizationParams: Schema.optionalKey<Schema.$Record<Schema.String, Schema.String>>;
|
|
233
292
|
readonly tokenEndpointAuthMethod: Schema.optionalKey<Schema.Literals<readonly ["none", "client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>>;
|
|
234
293
|
readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
|
|
294
|
+
readonly scopeSeparator: Schema.optionalKey<Schema.String>;
|
|
295
|
+
readonly tokenRequestFormat: Schema.optionalKey<Schema.Literals<readonly ["form", "json"]>>;
|
|
235
296
|
readonly type: Schema.Literal<"oauth2">;
|
|
236
297
|
}>, Schema.Struct<{
|
|
237
298
|
readonly response: Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>;
|
|
@@ -241,32 +302,41 @@ export declare const ResolvedAccount: Schema.Struct<{
|
|
|
241
302
|
readonly scopes: Schema.$Array<Schema.String>;
|
|
242
303
|
readonly issuer: Schema.optionalKey<Schema.String>;
|
|
243
304
|
readonly discover: Schema.optionalKey<Schema.Never>;
|
|
305
|
+
readonly tokenResponse: Schema.optionalKey<Schema.Struct<{
|
|
306
|
+
readonly path: Schema.String;
|
|
307
|
+
}>>;
|
|
244
308
|
readonly grant: Schema.optionalKey<Schema.Literal<"authorization_code">>;
|
|
245
309
|
readonly authorizationParams: Schema.optionalKey<Schema.$Record<Schema.String, Schema.String>>;
|
|
246
310
|
readonly tokenEndpointAuthMethod: Schema.optionalKey<Schema.Literals<readonly ["none", "client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>>;
|
|
247
311
|
readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
|
|
312
|
+
readonly scopeSeparator: Schema.optionalKey<Schema.String>;
|
|
313
|
+
readonly tokenRequestFormat: Schema.optionalKey<Schema.Literals<readonly ["form", "json"]>>;
|
|
248
314
|
readonly type: Schema.Literal<"oauth2">;
|
|
249
315
|
}>, Schema.Struct<{
|
|
250
316
|
readonly response: Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>;
|
|
317
|
+
readonly tokenEndpointAuthMethod: Schema.Literals<readonly ["client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>;
|
|
318
|
+
readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
|
|
319
|
+
readonly scopeSeparator: Schema.optionalKey<Schema.String>;
|
|
320
|
+
readonly tokenRequestFormat: Schema.optionalKey<Schema.Literals<readonly ["form", "json"]>>;
|
|
251
321
|
readonly grant: Schema.Literal<"client_credentials">;
|
|
252
322
|
readonly discover: Schema.String;
|
|
253
323
|
readonly authorizationUrl: Schema.optionalKey<Schema.Never>;
|
|
254
324
|
readonly tokenUrl: Schema.optionalKey<Schema.Never>;
|
|
255
325
|
readonly revocationUrl: Schema.optionalKey<Schema.Never>;
|
|
256
326
|
readonly scopes: Schema.optionalKey<Schema.$Array<Schema.String>>;
|
|
257
|
-
readonly tokenEndpointAuthMethod: Schema.Literals<readonly ["client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>;
|
|
258
|
-
readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
|
|
259
327
|
readonly type: Schema.Literal<"oauth2">;
|
|
260
328
|
}>, Schema.Struct<{
|
|
261
329
|
readonly response: Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>;
|
|
262
|
-
readonly grant: Schema.Literal<"client_credentials">;
|
|
263
|
-
readonly tokenUrl: Schema.String;
|
|
264
|
-
readonly revocationUrl: Schema.optionalKey<Schema.String>;
|
|
265
|
-
readonly scopes: Schema.$Array<Schema.String>;
|
|
266
330
|
readonly tokenEndpointAuthMethod: Schema.Literals<readonly ["client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>;
|
|
267
331
|
readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
|
|
268
332
|
readonly authorizationUrl: Schema.optionalKey<Schema.Never>;
|
|
269
333
|
readonly discover: Schema.optionalKey<Schema.Never>;
|
|
334
|
+
readonly scopeSeparator: Schema.optionalKey<Schema.String>;
|
|
335
|
+
readonly tokenRequestFormat: Schema.optionalKey<Schema.Literals<readonly ["form", "json"]>>;
|
|
336
|
+
readonly grant: Schema.Literal<"client_credentials">;
|
|
337
|
+
readonly tokenUrl: Schema.String;
|
|
338
|
+
readonly revocationUrl: Schema.optionalKey<Schema.String>;
|
|
339
|
+
readonly scopes: Schema.$Array<Schema.String>;
|
|
270
340
|
readonly type: Schema.Literal<"oauth2">;
|
|
271
341
|
}>]>>;
|
|
272
342
|
}>;
|
|
@@ -296,10 +366,15 @@ export declare const ResolvedAccounts: Schema.$Record<Schema.NonEmptyString, Sch
|
|
|
296
366
|
readonly tokenUrl: Schema.optionalKey<Schema.Never>;
|
|
297
367
|
readonly revocationUrl: Schema.optionalKey<Schema.Never>;
|
|
298
368
|
readonly scopes: Schema.optionalKey<Schema.$Array<Schema.String>>;
|
|
369
|
+
readonly tokenResponse: Schema.optionalKey<Schema.Struct<{
|
|
370
|
+
readonly path: Schema.String;
|
|
371
|
+
}>>;
|
|
299
372
|
readonly grant: Schema.optionalKey<Schema.Literal<"authorization_code">>;
|
|
300
373
|
readonly authorizationParams: Schema.optionalKey<Schema.$Record<Schema.String, Schema.String>>;
|
|
301
374
|
readonly tokenEndpointAuthMethod: Schema.optionalKey<Schema.Literals<readonly ["none", "client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>>;
|
|
302
375
|
readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
|
|
376
|
+
readonly scopeSeparator: Schema.optionalKey<Schema.String>;
|
|
377
|
+
readonly tokenRequestFormat: Schema.optionalKey<Schema.Literals<readonly ["form", "json"]>>;
|
|
303
378
|
readonly type: Schema.Literal<"oauth2">;
|
|
304
379
|
}>, Schema.Struct<{
|
|
305
380
|
readonly response: Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>;
|
|
@@ -309,32 +384,41 @@ export declare const ResolvedAccounts: Schema.$Record<Schema.NonEmptyString, Sch
|
|
|
309
384
|
readonly scopes: Schema.$Array<Schema.String>;
|
|
310
385
|
readonly issuer: Schema.optionalKey<Schema.String>;
|
|
311
386
|
readonly discover: Schema.optionalKey<Schema.Never>;
|
|
387
|
+
readonly tokenResponse: Schema.optionalKey<Schema.Struct<{
|
|
388
|
+
readonly path: Schema.String;
|
|
389
|
+
}>>;
|
|
312
390
|
readonly grant: Schema.optionalKey<Schema.Literal<"authorization_code">>;
|
|
313
391
|
readonly authorizationParams: Schema.optionalKey<Schema.$Record<Schema.String, Schema.String>>;
|
|
314
392
|
readonly tokenEndpointAuthMethod: Schema.optionalKey<Schema.Literals<readonly ["none", "client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>>;
|
|
315
393
|
readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
|
|
394
|
+
readonly scopeSeparator: Schema.optionalKey<Schema.String>;
|
|
395
|
+
readonly tokenRequestFormat: Schema.optionalKey<Schema.Literals<readonly ["form", "json"]>>;
|
|
316
396
|
readonly type: Schema.Literal<"oauth2">;
|
|
317
397
|
}>, Schema.Struct<{
|
|
318
398
|
readonly response: Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>;
|
|
399
|
+
readonly tokenEndpointAuthMethod: Schema.Literals<readonly ["client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>;
|
|
400
|
+
readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
|
|
401
|
+
readonly scopeSeparator: Schema.optionalKey<Schema.String>;
|
|
402
|
+
readonly tokenRequestFormat: Schema.optionalKey<Schema.Literals<readonly ["form", "json"]>>;
|
|
319
403
|
readonly grant: Schema.Literal<"client_credentials">;
|
|
320
404
|
readonly discover: Schema.String;
|
|
321
405
|
readonly authorizationUrl: Schema.optionalKey<Schema.Never>;
|
|
322
406
|
readonly tokenUrl: Schema.optionalKey<Schema.Never>;
|
|
323
407
|
readonly revocationUrl: Schema.optionalKey<Schema.Never>;
|
|
324
408
|
readonly scopes: Schema.optionalKey<Schema.$Array<Schema.String>>;
|
|
325
|
-
readonly tokenEndpointAuthMethod: Schema.Literals<readonly ["client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>;
|
|
326
|
-
readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
|
|
327
409
|
readonly type: Schema.Literal<"oauth2">;
|
|
328
410
|
}>, Schema.Struct<{
|
|
329
411
|
readonly response: Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>;
|
|
330
|
-
readonly grant: Schema.Literal<"client_credentials">;
|
|
331
|
-
readonly tokenUrl: Schema.String;
|
|
332
|
-
readonly revocationUrl: Schema.optionalKey<Schema.String>;
|
|
333
|
-
readonly scopes: Schema.$Array<Schema.String>;
|
|
334
412
|
readonly tokenEndpointAuthMethod: Schema.Literals<readonly ["client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>;
|
|
335
413
|
readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
|
|
336
414
|
readonly authorizationUrl: Schema.optionalKey<Schema.Never>;
|
|
337
415
|
readonly discover: Schema.optionalKey<Schema.Never>;
|
|
416
|
+
readonly scopeSeparator: Schema.optionalKey<Schema.String>;
|
|
417
|
+
readonly tokenRequestFormat: Schema.optionalKey<Schema.Literals<readonly ["form", "json"]>>;
|
|
418
|
+
readonly grant: Schema.Literal<"client_credentials">;
|
|
419
|
+
readonly tokenUrl: Schema.String;
|
|
420
|
+
readonly revocationUrl: Schema.optionalKey<Schema.String>;
|
|
421
|
+
readonly scopes: Schema.$Array<Schema.String>;
|
|
338
422
|
readonly type: Schema.Literal<"oauth2">;
|
|
339
423
|
}>]>>;
|
|
340
424
|
}>;
|
|
@@ -360,10 +444,15 @@ export declare const ResolvedAccounts: Schema.$Record<Schema.NonEmptyString, Sch
|
|
|
360
444
|
readonly tokenUrl: Schema.optionalKey<Schema.Never>;
|
|
361
445
|
readonly revocationUrl: Schema.optionalKey<Schema.Never>;
|
|
362
446
|
readonly scopes: Schema.optionalKey<Schema.$Array<Schema.String>>;
|
|
447
|
+
readonly tokenResponse: Schema.optionalKey<Schema.Struct<{
|
|
448
|
+
readonly path: Schema.String;
|
|
449
|
+
}>>;
|
|
363
450
|
readonly grant: Schema.optionalKey<Schema.Literal<"authorization_code">>;
|
|
364
451
|
readonly authorizationParams: Schema.optionalKey<Schema.$Record<Schema.String, Schema.String>>;
|
|
365
452
|
readonly tokenEndpointAuthMethod: Schema.optionalKey<Schema.Literals<readonly ["none", "client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>>;
|
|
366
453
|
readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
|
|
454
|
+
readonly scopeSeparator: Schema.optionalKey<Schema.String>;
|
|
455
|
+
readonly tokenRequestFormat: Schema.optionalKey<Schema.Literals<readonly ["form", "json"]>>;
|
|
367
456
|
readonly type: Schema.Literal<"oauth2">;
|
|
368
457
|
}>, Schema.Struct<{
|
|
369
458
|
readonly response: Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>;
|
|
@@ -373,32 +462,41 @@ export declare const ResolvedAccounts: Schema.$Record<Schema.NonEmptyString, Sch
|
|
|
373
462
|
readonly scopes: Schema.$Array<Schema.String>;
|
|
374
463
|
readonly issuer: Schema.optionalKey<Schema.String>;
|
|
375
464
|
readonly discover: Schema.optionalKey<Schema.Never>;
|
|
465
|
+
readonly tokenResponse: Schema.optionalKey<Schema.Struct<{
|
|
466
|
+
readonly path: Schema.String;
|
|
467
|
+
}>>;
|
|
376
468
|
readonly grant: Schema.optionalKey<Schema.Literal<"authorization_code">>;
|
|
377
469
|
readonly authorizationParams: Schema.optionalKey<Schema.$Record<Schema.String, Schema.String>>;
|
|
378
470
|
readonly tokenEndpointAuthMethod: Schema.optionalKey<Schema.Literals<readonly ["none", "client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>>;
|
|
379
471
|
readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
|
|
472
|
+
readonly scopeSeparator: Schema.optionalKey<Schema.String>;
|
|
473
|
+
readonly tokenRequestFormat: Schema.optionalKey<Schema.Literals<readonly ["form", "json"]>>;
|
|
380
474
|
readonly type: Schema.Literal<"oauth2">;
|
|
381
475
|
}>, Schema.Struct<{
|
|
382
476
|
readonly response: Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>;
|
|
477
|
+
readonly tokenEndpointAuthMethod: Schema.Literals<readonly ["client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>;
|
|
478
|
+
readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
|
|
479
|
+
readonly scopeSeparator: Schema.optionalKey<Schema.String>;
|
|
480
|
+
readonly tokenRequestFormat: Schema.optionalKey<Schema.Literals<readonly ["form", "json"]>>;
|
|
383
481
|
readonly grant: Schema.Literal<"client_credentials">;
|
|
384
482
|
readonly discover: Schema.String;
|
|
385
483
|
readonly authorizationUrl: Schema.optionalKey<Schema.Never>;
|
|
386
484
|
readonly tokenUrl: Schema.optionalKey<Schema.Never>;
|
|
387
485
|
readonly revocationUrl: Schema.optionalKey<Schema.Never>;
|
|
388
486
|
readonly scopes: Schema.optionalKey<Schema.$Array<Schema.String>>;
|
|
389
|
-
readonly tokenEndpointAuthMethod: Schema.Literals<readonly ["client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>;
|
|
390
|
-
readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
|
|
391
487
|
readonly type: Schema.Literal<"oauth2">;
|
|
392
488
|
}>, Schema.Struct<{
|
|
393
489
|
readonly response: Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>;
|
|
394
|
-
readonly grant: Schema.Literal<"client_credentials">;
|
|
395
|
-
readonly tokenUrl: Schema.String;
|
|
396
|
-
readonly revocationUrl: Schema.optionalKey<Schema.String>;
|
|
397
|
-
readonly scopes: Schema.$Array<Schema.String>;
|
|
398
490
|
readonly tokenEndpointAuthMethod: Schema.Literals<readonly ["client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>;
|
|
399
491
|
readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
|
|
400
492
|
readonly authorizationUrl: Schema.optionalKey<Schema.Never>;
|
|
401
493
|
readonly discover: Schema.optionalKey<Schema.Never>;
|
|
494
|
+
readonly scopeSeparator: Schema.optionalKey<Schema.String>;
|
|
495
|
+
readonly tokenRequestFormat: Schema.optionalKey<Schema.Literals<readonly ["form", "json"]>>;
|
|
496
|
+
readonly grant: Schema.Literal<"client_credentials">;
|
|
497
|
+
readonly tokenUrl: Schema.String;
|
|
498
|
+
readonly revocationUrl: Schema.optionalKey<Schema.String>;
|
|
499
|
+
readonly scopes: Schema.$Array<Schema.String>;
|
|
402
500
|
readonly type: Schema.Literal<"oauth2">;
|
|
403
501
|
}>]>>;
|
|
404
502
|
}>;
|
|
@@ -814,10 +912,15 @@ export declare const HostInvocation: Schema.Struct<{
|
|
|
814
912
|
readonly tokenUrl: Schema.optionalKey<Schema.Never>;
|
|
815
913
|
readonly revocationUrl: Schema.optionalKey<Schema.Never>;
|
|
816
914
|
readonly scopes: Schema.optionalKey<Schema.$Array<Schema.String>>;
|
|
915
|
+
readonly tokenResponse: Schema.optionalKey<Schema.Struct<{
|
|
916
|
+
readonly path: Schema.String;
|
|
917
|
+
}>>;
|
|
817
918
|
readonly grant: Schema.optionalKey<Schema.Literal<"authorization_code">>;
|
|
818
919
|
readonly authorizationParams: Schema.optionalKey<Schema.$Record<Schema.String, Schema.String>>;
|
|
819
920
|
readonly tokenEndpointAuthMethod: Schema.optionalKey<Schema.Literals<readonly ["none", "client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>>;
|
|
820
921
|
readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
|
|
922
|
+
readonly scopeSeparator: Schema.optionalKey<Schema.String>;
|
|
923
|
+
readonly tokenRequestFormat: Schema.optionalKey<Schema.Literals<readonly ["form", "json"]>>;
|
|
821
924
|
readonly type: Schema.Literal<"oauth2">;
|
|
822
925
|
}>, Schema.Struct<{
|
|
823
926
|
readonly response: Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>;
|
|
@@ -827,32 +930,41 @@ export declare const HostInvocation: Schema.Struct<{
|
|
|
827
930
|
readonly scopes: Schema.$Array<Schema.String>;
|
|
828
931
|
readonly issuer: Schema.optionalKey<Schema.String>;
|
|
829
932
|
readonly discover: Schema.optionalKey<Schema.Never>;
|
|
933
|
+
readonly tokenResponse: Schema.optionalKey<Schema.Struct<{
|
|
934
|
+
readonly path: Schema.String;
|
|
935
|
+
}>>;
|
|
830
936
|
readonly grant: Schema.optionalKey<Schema.Literal<"authorization_code">>;
|
|
831
937
|
readonly authorizationParams: Schema.optionalKey<Schema.$Record<Schema.String, Schema.String>>;
|
|
832
938
|
readonly tokenEndpointAuthMethod: Schema.optionalKey<Schema.Literals<readonly ["none", "client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>>;
|
|
833
939
|
readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
|
|
940
|
+
readonly scopeSeparator: Schema.optionalKey<Schema.String>;
|
|
941
|
+
readonly tokenRequestFormat: Schema.optionalKey<Schema.Literals<readonly ["form", "json"]>>;
|
|
834
942
|
readonly type: Schema.Literal<"oauth2">;
|
|
835
943
|
}>, Schema.Struct<{
|
|
836
944
|
readonly response: Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>;
|
|
945
|
+
readonly tokenEndpointAuthMethod: Schema.Literals<readonly ["client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>;
|
|
946
|
+
readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
|
|
947
|
+
readonly scopeSeparator: Schema.optionalKey<Schema.String>;
|
|
948
|
+
readonly tokenRequestFormat: Schema.optionalKey<Schema.Literals<readonly ["form", "json"]>>;
|
|
837
949
|
readonly grant: Schema.Literal<"client_credentials">;
|
|
838
950
|
readonly discover: Schema.String;
|
|
839
951
|
readonly authorizationUrl: Schema.optionalKey<Schema.Never>;
|
|
840
952
|
readonly tokenUrl: Schema.optionalKey<Schema.Never>;
|
|
841
953
|
readonly revocationUrl: Schema.optionalKey<Schema.Never>;
|
|
842
954
|
readonly scopes: Schema.optionalKey<Schema.$Array<Schema.String>>;
|
|
843
|
-
readonly tokenEndpointAuthMethod: Schema.Literals<readonly ["client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>;
|
|
844
|
-
readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
|
|
845
955
|
readonly type: Schema.Literal<"oauth2">;
|
|
846
956
|
}>, Schema.Struct<{
|
|
847
957
|
readonly response: Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>;
|
|
848
|
-
readonly grant: Schema.Literal<"client_credentials">;
|
|
849
|
-
readonly tokenUrl: Schema.String;
|
|
850
|
-
readonly revocationUrl: Schema.optionalKey<Schema.String>;
|
|
851
|
-
readonly scopes: Schema.$Array<Schema.String>;
|
|
852
958
|
readonly tokenEndpointAuthMethod: Schema.Literals<readonly ["client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>;
|
|
853
959
|
readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
|
|
854
960
|
readonly authorizationUrl: Schema.optionalKey<Schema.Never>;
|
|
855
961
|
readonly discover: Schema.optionalKey<Schema.Never>;
|
|
962
|
+
readonly scopeSeparator: Schema.optionalKey<Schema.String>;
|
|
963
|
+
readonly tokenRequestFormat: Schema.optionalKey<Schema.Literals<readonly ["form", "json"]>>;
|
|
964
|
+
readonly grant: Schema.Literal<"client_credentials">;
|
|
965
|
+
readonly tokenUrl: Schema.String;
|
|
966
|
+
readonly revocationUrl: Schema.optionalKey<Schema.String>;
|
|
967
|
+
readonly scopes: Schema.$Array<Schema.String>;
|
|
856
968
|
readonly type: Schema.Literal<"oauth2">;
|
|
857
969
|
}>]>>;
|
|
858
970
|
}>;
|
|
@@ -878,10 +990,15 @@ export declare const HostInvocation: Schema.Struct<{
|
|
|
878
990
|
readonly tokenUrl: Schema.optionalKey<Schema.Never>;
|
|
879
991
|
readonly revocationUrl: Schema.optionalKey<Schema.Never>;
|
|
880
992
|
readonly scopes: Schema.optionalKey<Schema.$Array<Schema.String>>;
|
|
993
|
+
readonly tokenResponse: Schema.optionalKey<Schema.Struct<{
|
|
994
|
+
readonly path: Schema.String;
|
|
995
|
+
}>>;
|
|
881
996
|
readonly grant: Schema.optionalKey<Schema.Literal<"authorization_code">>;
|
|
882
997
|
readonly authorizationParams: Schema.optionalKey<Schema.$Record<Schema.String, Schema.String>>;
|
|
883
998
|
readonly tokenEndpointAuthMethod: Schema.optionalKey<Schema.Literals<readonly ["none", "client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>>;
|
|
884
999
|
readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
|
|
1000
|
+
readonly scopeSeparator: Schema.optionalKey<Schema.String>;
|
|
1001
|
+
readonly tokenRequestFormat: Schema.optionalKey<Schema.Literals<readonly ["form", "json"]>>;
|
|
885
1002
|
readonly type: Schema.Literal<"oauth2">;
|
|
886
1003
|
}>, Schema.Struct<{
|
|
887
1004
|
readonly response: Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>;
|
|
@@ -891,32 +1008,41 @@ export declare const HostInvocation: Schema.Struct<{
|
|
|
891
1008
|
readonly scopes: Schema.$Array<Schema.String>;
|
|
892
1009
|
readonly issuer: Schema.optionalKey<Schema.String>;
|
|
893
1010
|
readonly discover: Schema.optionalKey<Schema.Never>;
|
|
1011
|
+
readonly tokenResponse: Schema.optionalKey<Schema.Struct<{
|
|
1012
|
+
readonly path: Schema.String;
|
|
1013
|
+
}>>;
|
|
894
1014
|
readonly grant: Schema.optionalKey<Schema.Literal<"authorization_code">>;
|
|
895
1015
|
readonly authorizationParams: Schema.optionalKey<Schema.$Record<Schema.String, Schema.String>>;
|
|
896
1016
|
readonly tokenEndpointAuthMethod: Schema.optionalKey<Schema.Literals<readonly ["none", "client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>>;
|
|
897
1017
|
readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
|
|
1018
|
+
readonly scopeSeparator: Schema.optionalKey<Schema.String>;
|
|
1019
|
+
readonly tokenRequestFormat: Schema.optionalKey<Schema.Literals<readonly ["form", "json"]>>;
|
|
898
1020
|
readonly type: Schema.Literal<"oauth2">;
|
|
899
1021
|
}>, Schema.Struct<{
|
|
900
1022
|
readonly response: Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>;
|
|
1023
|
+
readonly tokenEndpointAuthMethod: Schema.Literals<readonly ["client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>;
|
|
1024
|
+
readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
|
|
1025
|
+
readonly scopeSeparator: Schema.optionalKey<Schema.String>;
|
|
1026
|
+
readonly tokenRequestFormat: Schema.optionalKey<Schema.Literals<readonly ["form", "json"]>>;
|
|
901
1027
|
readonly grant: Schema.Literal<"client_credentials">;
|
|
902
1028
|
readonly discover: Schema.String;
|
|
903
1029
|
readonly authorizationUrl: Schema.optionalKey<Schema.Never>;
|
|
904
1030
|
readonly tokenUrl: Schema.optionalKey<Schema.Never>;
|
|
905
1031
|
readonly revocationUrl: Schema.optionalKey<Schema.Never>;
|
|
906
1032
|
readonly scopes: Schema.optionalKey<Schema.$Array<Schema.String>>;
|
|
907
|
-
readonly tokenEndpointAuthMethod: Schema.Literals<readonly ["client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>;
|
|
908
|
-
readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
|
|
909
1033
|
readonly type: Schema.Literal<"oauth2">;
|
|
910
1034
|
}>, Schema.Struct<{
|
|
911
1035
|
readonly response: Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>;
|
|
912
|
-
readonly grant: Schema.Literal<"client_credentials">;
|
|
913
|
-
readonly tokenUrl: Schema.String;
|
|
914
|
-
readonly revocationUrl: Schema.optionalKey<Schema.String>;
|
|
915
|
-
readonly scopes: Schema.$Array<Schema.String>;
|
|
916
1036
|
readonly tokenEndpointAuthMethod: Schema.Literals<readonly ["client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>;
|
|
917
1037
|
readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
|
|
918
1038
|
readonly authorizationUrl: Schema.optionalKey<Schema.Never>;
|
|
919
1039
|
readonly discover: Schema.optionalKey<Schema.Never>;
|
|
1040
|
+
readonly scopeSeparator: Schema.optionalKey<Schema.String>;
|
|
1041
|
+
readonly tokenRequestFormat: Schema.optionalKey<Schema.Literals<readonly ["form", "json"]>>;
|
|
1042
|
+
readonly grant: Schema.Literal<"client_credentials">;
|
|
1043
|
+
readonly tokenUrl: Schema.String;
|
|
1044
|
+
readonly revocationUrl: Schema.optionalKey<Schema.String>;
|
|
1045
|
+
readonly scopes: Schema.$Array<Schema.String>;
|
|
920
1046
|
readonly type: Schema.Literal<"oauth2">;
|
|
921
1047
|
}>]>>;
|
|
922
1048
|
}>;
|
|
@@ -1051,10 +1177,15 @@ export declare const protocol1: {
|
|
|
1051
1177
|
readonly tokenUrl: Schema.optionalKey<Schema.Never>;
|
|
1052
1178
|
readonly revocationUrl: Schema.optionalKey<Schema.Never>;
|
|
1053
1179
|
readonly scopes: Schema.optionalKey<Schema.$Array<Schema.String>>;
|
|
1180
|
+
readonly tokenResponse: Schema.optionalKey<Schema.Struct<{
|
|
1181
|
+
readonly path: Schema.String;
|
|
1182
|
+
}>>;
|
|
1054
1183
|
readonly grant: Schema.optionalKey<Schema.Literal<"authorization_code">>;
|
|
1055
1184
|
readonly authorizationParams: Schema.optionalKey<Schema.$Record<Schema.String, Schema.String>>;
|
|
1056
1185
|
readonly tokenEndpointAuthMethod: Schema.optionalKey<Schema.Literals<readonly ["none", "client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>>;
|
|
1057
1186
|
readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
|
|
1187
|
+
readonly scopeSeparator: Schema.optionalKey<Schema.String>;
|
|
1188
|
+
readonly tokenRequestFormat: Schema.optionalKey<Schema.Literals<readonly ["form", "json"]>>;
|
|
1058
1189
|
readonly type: Schema.Literal<"oauth2">;
|
|
1059
1190
|
}>, Schema.Struct<{
|
|
1060
1191
|
readonly response: Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>;
|
|
@@ -1064,32 +1195,41 @@ export declare const protocol1: {
|
|
|
1064
1195
|
readonly scopes: Schema.$Array<Schema.String>;
|
|
1065
1196
|
readonly issuer: Schema.optionalKey<Schema.String>;
|
|
1066
1197
|
readonly discover: Schema.optionalKey<Schema.Never>;
|
|
1198
|
+
readonly tokenResponse: Schema.optionalKey<Schema.Struct<{
|
|
1199
|
+
readonly path: Schema.String;
|
|
1200
|
+
}>>;
|
|
1067
1201
|
readonly grant: Schema.optionalKey<Schema.Literal<"authorization_code">>;
|
|
1068
1202
|
readonly authorizationParams: Schema.optionalKey<Schema.$Record<Schema.String, Schema.String>>;
|
|
1069
1203
|
readonly tokenEndpointAuthMethod: Schema.optionalKey<Schema.Literals<readonly ["none", "client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>>;
|
|
1070
1204
|
readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
|
|
1205
|
+
readonly scopeSeparator: Schema.optionalKey<Schema.String>;
|
|
1206
|
+
readonly tokenRequestFormat: Schema.optionalKey<Schema.Literals<readonly ["form", "json"]>>;
|
|
1071
1207
|
readonly type: Schema.Literal<"oauth2">;
|
|
1072
1208
|
}>, Schema.Struct<{
|
|
1073
1209
|
readonly response: Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>;
|
|
1210
|
+
readonly tokenEndpointAuthMethod: Schema.Literals<readonly ["client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>;
|
|
1211
|
+
readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
|
|
1212
|
+
readonly scopeSeparator: Schema.optionalKey<Schema.String>;
|
|
1213
|
+
readonly tokenRequestFormat: Schema.optionalKey<Schema.Literals<readonly ["form", "json"]>>;
|
|
1074
1214
|
readonly grant: Schema.Literal<"client_credentials">;
|
|
1075
1215
|
readonly discover: Schema.String;
|
|
1076
1216
|
readonly authorizationUrl: Schema.optionalKey<Schema.Never>;
|
|
1077
1217
|
readonly tokenUrl: Schema.optionalKey<Schema.Never>;
|
|
1078
1218
|
readonly revocationUrl: Schema.optionalKey<Schema.Never>;
|
|
1079
1219
|
readonly scopes: Schema.optionalKey<Schema.$Array<Schema.String>>;
|
|
1080
|
-
readonly tokenEndpointAuthMethod: Schema.Literals<readonly ["client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>;
|
|
1081
|
-
readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
|
|
1082
1220
|
readonly type: Schema.Literal<"oauth2">;
|
|
1083
1221
|
}>, Schema.Struct<{
|
|
1084
1222
|
readonly response: Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>;
|
|
1085
|
-
readonly grant: Schema.Literal<"client_credentials">;
|
|
1086
|
-
readonly tokenUrl: Schema.String;
|
|
1087
|
-
readonly revocationUrl: Schema.optionalKey<Schema.String>;
|
|
1088
|
-
readonly scopes: Schema.$Array<Schema.String>;
|
|
1089
1223
|
readonly tokenEndpointAuthMethod: Schema.Literals<readonly ["client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>;
|
|
1090
1224
|
readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
|
|
1091
1225
|
readonly authorizationUrl: Schema.optionalKey<Schema.Never>;
|
|
1092
1226
|
readonly discover: Schema.optionalKey<Schema.Never>;
|
|
1227
|
+
readonly scopeSeparator: Schema.optionalKey<Schema.String>;
|
|
1228
|
+
readonly tokenRequestFormat: Schema.optionalKey<Schema.Literals<readonly ["form", "json"]>>;
|
|
1229
|
+
readonly grant: Schema.Literal<"client_credentials">;
|
|
1230
|
+
readonly tokenUrl: Schema.String;
|
|
1231
|
+
readonly revocationUrl: Schema.optionalKey<Schema.String>;
|
|
1232
|
+
readonly scopes: Schema.$Array<Schema.String>;
|
|
1093
1233
|
readonly type: Schema.Literal<"oauth2">;
|
|
1094
1234
|
}>]>>;
|
|
1095
1235
|
}>;
|
|
@@ -1115,10 +1255,15 @@ export declare const protocol1: {
|
|
|
1115
1255
|
readonly tokenUrl: Schema.optionalKey<Schema.Never>;
|
|
1116
1256
|
readonly revocationUrl: Schema.optionalKey<Schema.Never>;
|
|
1117
1257
|
readonly scopes: Schema.optionalKey<Schema.$Array<Schema.String>>;
|
|
1258
|
+
readonly tokenResponse: Schema.optionalKey<Schema.Struct<{
|
|
1259
|
+
readonly path: Schema.String;
|
|
1260
|
+
}>>;
|
|
1118
1261
|
readonly grant: Schema.optionalKey<Schema.Literal<"authorization_code">>;
|
|
1119
1262
|
readonly authorizationParams: Schema.optionalKey<Schema.$Record<Schema.String, Schema.String>>;
|
|
1120
1263
|
readonly tokenEndpointAuthMethod: Schema.optionalKey<Schema.Literals<readonly ["none", "client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>>;
|
|
1121
1264
|
readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
|
|
1265
|
+
readonly scopeSeparator: Schema.optionalKey<Schema.String>;
|
|
1266
|
+
readonly tokenRequestFormat: Schema.optionalKey<Schema.Literals<readonly ["form", "json"]>>;
|
|
1122
1267
|
readonly type: Schema.Literal<"oauth2">;
|
|
1123
1268
|
}>, Schema.Struct<{
|
|
1124
1269
|
readonly response: Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>;
|
|
@@ -1128,32 +1273,41 @@ export declare const protocol1: {
|
|
|
1128
1273
|
readonly scopes: Schema.$Array<Schema.String>;
|
|
1129
1274
|
readonly issuer: Schema.optionalKey<Schema.String>;
|
|
1130
1275
|
readonly discover: Schema.optionalKey<Schema.Never>;
|
|
1276
|
+
readonly tokenResponse: Schema.optionalKey<Schema.Struct<{
|
|
1277
|
+
readonly path: Schema.String;
|
|
1278
|
+
}>>;
|
|
1131
1279
|
readonly grant: Schema.optionalKey<Schema.Literal<"authorization_code">>;
|
|
1132
1280
|
readonly authorizationParams: Schema.optionalKey<Schema.$Record<Schema.String, Schema.String>>;
|
|
1133
1281
|
readonly tokenEndpointAuthMethod: Schema.optionalKey<Schema.Literals<readonly ["none", "client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>>;
|
|
1134
1282
|
readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
|
|
1283
|
+
readonly scopeSeparator: Schema.optionalKey<Schema.String>;
|
|
1284
|
+
readonly tokenRequestFormat: Schema.optionalKey<Schema.Literals<readonly ["form", "json"]>>;
|
|
1135
1285
|
readonly type: Schema.Literal<"oauth2">;
|
|
1136
1286
|
}>, Schema.Struct<{
|
|
1137
1287
|
readonly response: Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>;
|
|
1288
|
+
readonly tokenEndpointAuthMethod: Schema.Literals<readonly ["client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>;
|
|
1289
|
+
readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
|
|
1290
|
+
readonly scopeSeparator: Schema.optionalKey<Schema.String>;
|
|
1291
|
+
readonly tokenRequestFormat: Schema.optionalKey<Schema.Literals<readonly ["form", "json"]>>;
|
|
1138
1292
|
readonly grant: Schema.Literal<"client_credentials">;
|
|
1139
1293
|
readonly discover: Schema.String;
|
|
1140
1294
|
readonly authorizationUrl: Schema.optionalKey<Schema.Never>;
|
|
1141
1295
|
readonly tokenUrl: Schema.optionalKey<Schema.Never>;
|
|
1142
1296
|
readonly revocationUrl: Schema.optionalKey<Schema.Never>;
|
|
1143
1297
|
readonly scopes: Schema.optionalKey<Schema.$Array<Schema.String>>;
|
|
1144
|
-
readonly tokenEndpointAuthMethod: Schema.Literals<readonly ["client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>;
|
|
1145
|
-
readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
|
|
1146
1298
|
readonly type: Schema.Literal<"oauth2">;
|
|
1147
1299
|
}>, Schema.Struct<{
|
|
1148
1300
|
readonly response: Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>;
|
|
1149
|
-
readonly grant: Schema.Literal<"client_credentials">;
|
|
1150
|
-
readonly tokenUrl: Schema.String;
|
|
1151
|
-
readonly revocationUrl: Schema.optionalKey<Schema.String>;
|
|
1152
|
-
readonly scopes: Schema.$Array<Schema.String>;
|
|
1153
1301
|
readonly tokenEndpointAuthMethod: Schema.Literals<readonly ["client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>;
|
|
1154
1302
|
readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
|
|
1155
1303
|
readonly authorizationUrl: Schema.optionalKey<Schema.Never>;
|
|
1156
1304
|
readonly discover: Schema.optionalKey<Schema.Never>;
|
|
1305
|
+
readonly scopeSeparator: Schema.optionalKey<Schema.String>;
|
|
1306
|
+
readonly tokenRequestFormat: Schema.optionalKey<Schema.Literals<readonly ["form", "json"]>>;
|
|
1307
|
+
readonly grant: Schema.Literal<"client_credentials">;
|
|
1308
|
+
readonly tokenUrl: Schema.String;
|
|
1309
|
+
readonly revocationUrl: Schema.optionalKey<Schema.String>;
|
|
1310
|
+
readonly scopes: Schema.$Array<Schema.String>;
|
|
1157
1311
|
readonly type: Schema.Literal<"oauth2">;
|
|
1158
1312
|
}>]>>;
|
|
1159
1313
|
}>;
|
|
@@ -1312,10 +1466,15 @@ export declare const protocol1: {
|
|
|
1312
1466
|
readonly tokenUrl: Schema.optionalKey<Schema.Never>;
|
|
1313
1467
|
readonly revocationUrl: Schema.optionalKey<Schema.Never>;
|
|
1314
1468
|
readonly scopes: Schema.optionalKey<Schema.$Array<Schema.String>>;
|
|
1469
|
+
readonly tokenResponse: Schema.optionalKey<Schema.Struct<{
|
|
1470
|
+
readonly path: Schema.String;
|
|
1471
|
+
}>>;
|
|
1315
1472
|
readonly grant: Schema.optionalKey<Schema.Literal<"authorization_code">>;
|
|
1316
1473
|
readonly authorizationParams: Schema.optionalKey<Schema.$Record<Schema.String, Schema.String>>;
|
|
1317
1474
|
readonly tokenEndpointAuthMethod: Schema.optionalKey<Schema.Literals<readonly ["none", "client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>>;
|
|
1318
1475
|
readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
|
|
1476
|
+
readonly scopeSeparator: Schema.optionalKey<Schema.String>;
|
|
1477
|
+
readonly tokenRequestFormat: Schema.optionalKey<Schema.Literals<readonly ["form", "json"]>>;
|
|
1319
1478
|
readonly type: Schema.Literal<"oauth2">;
|
|
1320
1479
|
}>, Schema.Struct<{
|
|
1321
1480
|
readonly response: Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>;
|
|
@@ -1325,32 +1484,41 @@ export declare const protocol1: {
|
|
|
1325
1484
|
readonly scopes: Schema.$Array<Schema.String>;
|
|
1326
1485
|
readonly issuer: Schema.optionalKey<Schema.String>;
|
|
1327
1486
|
readonly discover: Schema.optionalKey<Schema.Never>;
|
|
1487
|
+
readonly tokenResponse: Schema.optionalKey<Schema.Struct<{
|
|
1488
|
+
readonly path: Schema.String;
|
|
1489
|
+
}>>;
|
|
1328
1490
|
readonly grant: Schema.optionalKey<Schema.Literal<"authorization_code">>;
|
|
1329
1491
|
readonly authorizationParams: Schema.optionalKey<Schema.$Record<Schema.String, Schema.String>>;
|
|
1330
1492
|
readonly tokenEndpointAuthMethod: Schema.optionalKey<Schema.Literals<readonly ["none", "client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>>;
|
|
1331
1493
|
readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
|
|
1494
|
+
readonly scopeSeparator: Schema.optionalKey<Schema.String>;
|
|
1495
|
+
readonly tokenRequestFormat: Schema.optionalKey<Schema.Literals<readonly ["form", "json"]>>;
|
|
1332
1496
|
readonly type: Schema.Literal<"oauth2">;
|
|
1333
1497
|
}>, Schema.Struct<{
|
|
1334
1498
|
readonly response: Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>;
|
|
1499
|
+
readonly tokenEndpointAuthMethod: Schema.Literals<readonly ["client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>;
|
|
1500
|
+
readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
|
|
1501
|
+
readonly scopeSeparator: Schema.optionalKey<Schema.String>;
|
|
1502
|
+
readonly tokenRequestFormat: Schema.optionalKey<Schema.Literals<readonly ["form", "json"]>>;
|
|
1335
1503
|
readonly grant: Schema.Literal<"client_credentials">;
|
|
1336
1504
|
readonly discover: Schema.String;
|
|
1337
1505
|
readonly authorizationUrl: Schema.optionalKey<Schema.Never>;
|
|
1338
1506
|
readonly tokenUrl: Schema.optionalKey<Schema.Never>;
|
|
1339
1507
|
readonly revocationUrl: Schema.optionalKey<Schema.Never>;
|
|
1340
1508
|
readonly scopes: Schema.optionalKey<Schema.$Array<Schema.String>>;
|
|
1341
|
-
readonly tokenEndpointAuthMethod: Schema.Literals<readonly ["client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>;
|
|
1342
|
-
readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
|
|
1343
1509
|
readonly type: Schema.Literal<"oauth2">;
|
|
1344
1510
|
}>, Schema.Struct<{
|
|
1345
1511
|
readonly response: Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>;
|
|
1346
|
-
readonly grant: Schema.Literal<"client_credentials">;
|
|
1347
|
-
readonly tokenUrl: Schema.String;
|
|
1348
|
-
readonly revocationUrl: Schema.optionalKey<Schema.String>;
|
|
1349
|
-
readonly scopes: Schema.$Array<Schema.String>;
|
|
1350
1512
|
readonly tokenEndpointAuthMethod: Schema.Literals<readonly ["client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>;
|
|
1351
1513
|
readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
|
|
1352
1514
|
readonly authorizationUrl: Schema.optionalKey<Schema.Never>;
|
|
1353
1515
|
readonly discover: Schema.optionalKey<Schema.Never>;
|
|
1516
|
+
readonly scopeSeparator: Schema.optionalKey<Schema.String>;
|
|
1517
|
+
readonly tokenRequestFormat: Schema.optionalKey<Schema.Literals<readonly ["form", "json"]>>;
|
|
1518
|
+
readonly grant: Schema.Literal<"client_credentials">;
|
|
1519
|
+
readonly tokenUrl: Schema.String;
|
|
1520
|
+
readonly revocationUrl: Schema.optionalKey<Schema.String>;
|
|
1521
|
+
readonly scopes: Schema.$Array<Schema.String>;
|
|
1354
1522
|
readonly type: Schema.Literal<"oauth2">;
|
|
1355
1523
|
}>]>>;
|
|
1356
1524
|
}>;
|