apps 0.0.1-beta.3 → 0.0.1-beta.30
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-G7ZIRKMK.js → chunk-2D2PKLGQ.js} +118 -197
- package/js/chunk-3SPRHIEE.js +42 -0
- package/js/{chunk-FDNTX5QJ.js → chunk-4N26L465.js} +2 -2
- package/js/chunk-5ZHHO4OM.js +92 -0
- package/js/{chunk-EVJUVWN2.js → chunk-65SZ23BK.js} +2 -2
- package/js/{chunk-M6ZRRIBI.js → chunk-6JBTHTI5.js} +1 -1
- package/js/{chunk-J7O55ZV7.js → chunk-6NK26ONC.js} +332 -187
- package/js/chunk-6VWYEQ4X.js +254 -0
- package/js/{chunk-RN2MXB4R.js → chunk-AE4FWJQU.js} +128 -24
- package/js/{chunk-HDJH3RPR.js → chunk-BBTELEAN.js} +2 -2
- package/js/{chunk-LGIYBDWA.js → chunk-BRGF7VFN.js} +65 -1
- package/js/{chunk-MYYEW3RA.js → chunk-BSRU52RU.js} +984 -61
- package/js/{chunk-FZJOYIZO.js → chunk-BTJMXW4I.js} +1 -1
- package/js/{chunk-HDTGZWP2.js → chunk-IMCEF6KE.js} +139 -32
- package/js/chunk-KQCMHI3K.js +118 -0
- package/js/{chunk-BMOIAIVR.js → chunk-M2KEEOIQ.js} +49 -1
- package/js/{chunk-YEJOQEII.js → chunk-MYCVMDWI.js} +45 -7
- package/js/{chunk-FW5HBOIK.js → chunk-NXTXZ635.js} +1841 -1701
- package/js/chunk-OD3KFKZD.js +1617 -0
- package/js/{chunk-JN55AYQH.js → chunk-OI5CKSBU.js} +61 -32
- package/js/{chunk-NQ3OMCA5.js → chunk-P46HIAX6.js} +2 -2
- package/js/chunk-PUC24GZP.js +801 -0
- package/js/{chunk-SATWJKN6.js → chunk-PWF2DRJ3.js} +1 -1
- package/js/{chunk-D47C7KG5.js → chunk-VUVBMNKC.js} +2 -2
- package/js/{chunk-ZCAMUXSG.js → chunk-WGBI5MVX.js} +3 -4
- package/js/{chunk-T2LAZCAD.js → chunk-WQ5MVBTP.js} +1 -1
- package/js/{chunk-PLCMJREA.js → chunk-XBQTJP76.js} +60 -20
- package/js/{chunk-QKHR7BMF.js → chunk-XGN5IFOZ.js} +3 -3
- package/js/{chunk-WFSQXYUT.js → chunk-YML53Z7H.js} +42 -5
- package/js/{chunk-5MQZEB6Y.js → chunk-ZZOCEUTB.js} +37 -12
- package/js/client.js +120 -84
- package/js/contracts.js +110 -16
- package/js/effect.js +20 -20
- package/js/{es-APDZKREY.js → es-DIULA3ZF.js} +62 -1659
- package/js/graphql.js +58 -54
- package/js/host.js +20 -20
- package/js/index.js +247 -204
- package/js/mcp/effect.js +24 -22
- package/js/mcp/stdio.js +35 -30
- package/js/mcp.js +105 -68
- package/js/openapi.js +4087 -1503
- package/js/react.js +3 -3
- package/js/skills/effect.js +5 -3
- package/js/skills.js +15 -15
- package/js/storage/facet.js +4 -4
- package/js/ui/auth/contracts.js +2 -2
- package/js/ui/auth.js +5 -5
- package/js/ui/contracts.js +5 -4
- package/js/ui/serving.js +8516 -214
- 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/api-response-error.d.ts +4 -0
- package/types/apps/src/contracts/app.d.ts +7 -6
- package/types/apps/src/contracts/failure.d.ts +54 -0
- package/types/apps/src/contracts/graphql.d.ts +2 -1
- package/types/apps/src/contracts/host.d.ts +34 -11
- package/types/apps/src/contracts/mcp.d.ts +91 -10
- package/types/apps/src/contracts/network.d.ts +84 -0
- package/types/apps/src/contracts/openapi-compile.d.ts +31 -3
- package/types/apps/src/contracts/openapi.d.ts +45 -9
- package/types/apps/src/contracts/operations.d.ts +5 -6
- package/types/apps/src/contracts/protocol-version.d.ts +2 -2
- package/types/apps/src/contracts/protocols/1.d.ts +251 -69
- package/types/apps/src/contracts/protocols/2.d.ts +710 -0
- package/types/apps/src/contracts/protocols/3.d.ts +716 -0
- package/types/apps/src/contracts/protocols/4.d.ts +1298 -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/8.d.ts +1119 -0
- package/types/apps/src/contracts/protocols/oauth.d.ts +89 -0
- package/types/apps/src/contracts/provider-error.d.ts +9 -0
- package/types/apps/src/contracts/provider.d.ts +115 -10
- package/types/apps/src/contracts/router.d.ts +59 -0
- package/types/apps/src/contracts/skills.d.ts +18 -5
- package/types/apps/src/contracts/storage.d.ts +3 -3
- 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 +9 -9
- package/types/apps/src/implementation/failure-detail.d.ts +46 -0
- package/types/apps/src/implementation/graphql-catalog.d.ts +4 -7
- package/types/apps/src/implementation/graphql.d.ts +4 -3
- package/types/apps/src/implementation/mcp-call.d.ts +6 -5
- package/types/apps/src/implementation/mcp-catalog.d.ts +7 -8
- package/types/apps/src/implementation/mcp-client.d.ts +49 -25
- package/types/apps/src/implementation/mcp-stdio.d.ts +1 -1
- package/types/apps/src/implementation/mcp-tools.d.ts +2 -1
- package/types/apps/src/implementation/mcp.d.ts +52 -25
- package/types/apps/src/implementation/network.d.ts +16 -0
- package/types/apps/src/implementation/openapi-compile.d.ts +27 -6
- package/types/apps/src/implementation/openapi-document.d.ts +35 -8
- package/types/apps/src/implementation/openapi-names.d.ts +9 -4
- package/types/apps/src/implementation/openapi-request.d.ts +10 -2
- package/types/apps/src/implementation/openapi-source.d.ts +8 -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 +6 -4
- package/types/apps/src/implementation/provider-error.d.ts +28 -1
- package/types/apps/src/implementation/provider.d.ts +19 -5
- package/types/apps/src/implementation/router-catalog.d.ts +224 -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 +52 -1
- package/types/apps/src/implementation/skills.d.ts +2 -2
- 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-client.d.ts +2 -2
- package/types/apps/src/implementation/ui-document.d.ts +5 -0
- 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/upstream-error.d.ts +7 -0
- 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 +29 -11
- package/types/apps/src/mcp-stdio.d.ts +2 -5
- package/types/apps/src/mcp.d.ts +25 -5
- package/types/apps/src/openapi.d.ts +6 -6
- package/types/apps/src/skills.d.ts +4 -4
- package/types/telemetry/src/browser-operations.d.ts +5 -2
- package/types/telemetry/src/config.d.ts +2 -2
- package/types/utils/src/api-error.d.ts +48 -0
- package/js/chunk-PYUYJRSK.js +0 -93
- package/js/chunk-SWPD52J7.js +0 -35
- package/js/chunk-W7D7WVSY.js +0 -18
- package/js/chunk-Z5NMEGJN.js +0 -29
- package/js/chunk-ZJWDMTE3.js +0 -63
- 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
|
@@ -12,10 +12,38 @@
|
|
|
12
12
|
import { Schema } from "effect";
|
|
13
13
|
import { OpenapiResponseError } from "../api-response-error.js";
|
|
14
14
|
import { ElicitationFailed } from "../elicitation.js";
|
|
15
|
-
import { McpError } from "../mcp.js";
|
|
16
|
-
import { ProviderError } from "../provider-error.js";
|
|
17
15
|
import { SkillLoadFailed } from "../skills.js";
|
|
18
|
-
|
|
16
|
+
declare const ProviderError_base: Schema.Class<ProviderError, Schema.TaggedStruct<"ProviderError", {
|
|
17
|
+
readonly reason: Schema.Literals<readonly ["unauthorized", "forbidden", "rate_limited", "unavailable", "rejected"]>;
|
|
18
|
+
readonly status: Schema.optional<Schema.Int>;
|
|
19
|
+
readonly accountId: Schema.optional<Schema.brand<Schema.String, "acc">>;
|
|
20
|
+
}>, import("effect/Cause").YieldableError>;
|
|
21
|
+
/** Protocol 1's provider failure, as released: a reason, an HTTP status and the account used. */
|
|
22
|
+
export declare class ProviderError extends ProviderError_base {
|
|
23
|
+
}
|
|
24
|
+
declare const McpError_base: Schema.Class<McpError, Schema.TaggedStruct<"McpError", {
|
|
25
|
+
readonly phase: Schema.Literals<readonly ["connect", "discover", "call", "schema", "transport"]>;
|
|
26
|
+
readonly reason: Schema.Literals<readonly ["request", "unauthorized", "invalid_response", "timeout", "invalid_input"]>;
|
|
27
|
+
readonly status: Schema.optional<Schema.Number>;
|
|
28
|
+
}>, import("effect/Cause").YieldableError>;
|
|
29
|
+
/** Protocol 1's MCP failure, as released: a phase, a reason and an HTTP status. */
|
|
30
|
+
export declare class McpError extends McpError_base {
|
|
31
|
+
}
|
|
32
|
+
declare const WorkflowFailure_base: Schema.Class<WorkflowFailure, Schema.TaggedStruct<"WorkflowFailure", {
|
|
33
|
+
readonly reason: Schema.Literals<readonly ["unavailable", "not_found", "input", "output", "operation", "approval", "credentials", "terminated", "execution", "conflict", "engine"]>;
|
|
34
|
+
readonly retryable: Schema.Boolean;
|
|
35
|
+
}>, import("effect/Cause").YieldableError>;
|
|
36
|
+
/** Protocol 1's workflow failure: a reason code only, as released. */
|
|
37
|
+
export declare class WorkflowFailure extends WorkflowFailure_base {
|
|
38
|
+
}
|
|
39
|
+
/** Protocol 1's workflow step reply, carrying its own failure. */
|
|
40
|
+
export declare const WorkflowRpcResult: Schema.Union<readonly [Schema.Struct<{
|
|
41
|
+
readonly ok: Schema.Literal<true>;
|
|
42
|
+
readonly value: Schema.Codec<Schema.Json, Schema.Json, never, never>;
|
|
43
|
+
}>, Schema.Struct<{
|
|
44
|
+
readonly ok: Schema.Literal<false>;
|
|
45
|
+
readonly error: typeof WorkflowFailure;
|
|
46
|
+
}>]>;
|
|
19
47
|
/** Serializable auth methods shared with SDK hosts; protocol configuration has one schema. */
|
|
20
48
|
export declare const DeclaredAuthMethod: Schema.Union<readonly [Schema.Struct<{
|
|
21
49
|
readonly type: Schema.Literal<"secrets">;
|
|
@@ -28,10 +56,15 @@ export declare const DeclaredAuthMethod: Schema.Union<readonly [Schema.Struct<{
|
|
|
28
56
|
readonly tokenUrl: Schema.optionalKey<Schema.Never>;
|
|
29
57
|
readonly revocationUrl: Schema.optionalKey<Schema.Never>;
|
|
30
58
|
readonly scopes: Schema.optionalKey<Schema.$Array<Schema.String>>;
|
|
59
|
+
readonly tokenResponse: Schema.optionalKey<Schema.Struct<{
|
|
60
|
+
readonly path: Schema.String;
|
|
61
|
+
}>>;
|
|
31
62
|
readonly grant: Schema.optionalKey<Schema.Literal<"authorization_code">>;
|
|
32
63
|
readonly authorizationParams: Schema.optionalKey<Schema.$Record<Schema.String, Schema.String>>;
|
|
33
64
|
readonly tokenEndpointAuthMethod: Schema.optionalKey<Schema.Literals<readonly ["none", "client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>>;
|
|
34
65
|
readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
|
|
66
|
+
readonly scopeSeparator: Schema.optionalKey<Schema.String>;
|
|
67
|
+
readonly tokenRequestFormat: Schema.optionalKey<Schema.Literals<readonly ["form", "json"]>>;
|
|
35
68
|
readonly type: Schema.Literal<"oauth2">;
|
|
36
69
|
}>, Schema.Struct<{
|
|
37
70
|
readonly response: Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>;
|
|
@@ -41,32 +74,41 @@ export declare const DeclaredAuthMethod: Schema.Union<readonly [Schema.Struct<{
|
|
|
41
74
|
readonly scopes: Schema.$Array<Schema.String>;
|
|
42
75
|
readonly issuer: Schema.optionalKey<Schema.String>;
|
|
43
76
|
readonly discover: Schema.optionalKey<Schema.Never>;
|
|
77
|
+
readonly tokenResponse: Schema.optionalKey<Schema.Struct<{
|
|
78
|
+
readonly path: Schema.String;
|
|
79
|
+
}>>;
|
|
44
80
|
readonly grant: Schema.optionalKey<Schema.Literal<"authorization_code">>;
|
|
45
81
|
readonly authorizationParams: Schema.optionalKey<Schema.$Record<Schema.String, Schema.String>>;
|
|
46
82
|
readonly tokenEndpointAuthMethod: Schema.optionalKey<Schema.Literals<readonly ["none", "client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>>;
|
|
47
83
|
readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
|
|
84
|
+
readonly scopeSeparator: Schema.optionalKey<Schema.String>;
|
|
85
|
+
readonly tokenRequestFormat: Schema.optionalKey<Schema.Literals<readonly ["form", "json"]>>;
|
|
48
86
|
readonly type: Schema.Literal<"oauth2">;
|
|
49
87
|
}>, Schema.Struct<{
|
|
50
88
|
readonly response: Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>;
|
|
89
|
+
readonly tokenEndpointAuthMethod: Schema.Literals<readonly ["client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>;
|
|
90
|
+
readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
|
|
91
|
+
readonly scopeSeparator: Schema.optionalKey<Schema.String>;
|
|
92
|
+
readonly tokenRequestFormat: Schema.optionalKey<Schema.Literals<readonly ["form", "json"]>>;
|
|
51
93
|
readonly grant: Schema.Literal<"client_credentials">;
|
|
52
94
|
readonly discover: Schema.String;
|
|
53
95
|
readonly authorizationUrl: Schema.optionalKey<Schema.Never>;
|
|
54
96
|
readonly tokenUrl: Schema.optionalKey<Schema.Never>;
|
|
55
97
|
readonly revocationUrl: Schema.optionalKey<Schema.Never>;
|
|
56
98
|
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
99
|
readonly type: Schema.Literal<"oauth2">;
|
|
60
100
|
}>, Schema.Struct<{
|
|
61
101
|
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
102
|
readonly tokenEndpointAuthMethod: Schema.Literals<readonly ["client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>;
|
|
67
103
|
readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
|
|
68
104
|
readonly authorizationUrl: Schema.optionalKey<Schema.Never>;
|
|
69
105
|
readonly discover: Schema.optionalKey<Schema.Never>;
|
|
106
|
+
readonly scopeSeparator: Schema.optionalKey<Schema.String>;
|
|
107
|
+
readonly tokenRequestFormat: Schema.optionalKey<Schema.Literals<readonly ["form", "json"]>>;
|
|
108
|
+
readonly grant: Schema.Literal<"client_credentials">;
|
|
109
|
+
readonly tokenUrl: Schema.String;
|
|
110
|
+
readonly revocationUrl: Schema.optionalKey<Schema.String>;
|
|
111
|
+
readonly scopes: Schema.$Array<Schema.String>;
|
|
70
112
|
readonly type: Schema.Literal<"oauth2">;
|
|
71
113
|
}>]>;
|
|
72
114
|
/** Serializable declaration of a provider's named authentication methods. */
|
|
@@ -83,10 +125,15 @@ export declare const DeclaredProvider: Schema.Struct<{
|
|
|
83
125
|
readonly tokenUrl: Schema.optionalKey<Schema.Never>;
|
|
84
126
|
readonly revocationUrl: Schema.optionalKey<Schema.Never>;
|
|
85
127
|
readonly scopes: Schema.optionalKey<Schema.$Array<Schema.String>>;
|
|
128
|
+
readonly tokenResponse: Schema.optionalKey<Schema.Struct<{
|
|
129
|
+
readonly path: Schema.String;
|
|
130
|
+
}>>;
|
|
86
131
|
readonly grant: Schema.optionalKey<Schema.Literal<"authorization_code">>;
|
|
87
132
|
readonly authorizationParams: Schema.optionalKey<Schema.$Record<Schema.String, Schema.String>>;
|
|
88
133
|
readonly tokenEndpointAuthMethod: Schema.optionalKey<Schema.Literals<readonly ["none", "client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>>;
|
|
89
134
|
readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
|
|
135
|
+
readonly scopeSeparator: Schema.optionalKey<Schema.String>;
|
|
136
|
+
readonly tokenRequestFormat: Schema.optionalKey<Schema.Literals<readonly ["form", "json"]>>;
|
|
90
137
|
readonly type: Schema.Literal<"oauth2">;
|
|
91
138
|
}>, Schema.Struct<{
|
|
92
139
|
readonly response: Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>;
|
|
@@ -96,32 +143,41 @@ export declare const DeclaredProvider: Schema.Struct<{
|
|
|
96
143
|
readonly scopes: Schema.$Array<Schema.String>;
|
|
97
144
|
readonly issuer: Schema.optionalKey<Schema.String>;
|
|
98
145
|
readonly discover: Schema.optionalKey<Schema.Never>;
|
|
146
|
+
readonly tokenResponse: Schema.optionalKey<Schema.Struct<{
|
|
147
|
+
readonly path: Schema.String;
|
|
148
|
+
}>>;
|
|
99
149
|
readonly grant: Schema.optionalKey<Schema.Literal<"authorization_code">>;
|
|
100
150
|
readonly authorizationParams: Schema.optionalKey<Schema.$Record<Schema.String, Schema.String>>;
|
|
101
151
|
readonly tokenEndpointAuthMethod: Schema.optionalKey<Schema.Literals<readonly ["none", "client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>>;
|
|
102
152
|
readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
|
|
153
|
+
readonly scopeSeparator: Schema.optionalKey<Schema.String>;
|
|
154
|
+
readonly tokenRequestFormat: Schema.optionalKey<Schema.Literals<readonly ["form", "json"]>>;
|
|
103
155
|
readonly type: Schema.Literal<"oauth2">;
|
|
104
156
|
}>, Schema.Struct<{
|
|
105
157
|
readonly response: Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>;
|
|
158
|
+
readonly tokenEndpointAuthMethod: Schema.Literals<readonly ["client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>;
|
|
159
|
+
readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
|
|
160
|
+
readonly scopeSeparator: Schema.optionalKey<Schema.String>;
|
|
161
|
+
readonly tokenRequestFormat: Schema.optionalKey<Schema.Literals<readonly ["form", "json"]>>;
|
|
106
162
|
readonly grant: Schema.Literal<"client_credentials">;
|
|
107
163
|
readonly discover: Schema.String;
|
|
108
164
|
readonly authorizationUrl: Schema.optionalKey<Schema.Never>;
|
|
109
165
|
readonly tokenUrl: Schema.optionalKey<Schema.Never>;
|
|
110
166
|
readonly revocationUrl: Schema.optionalKey<Schema.Never>;
|
|
111
167
|
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
168
|
readonly type: Schema.Literal<"oauth2">;
|
|
115
169
|
}>, Schema.Struct<{
|
|
116
170
|
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
171
|
readonly tokenEndpointAuthMethod: Schema.Literals<readonly ["client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>;
|
|
122
172
|
readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
|
|
123
173
|
readonly authorizationUrl: Schema.optionalKey<Schema.Never>;
|
|
124
174
|
readonly discover: Schema.optionalKey<Schema.Never>;
|
|
175
|
+
readonly scopeSeparator: Schema.optionalKey<Schema.String>;
|
|
176
|
+
readonly tokenRequestFormat: Schema.optionalKey<Schema.Literals<readonly ["form", "json"]>>;
|
|
177
|
+
readonly grant: Schema.Literal<"client_credentials">;
|
|
178
|
+
readonly tokenUrl: Schema.String;
|
|
179
|
+
readonly revocationUrl: Schema.optionalKey<Schema.String>;
|
|
180
|
+
readonly scopes: Schema.$Array<Schema.String>;
|
|
125
181
|
readonly type: Schema.Literal<"oauth2">;
|
|
126
182
|
}>]>>;
|
|
127
183
|
}>;
|
|
@@ -165,10 +221,15 @@ export declare const DeclaredRequirements: Schema.Struct<{
|
|
|
165
221
|
readonly tokenUrl: Schema.optionalKey<Schema.Never>;
|
|
166
222
|
readonly revocationUrl: Schema.optionalKey<Schema.Never>;
|
|
167
223
|
readonly scopes: Schema.optionalKey<Schema.$Array<Schema.String>>;
|
|
224
|
+
readonly tokenResponse: Schema.optionalKey<Schema.Struct<{
|
|
225
|
+
readonly path: Schema.String;
|
|
226
|
+
}>>;
|
|
168
227
|
readonly grant: Schema.optionalKey<Schema.Literal<"authorization_code">>;
|
|
169
228
|
readonly authorizationParams: Schema.optionalKey<Schema.$Record<Schema.String, Schema.String>>;
|
|
170
229
|
readonly tokenEndpointAuthMethod: Schema.optionalKey<Schema.Literals<readonly ["none", "client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>>;
|
|
171
230
|
readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
|
|
231
|
+
readonly scopeSeparator: Schema.optionalKey<Schema.String>;
|
|
232
|
+
readonly tokenRequestFormat: Schema.optionalKey<Schema.Literals<readonly ["form", "json"]>>;
|
|
172
233
|
readonly type: Schema.Literal<"oauth2">;
|
|
173
234
|
}>, Schema.Struct<{
|
|
174
235
|
readonly response: Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>;
|
|
@@ -178,32 +239,41 @@ export declare const DeclaredRequirements: Schema.Struct<{
|
|
|
178
239
|
readonly scopes: Schema.$Array<Schema.String>;
|
|
179
240
|
readonly issuer: Schema.optionalKey<Schema.String>;
|
|
180
241
|
readonly discover: Schema.optionalKey<Schema.Never>;
|
|
242
|
+
readonly tokenResponse: Schema.optionalKey<Schema.Struct<{
|
|
243
|
+
readonly path: Schema.String;
|
|
244
|
+
}>>;
|
|
181
245
|
readonly grant: Schema.optionalKey<Schema.Literal<"authorization_code">>;
|
|
182
246
|
readonly authorizationParams: Schema.optionalKey<Schema.$Record<Schema.String, Schema.String>>;
|
|
183
247
|
readonly tokenEndpointAuthMethod: Schema.optionalKey<Schema.Literals<readonly ["none", "client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>>;
|
|
184
248
|
readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
|
|
249
|
+
readonly scopeSeparator: Schema.optionalKey<Schema.String>;
|
|
250
|
+
readonly tokenRequestFormat: Schema.optionalKey<Schema.Literals<readonly ["form", "json"]>>;
|
|
185
251
|
readonly type: Schema.Literal<"oauth2">;
|
|
186
252
|
}>, Schema.Struct<{
|
|
187
253
|
readonly response: Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>;
|
|
254
|
+
readonly tokenEndpointAuthMethod: Schema.Literals<readonly ["client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>;
|
|
255
|
+
readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
|
|
256
|
+
readonly scopeSeparator: Schema.optionalKey<Schema.String>;
|
|
257
|
+
readonly tokenRequestFormat: Schema.optionalKey<Schema.Literals<readonly ["form", "json"]>>;
|
|
188
258
|
readonly grant: Schema.Literal<"client_credentials">;
|
|
189
259
|
readonly discover: Schema.String;
|
|
190
260
|
readonly authorizationUrl: Schema.optionalKey<Schema.Never>;
|
|
191
261
|
readonly tokenUrl: Schema.optionalKey<Schema.Never>;
|
|
192
262
|
readonly revocationUrl: Schema.optionalKey<Schema.Never>;
|
|
193
263
|
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
264
|
readonly type: Schema.Literal<"oauth2">;
|
|
197
265
|
}>, Schema.Struct<{
|
|
198
266
|
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
267
|
readonly tokenEndpointAuthMethod: Schema.Literals<readonly ["client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>;
|
|
204
268
|
readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
|
|
205
269
|
readonly authorizationUrl: Schema.optionalKey<Schema.Never>;
|
|
206
270
|
readonly discover: Schema.optionalKey<Schema.Never>;
|
|
271
|
+
readonly scopeSeparator: Schema.optionalKey<Schema.String>;
|
|
272
|
+
readonly tokenRequestFormat: Schema.optionalKey<Schema.Literals<readonly ["form", "json"]>>;
|
|
273
|
+
readonly grant: Schema.Literal<"client_credentials">;
|
|
274
|
+
readonly tokenUrl: Schema.String;
|
|
275
|
+
readonly revocationUrl: Schema.optionalKey<Schema.String>;
|
|
276
|
+
readonly scopes: Schema.$Array<Schema.String>;
|
|
207
277
|
readonly type: Schema.Literal<"oauth2">;
|
|
208
278
|
}>]>>;
|
|
209
279
|
}>;
|
|
@@ -228,10 +298,15 @@ export declare const ResolvedAccount: Schema.Struct<{
|
|
|
228
298
|
readonly tokenUrl: Schema.optionalKey<Schema.Never>;
|
|
229
299
|
readonly revocationUrl: Schema.optionalKey<Schema.Never>;
|
|
230
300
|
readonly scopes: Schema.optionalKey<Schema.$Array<Schema.String>>;
|
|
301
|
+
readonly tokenResponse: Schema.optionalKey<Schema.Struct<{
|
|
302
|
+
readonly path: Schema.String;
|
|
303
|
+
}>>;
|
|
231
304
|
readonly grant: Schema.optionalKey<Schema.Literal<"authorization_code">>;
|
|
232
305
|
readonly authorizationParams: Schema.optionalKey<Schema.$Record<Schema.String, Schema.String>>;
|
|
233
306
|
readonly tokenEndpointAuthMethod: Schema.optionalKey<Schema.Literals<readonly ["none", "client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>>;
|
|
234
307
|
readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
|
|
308
|
+
readonly scopeSeparator: Schema.optionalKey<Schema.String>;
|
|
309
|
+
readonly tokenRequestFormat: Schema.optionalKey<Schema.Literals<readonly ["form", "json"]>>;
|
|
235
310
|
readonly type: Schema.Literal<"oauth2">;
|
|
236
311
|
}>, Schema.Struct<{
|
|
237
312
|
readonly response: Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>;
|
|
@@ -241,32 +316,41 @@ export declare const ResolvedAccount: Schema.Struct<{
|
|
|
241
316
|
readonly scopes: Schema.$Array<Schema.String>;
|
|
242
317
|
readonly issuer: Schema.optionalKey<Schema.String>;
|
|
243
318
|
readonly discover: Schema.optionalKey<Schema.Never>;
|
|
319
|
+
readonly tokenResponse: Schema.optionalKey<Schema.Struct<{
|
|
320
|
+
readonly path: Schema.String;
|
|
321
|
+
}>>;
|
|
244
322
|
readonly grant: Schema.optionalKey<Schema.Literal<"authorization_code">>;
|
|
245
323
|
readonly authorizationParams: Schema.optionalKey<Schema.$Record<Schema.String, Schema.String>>;
|
|
246
324
|
readonly tokenEndpointAuthMethod: Schema.optionalKey<Schema.Literals<readonly ["none", "client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>>;
|
|
247
325
|
readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
|
|
326
|
+
readonly scopeSeparator: Schema.optionalKey<Schema.String>;
|
|
327
|
+
readonly tokenRequestFormat: Schema.optionalKey<Schema.Literals<readonly ["form", "json"]>>;
|
|
248
328
|
readonly type: Schema.Literal<"oauth2">;
|
|
249
329
|
}>, Schema.Struct<{
|
|
250
330
|
readonly response: Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>;
|
|
331
|
+
readonly tokenEndpointAuthMethod: Schema.Literals<readonly ["client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>;
|
|
332
|
+
readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
|
|
333
|
+
readonly scopeSeparator: Schema.optionalKey<Schema.String>;
|
|
334
|
+
readonly tokenRequestFormat: Schema.optionalKey<Schema.Literals<readonly ["form", "json"]>>;
|
|
251
335
|
readonly grant: Schema.Literal<"client_credentials">;
|
|
252
336
|
readonly discover: Schema.String;
|
|
253
337
|
readonly authorizationUrl: Schema.optionalKey<Schema.Never>;
|
|
254
338
|
readonly tokenUrl: Schema.optionalKey<Schema.Never>;
|
|
255
339
|
readonly revocationUrl: Schema.optionalKey<Schema.Never>;
|
|
256
340
|
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
341
|
readonly type: Schema.Literal<"oauth2">;
|
|
260
342
|
}>, Schema.Struct<{
|
|
261
343
|
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
344
|
readonly tokenEndpointAuthMethod: Schema.Literals<readonly ["client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>;
|
|
267
345
|
readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
|
|
268
346
|
readonly authorizationUrl: Schema.optionalKey<Schema.Never>;
|
|
269
347
|
readonly discover: Schema.optionalKey<Schema.Never>;
|
|
348
|
+
readonly scopeSeparator: Schema.optionalKey<Schema.String>;
|
|
349
|
+
readonly tokenRequestFormat: Schema.optionalKey<Schema.Literals<readonly ["form", "json"]>>;
|
|
350
|
+
readonly grant: Schema.Literal<"client_credentials">;
|
|
351
|
+
readonly tokenUrl: Schema.String;
|
|
352
|
+
readonly revocationUrl: Schema.optionalKey<Schema.String>;
|
|
353
|
+
readonly scopes: Schema.$Array<Schema.String>;
|
|
270
354
|
readonly type: Schema.Literal<"oauth2">;
|
|
271
355
|
}>]>>;
|
|
272
356
|
}>;
|
|
@@ -296,10 +380,15 @@ export declare const ResolvedAccounts: Schema.$Record<Schema.NonEmptyString, Sch
|
|
|
296
380
|
readonly tokenUrl: Schema.optionalKey<Schema.Never>;
|
|
297
381
|
readonly revocationUrl: Schema.optionalKey<Schema.Never>;
|
|
298
382
|
readonly scopes: Schema.optionalKey<Schema.$Array<Schema.String>>;
|
|
383
|
+
readonly tokenResponse: Schema.optionalKey<Schema.Struct<{
|
|
384
|
+
readonly path: Schema.String;
|
|
385
|
+
}>>;
|
|
299
386
|
readonly grant: Schema.optionalKey<Schema.Literal<"authorization_code">>;
|
|
300
387
|
readonly authorizationParams: Schema.optionalKey<Schema.$Record<Schema.String, Schema.String>>;
|
|
301
388
|
readonly tokenEndpointAuthMethod: Schema.optionalKey<Schema.Literals<readonly ["none", "client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>>;
|
|
302
389
|
readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
|
|
390
|
+
readonly scopeSeparator: Schema.optionalKey<Schema.String>;
|
|
391
|
+
readonly tokenRequestFormat: Schema.optionalKey<Schema.Literals<readonly ["form", "json"]>>;
|
|
303
392
|
readonly type: Schema.Literal<"oauth2">;
|
|
304
393
|
}>, Schema.Struct<{
|
|
305
394
|
readonly response: Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>;
|
|
@@ -309,32 +398,41 @@ export declare const ResolvedAccounts: Schema.$Record<Schema.NonEmptyString, Sch
|
|
|
309
398
|
readonly scopes: Schema.$Array<Schema.String>;
|
|
310
399
|
readonly issuer: Schema.optionalKey<Schema.String>;
|
|
311
400
|
readonly discover: Schema.optionalKey<Schema.Never>;
|
|
401
|
+
readonly tokenResponse: Schema.optionalKey<Schema.Struct<{
|
|
402
|
+
readonly path: Schema.String;
|
|
403
|
+
}>>;
|
|
312
404
|
readonly grant: Schema.optionalKey<Schema.Literal<"authorization_code">>;
|
|
313
405
|
readonly authorizationParams: Schema.optionalKey<Schema.$Record<Schema.String, Schema.String>>;
|
|
314
406
|
readonly tokenEndpointAuthMethod: Schema.optionalKey<Schema.Literals<readonly ["none", "client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>>;
|
|
315
407
|
readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
|
|
408
|
+
readonly scopeSeparator: Schema.optionalKey<Schema.String>;
|
|
409
|
+
readonly tokenRequestFormat: Schema.optionalKey<Schema.Literals<readonly ["form", "json"]>>;
|
|
316
410
|
readonly type: Schema.Literal<"oauth2">;
|
|
317
411
|
}>, Schema.Struct<{
|
|
318
412
|
readonly response: Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>;
|
|
413
|
+
readonly tokenEndpointAuthMethod: Schema.Literals<readonly ["client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>;
|
|
414
|
+
readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
|
|
415
|
+
readonly scopeSeparator: Schema.optionalKey<Schema.String>;
|
|
416
|
+
readonly tokenRequestFormat: Schema.optionalKey<Schema.Literals<readonly ["form", "json"]>>;
|
|
319
417
|
readonly grant: Schema.Literal<"client_credentials">;
|
|
320
418
|
readonly discover: Schema.String;
|
|
321
419
|
readonly authorizationUrl: Schema.optionalKey<Schema.Never>;
|
|
322
420
|
readonly tokenUrl: Schema.optionalKey<Schema.Never>;
|
|
323
421
|
readonly revocationUrl: Schema.optionalKey<Schema.Never>;
|
|
324
422
|
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
423
|
readonly type: Schema.Literal<"oauth2">;
|
|
328
424
|
}>, Schema.Struct<{
|
|
329
425
|
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
426
|
readonly tokenEndpointAuthMethod: Schema.Literals<readonly ["client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>;
|
|
335
427
|
readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
|
|
336
428
|
readonly authorizationUrl: Schema.optionalKey<Schema.Never>;
|
|
337
429
|
readonly discover: Schema.optionalKey<Schema.Never>;
|
|
430
|
+
readonly scopeSeparator: Schema.optionalKey<Schema.String>;
|
|
431
|
+
readonly tokenRequestFormat: Schema.optionalKey<Schema.Literals<readonly ["form", "json"]>>;
|
|
432
|
+
readonly grant: Schema.Literal<"client_credentials">;
|
|
433
|
+
readonly tokenUrl: Schema.String;
|
|
434
|
+
readonly revocationUrl: Schema.optionalKey<Schema.String>;
|
|
435
|
+
readonly scopes: Schema.$Array<Schema.String>;
|
|
338
436
|
readonly type: Schema.Literal<"oauth2">;
|
|
339
437
|
}>]>>;
|
|
340
438
|
}>;
|
|
@@ -360,10 +458,15 @@ export declare const ResolvedAccounts: Schema.$Record<Schema.NonEmptyString, Sch
|
|
|
360
458
|
readonly tokenUrl: Schema.optionalKey<Schema.Never>;
|
|
361
459
|
readonly revocationUrl: Schema.optionalKey<Schema.Never>;
|
|
362
460
|
readonly scopes: Schema.optionalKey<Schema.$Array<Schema.String>>;
|
|
461
|
+
readonly tokenResponse: Schema.optionalKey<Schema.Struct<{
|
|
462
|
+
readonly path: Schema.String;
|
|
463
|
+
}>>;
|
|
363
464
|
readonly grant: Schema.optionalKey<Schema.Literal<"authorization_code">>;
|
|
364
465
|
readonly authorizationParams: Schema.optionalKey<Schema.$Record<Schema.String, Schema.String>>;
|
|
365
466
|
readonly tokenEndpointAuthMethod: Schema.optionalKey<Schema.Literals<readonly ["none", "client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>>;
|
|
366
467
|
readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
|
|
468
|
+
readonly scopeSeparator: Schema.optionalKey<Schema.String>;
|
|
469
|
+
readonly tokenRequestFormat: Schema.optionalKey<Schema.Literals<readonly ["form", "json"]>>;
|
|
367
470
|
readonly type: Schema.Literal<"oauth2">;
|
|
368
471
|
}>, Schema.Struct<{
|
|
369
472
|
readonly response: Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>;
|
|
@@ -373,32 +476,41 @@ export declare const ResolvedAccounts: Schema.$Record<Schema.NonEmptyString, Sch
|
|
|
373
476
|
readonly scopes: Schema.$Array<Schema.String>;
|
|
374
477
|
readonly issuer: Schema.optionalKey<Schema.String>;
|
|
375
478
|
readonly discover: Schema.optionalKey<Schema.Never>;
|
|
479
|
+
readonly tokenResponse: Schema.optionalKey<Schema.Struct<{
|
|
480
|
+
readonly path: Schema.String;
|
|
481
|
+
}>>;
|
|
376
482
|
readonly grant: Schema.optionalKey<Schema.Literal<"authorization_code">>;
|
|
377
483
|
readonly authorizationParams: Schema.optionalKey<Schema.$Record<Schema.String, Schema.String>>;
|
|
378
484
|
readonly tokenEndpointAuthMethod: Schema.optionalKey<Schema.Literals<readonly ["none", "client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>>;
|
|
379
485
|
readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
|
|
486
|
+
readonly scopeSeparator: Schema.optionalKey<Schema.String>;
|
|
487
|
+
readonly tokenRequestFormat: Schema.optionalKey<Schema.Literals<readonly ["form", "json"]>>;
|
|
380
488
|
readonly type: Schema.Literal<"oauth2">;
|
|
381
489
|
}>, Schema.Struct<{
|
|
382
490
|
readonly response: Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>;
|
|
491
|
+
readonly tokenEndpointAuthMethod: Schema.Literals<readonly ["client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>;
|
|
492
|
+
readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
|
|
493
|
+
readonly scopeSeparator: Schema.optionalKey<Schema.String>;
|
|
494
|
+
readonly tokenRequestFormat: Schema.optionalKey<Schema.Literals<readonly ["form", "json"]>>;
|
|
383
495
|
readonly grant: Schema.Literal<"client_credentials">;
|
|
384
496
|
readonly discover: Schema.String;
|
|
385
497
|
readonly authorizationUrl: Schema.optionalKey<Schema.Never>;
|
|
386
498
|
readonly tokenUrl: Schema.optionalKey<Schema.Never>;
|
|
387
499
|
readonly revocationUrl: Schema.optionalKey<Schema.Never>;
|
|
388
500
|
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
501
|
readonly type: Schema.Literal<"oauth2">;
|
|
392
502
|
}>, Schema.Struct<{
|
|
393
503
|
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
504
|
readonly tokenEndpointAuthMethod: Schema.Literals<readonly ["client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>;
|
|
399
505
|
readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
|
|
400
506
|
readonly authorizationUrl: Schema.optionalKey<Schema.Never>;
|
|
401
507
|
readonly discover: Schema.optionalKey<Schema.Never>;
|
|
508
|
+
readonly scopeSeparator: Schema.optionalKey<Schema.String>;
|
|
509
|
+
readonly tokenRequestFormat: Schema.optionalKey<Schema.Literals<readonly ["form", "json"]>>;
|
|
510
|
+
readonly grant: Schema.Literal<"client_credentials">;
|
|
511
|
+
readonly tokenUrl: Schema.String;
|
|
512
|
+
readonly revocationUrl: Schema.optionalKey<Schema.String>;
|
|
513
|
+
readonly scopes: Schema.$Array<Schema.String>;
|
|
402
514
|
readonly type: Schema.Literal<"oauth2">;
|
|
403
515
|
}>]>>;
|
|
404
516
|
}>;
|
|
@@ -814,10 +926,15 @@ export declare const HostInvocation: Schema.Struct<{
|
|
|
814
926
|
readonly tokenUrl: Schema.optionalKey<Schema.Never>;
|
|
815
927
|
readonly revocationUrl: Schema.optionalKey<Schema.Never>;
|
|
816
928
|
readonly scopes: Schema.optionalKey<Schema.$Array<Schema.String>>;
|
|
929
|
+
readonly tokenResponse: Schema.optionalKey<Schema.Struct<{
|
|
930
|
+
readonly path: Schema.String;
|
|
931
|
+
}>>;
|
|
817
932
|
readonly grant: Schema.optionalKey<Schema.Literal<"authorization_code">>;
|
|
818
933
|
readonly authorizationParams: Schema.optionalKey<Schema.$Record<Schema.String, Schema.String>>;
|
|
819
934
|
readonly tokenEndpointAuthMethod: Schema.optionalKey<Schema.Literals<readonly ["none", "client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>>;
|
|
820
935
|
readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
|
|
936
|
+
readonly scopeSeparator: Schema.optionalKey<Schema.String>;
|
|
937
|
+
readonly tokenRequestFormat: Schema.optionalKey<Schema.Literals<readonly ["form", "json"]>>;
|
|
821
938
|
readonly type: Schema.Literal<"oauth2">;
|
|
822
939
|
}>, Schema.Struct<{
|
|
823
940
|
readonly response: Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>;
|
|
@@ -827,32 +944,41 @@ export declare const HostInvocation: Schema.Struct<{
|
|
|
827
944
|
readonly scopes: Schema.$Array<Schema.String>;
|
|
828
945
|
readonly issuer: Schema.optionalKey<Schema.String>;
|
|
829
946
|
readonly discover: Schema.optionalKey<Schema.Never>;
|
|
947
|
+
readonly tokenResponse: Schema.optionalKey<Schema.Struct<{
|
|
948
|
+
readonly path: Schema.String;
|
|
949
|
+
}>>;
|
|
830
950
|
readonly grant: Schema.optionalKey<Schema.Literal<"authorization_code">>;
|
|
831
951
|
readonly authorizationParams: Schema.optionalKey<Schema.$Record<Schema.String, Schema.String>>;
|
|
832
952
|
readonly tokenEndpointAuthMethod: Schema.optionalKey<Schema.Literals<readonly ["none", "client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>>;
|
|
833
953
|
readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
|
|
954
|
+
readonly scopeSeparator: Schema.optionalKey<Schema.String>;
|
|
955
|
+
readonly tokenRequestFormat: Schema.optionalKey<Schema.Literals<readonly ["form", "json"]>>;
|
|
834
956
|
readonly type: Schema.Literal<"oauth2">;
|
|
835
957
|
}>, Schema.Struct<{
|
|
836
958
|
readonly response: Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>;
|
|
959
|
+
readonly tokenEndpointAuthMethod: Schema.Literals<readonly ["client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>;
|
|
960
|
+
readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
|
|
961
|
+
readonly scopeSeparator: Schema.optionalKey<Schema.String>;
|
|
962
|
+
readonly tokenRequestFormat: Schema.optionalKey<Schema.Literals<readonly ["form", "json"]>>;
|
|
837
963
|
readonly grant: Schema.Literal<"client_credentials">;
|
|
838
964
|
readonly discover: Schema.String;
|
|
839
965
|
readonly authorizationUrl: Schema.optionalKey<Schema.Never>;
|
|
840
966
|
readonly tokenUrl: Schema.optionalKey<Schema.Never>;
|
|
841
967
|
readonly revocationUrl: Schema.optionalKey<Schema.Never>;
|
|
842
968
|
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
969
|
readonly type: Schema.Literal<"oauth2">;
|
|
846
970
|
}>, Schema.Struct<{
|
|
847
971
|
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
972
|
readonly tokenEndpointAuthMethod: Schema.Literals<readonly ["client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>;
|
|
853
973
|
readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
|
|
854
974
|
readonly authorizationUrl: Schema.optionalKey<Schema.Never>;
|
|
855
975
|
readonly discover: Schema.optionalKey<Schema.Never>;
|
|
976
|
+
readonly scopeSeparator: Schema.optionalKey<Schema.String>;
|
|
977
|
+
readonly tokenRequestFormat: Schema.optionalKey<Schema.Literals<readonly ["form", "json"]>>;
|
|
978
|
+
readonly grant: Schema.Literal<"client_credentials">;
|
|
979
|
+
readonly tokenUrl: Schema.String;
|
|
980
|
+
readonly revocationUrl: Schema.optionalKey<Schema.String>;
|
|
981
|
+
readonly scopes: Schema.$Array<Schema.String>;
|
|
856
982
|
readonly type: Schema.Literal<"oauth2">;
|
|
857
983
|
}>]>>;
|
|
858
984
|
}>;
|
|
@@ -878,10 +1004,15 @@ export declare const HostInvocation: Schema.Struct<{
|
|
|
878
1004
|
readonly tokenUrl: Schema.optionalKey<Schema.Never>;
|
|
879
1005
|
readonly revocationUrl: Schema.optionalKey<Schema.Never>;
|
|
880
1006
|
readonly scopes: Schema.optionalKey<Schema.$Array<Schema.String>>;
|
|
1007
|
+
readonly tokenResponse: Schema.optionalKey<Schema.Struct<{
|
|
1008
|
+
readonly path: Schema.String;
|
|
1009
|
+
}>>;
|
|
881
1010
|
readonly grant: Schema.optionalKey<Schema.Literal<"authorization_code">>;
|
|
882
1011
|
readonly authorizationParams: Schema.optionalKey<Schema.$Record<Schema.String, Schema.String>>;
|
|
883
1012
|
readonly tokenEndpointAuthMethod: Schema.optionalKey<Schema.Literals<readonly ["none", "client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>>;
|
|
884
1013
|
readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
|
|
1014
|
+
readonly scopeSeparator: Schema.optionalKey<Schema.String>;
|
|
1015
|
+
readonly tokenRequestFormat: Schema.optionalKey<Schema.Literals<readonly ["form", "json"]>>;
|
|
885
1016
|
readonly type: Schema.Literal<"oauth2">;
|
|
886
1017
|
}>, Schema.Struct<{
|
|
887
1018
|
readonly response: Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>;
|
|
@@ -891,32 +1022,41 @@ export declare const HostInvocation: Schema.Struct<{
|
|
|
891
1022
|
readonly scopes: Schema.$Array<Schema.String>;
|
|
892
1023
|
readonly issuer: Schema.optionalKey<Schema.String>;
|
|
893
1024
|
readonly discover: Schema.optionalKey<Schema.Never>;
|
|
1025
|
+
readonly tokenResponse: Schema.optionalKey<Schema.Struct<{
|
|
1026
|
+
readonly path: Schema.String;
|
|
1027
|
+
}>>;
|
|
894
1028
|
readonly grant: Schema.optionalKey<Schema.Literal<"authorization_code">>;
|
|
895
1029
|
readonly authorizationParams: Schema.optionalKey<Schema.$Record<Schema.String, Schema.String>>;
|
|
896
1030
|
readonly tokenEndpointAuthMethod: Schema.optionalKey<Schema.Literals<readonly ["none", "client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>>;
|
|
897
1031
|
readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
|
|
1032
|
+
readonly scopeSeparator: Schema.optionalKey<Schema.String>;
|
|
1033
|
+
readonly tokenRequestFormat: Schema.optionalKey<Schema.Literals<readonly ["form", "json"]>>;
|
|
898
1034
|
readonly type: Schema.Literal<"oauth2">;
|
|
899
1035
|
}>, Schema.Struct<{
|
|
900
1036
|
readonly response: Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>;
|
|
1037
|
+
readonly tokenEndpointAuthMethod: Schema.Literals<readonly ["client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>;
|
|
1038
|
+
readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
|
|
1039
|
+
readonly scopeSeparator: Schema.optionalKey<Schema.String>;
|
|
1040
|
+
readonly tokenRequestFormat: Schema.optionalKey<Schema.Literals<readonly ["form", "json"]>>;
|
|
901
1041
|
readonly grant: Schema.Literal<"client_credentials">;
|
|
902
1042
|
readonly discover: Schema.String;
|
|
903
1043
|
readonly authorizationUrl: Schema.optionalKey<Schema.Never>;
|
|
904
1044
|
readonly tokenUrl: Schema.optionalKey<Schema.Never>;
|
|
905
1045
|
readonly revocationUrl: Schema.optionalKey<Schema.Never>;
|
|
906
1046
|
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
1047
|
readonly type: Schema.Literal<"oauth2">;
|
|
910
1048
|
}>, Schema.Struct<{
|
|
911
1049
|
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
1050
|
readonly tokenEndpointAuthMethod: Schema.Literals<readonly ["client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>;
|
|
917
1051
|
readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
|
|
918
1052
|
readonly authorizationUrl: Schema.optionalKey<Schema.Never>;
|
|
919
1053
|
readonly discover: Schema.optionalKey<Schema.Never>;
|
|
1054
|
+
readonly scopeSeparator: Schema.optionalKey<Schema.String>;
|
|
1055
|
+
readonly tokenRequestFormat: Schema.optionalKey<Schema.Literals<readonly ["form", "json"]>>;
|
|
1056
|
+
readonly grant: Schema.Literal<"client_credentials">;
|
|
1057
|
+
readonly tokenUrl: Schema.String;
|
|
1058
|
+
readonly revocationUrl: Schema.optionalKey<Schema.String>;
|
|
1059
|
+
readonly scopes: Schema.$Array<Schema.String>;
|
|
920
1060
|
readonly type: Schema.Literal<"oauth2">;
|
|
921
1061
|
}>]>>;
|
|
922
1062
|
}>;
|
|
@@ -1051,10 +1191,15 @@ export declare const protocol1: {
|
|
|
1051
1191
|
readonly tokenUrl: Schema.optionalKey<Schema.Never>;
|
|
1052
1192
|
readonly revocationUrl: Schema.optionalKey<Schema.Never>;
|
|
1053
1193
|
readonly scopes: Schema.optionalKey<Schema.$Array<Schema.String>>;
|
|
1194
|
+
readonly tokenResponse: Schema.optionalKey<Schema.Struct<{
|
|
1195
|
+
readonly path: Schema.String;
|
|
1196
|
+
}>>;
|
|
1054
1197
|
readonly grant: Schema.optionalKey<Schema.Literal<"authorization_code">>;
|
|
1055
1198
|
readonly authorizationParams: Schema.optionalKey<Schema.$Record<Schema.String, Schema.String>>;
|
|
1056
1199
|
readonly tokenEndpointAuthMethod: Schema.optionalKey<Schema.Literals<readonly ["none", "client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>>;
|
|
1057
1200
|
readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
|
|
1201
|
+
readonly scopeSeparator: Schema.optionalKey<Schema.String>;
|
|
1202
|
+
readonly tokenRequestFormat: Schema.optionalKey<Schema.Literals<readonly ["form", "json"]>>;
|
|
1058
1203
|
readonly type: Schema.Literal<"oauth2">;
|
|
1059
1204
|
}>, Schema.Struct<{
|
|
1060
1205
|
readonly response: Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>;
|
|
@@ -1064,32 +1209,41 @@ export declare const protocol1: {
|
|
|
1064
1209
|
readonly scopes: Schema.$Array<Schema.String>;
|
|
1065
1210
|
readonly issuer: Schema.optionalKey<Schema.String>;
|
|
1066
1211
|
readonly discover: Schema.optionalKey<Schema.Never>;
|
|
1212
|
+
readonly tokenResponse: Schema.optionalKey<Schema.Struct<{
|
|
1213
|
+
readonly path: Schema.String;
|
|
1214
|
+
}>>;
|
|
1067
1215
|
readonly grant: Schema.optionalKey<Schema.Literal<"authorization_code">>;
|
|
1068
1216
|
readonly authorizationParams: Schema.optionalKey<Schema.$Record<Schema.String, Schema.String>>;
|
|
1069
1217
|
readonly tokenEndpointAuthMethod: Schema.optionalKey<Schema.Literals<readonly ["none", "client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>>;
|
|
1070
1218
|
readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
|
|
1219
|
+
readonly scopeSeparator: Schema.optionalKey<Schema.String>;
|
|
1220
|
+
readonly tokenRequestFormat: Schema.optionalKey<Schema.Literals<readonly ["form", "json"]>>;
|
|
1071
1221
|
readonly type: Schema.Literal<"oauth2">;
|
|
1072
1222
|
}>, Schema.Struct<{
|
|
1073
1223
|
readonly response: Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>;
|
|
1224
|
+
readonly tokenEndpointAuthMethod: Schema.Literals<readonly ["client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>;
|
|
1225
|
+
readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
|
|
1226
|
+
readonly scopeSeparator: Schema.optionalKey<Schema.String>;
|
|
1227
|
+
readonly tokenRequestFormat: Schema.optionalKey<Schema.Literals<readonly ["form", "json"]>>;
|
|
1074
1228
|
readonly grant: Schema.Literal<"client_credentials">;
|
|
1075
1229
|
readonly discover: Schema.String;
|
|
1076
1230
|
readonly authorizationUrl: Schema.optionalKey<Schema.Never>;
|
|
1077
1231
|
readonly tokenUrl: Schema.optionalKey<Schema.Never>;
|
|
1078
1232
|
readonly revocationUrl: Schema.optionalKey<Schema.Never>;
|
|
1079
1233
|
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
1234
|
readonly type: Schema.Literal<"oauth2">;
|
|
1083
1235
|
}>, Schema.Struct<{
|
|
1084
1236
|
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
1237
|
readonly tokenEndpointAuthMethod: Schema.Literals<readonly ["client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>;
|
|
1090
1238
|
readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
|
|
1091
1239
|
readonly authorizationUrl: Schema.optionalKey<Schema.Never>;
|
|
1092
1240
|
readonly discover: Schema.optionalKey<Schema.Never>;
|
|
1241
|
+
readonly scopeSeparator: Schema.optionalKey<Schema.String>;
|
|
1242
|
+
readonly tokenRequestFormat: Schema.optionalKey<Schema.Literals<readonly ["form", "json"]>>;
|
|
1243
|
+
readonly grant: Schema.Literal<"client_credentials">;
|
|
1244
|
+
readonly tokenUrl: Schema.String;
|
|
1245
|
+
readonly revocationUrl: Schema.optionalKey<Schema.String>;
|
|
1246
|
+
readonly scopes: Schema.$Array<Schema.String>;
|
|
1093
1247
|
readonly type: Schema.Literal<"oauth2">;
|
|
1094
1248
|
}>]>>;
|
|
1095
1249
|
}>;
|
|
@@ -1115,10 +1269,15 @@ export declare const protocol1: {
|
|
|
1115
1269
|
readonly tokenUrl: Schema.optionalKey<Schema.Never>;
|
|
1116
1270
|
readonly revocationUrl: Schema.optionalKey<Schema.Never>;
|
|
1117
1271
|
readonly scopes: Schema.optionalKey<Schema.$Array<Schema.String>>;
|
|
1272
|
+
readonly tokenResponse: Schema.optionalKey<Schema.Struct<{
|
|
1273
|
+
readonly path: Schema.String;
|
|
1274
|
+
}>>;
|
|
1118
1275
|
readonly grant: Schema.optionalKey<Schema.Literal<"authorization_code">>;
|
|
1119
1276
|
readonly authorizationParams: Schema.optionalKey<Schema.$Record<Schema.String, Schema.String>>;
|
|
1120
1277
|
readonly tokenEndpointAuthMethod: Schema.optionalKey<Schema.Literals<readonly ["none", "client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>>;
|
|
1121
1278
|
readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
|
|
1279
|
+
readonly scopeSeparator: Schema.optionalKey<Schema.String>;
|
|
1280
|
+
readonly tokenRequestFormat: Schema.optionalKey<Schema.Literals<readonly ["form", "json"]>>;
|
|
1122
1281
|
readonly type: Schema.Literal<"oauth2">;
|
|
1123
1282
|
}>, Schema.Struct<{
|
|
1124
1283
|
readonly response: Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>;
|
|
@@ -1128,32 +1287,41 @@ export declare const protocol1: {
|
|
|
1128
1287
|
readonly scopes: Schema.$Array<Schema.String>;
|
|
1129
1288
|
readonly issuer: Schema.optionalKey<Schema.String>;
|
|
1130
1289
|
readonly discover: Schema.optionalKey<Schema.Never>;
|
|
1290
|
+
readonly tokenResponse: Schema.optionalKey<Schema.Struct<{
|
|
1291
|
+
readonly path: Schema.String;
|
|
1292
|
+
}>>;
|
|
1131
1293
|
readonly grant: Schema.optionalKey<Schema.Literal<"authorization_code">>;
|
|
1132
1294
|
readonly authorizationParams: Schema.optionalKey<Schema.$Record<Schema.String, Schema.String>>;
|
|
1133
1295
|
readonly tokenEndpointAuthMethod: Schema.optionalKey<Schema.Literals<readonly ["none", "client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>>;
|
|
1134
1296
|
readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
|
|
1297
|
+
readonly scopeSeparator: Schema.optionalKey<Schema.String>;
|
|
1298
|
+
readonly tokenRequestFormat: Schema.optionalKey<Schema.Literals<readonly ["form", "json"]>>;
|
|
1135
1299
|
readonly type: Schema.Literal<"oauth2">;
|
|
1136
1300
|
}>, Schema.Struct<{
|
|
1137
1301
|
readonly response: Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>;
|
|
1302
|
+
readonly tokenEndpointAuthMethod: Schema.Literals<readonly ["client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>;
|
|
1303
|
+
readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
|
|
1304
|
+
readonly scopeSeparator: Schema.optionalKey<Schema.String>;
|
|
1305
|
+
readonly tokenRequestFormat: Schema.optionalKey<Schema.Literals<readonly ["form", "json"]>>;
|
|
1138
1306
|
readonly grant: Schema.Literal<"client_credentials">;
|
|
1139
1307
|
readonly discover: Schema.String;
|
|
1140
1308
|
readonly authorizationUrl: Schema.optionalKey<Schema.Never>;
|
|
1141
1309
|
readonly tokenUrl: Schema.optionalKey<Schema.Never>;
|
|
1142
1310
|
readonly revocationUrl: Schema.optionalKey<Schema.Never>;
|
|
1143
1311
|
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
1312
|
readonly type: Schema.Literal<"oauth2">;
|
|
1147
1313
|
}>, Schema.Struct<{
|
|
1148
1314
|
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
1315
|
readonly tokenEndpointAuthMethod: Schema.Literals<readonly ["client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>;
|
|
1154
1316
|
readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
|
|
1155
1317
|
readonly authorizationUrl: Schema.optionalKey<Schema.Never>;
|
|
1156
1318
|
readonly discover: Schema.optionalKey<Schema.Never>;
|
|
1319
|
+
readonly scopeSeparator: Schema.optionalKey<Schema.String>;
|
|
1320
|
+
readonly tokenRequestFormat: Schema.optionalKey<Schema.Literals<readonly ["form", "json"]>>;
|
|
1321
|
+
readonly grant: Schema.Literal<"client_credentials">;
|
|
1322
|
+
readonly tokenUrl: Schema.String;
|
|
1323
|
+
readonly revocationUrl: Schema.optionalKey<Schema.String>;
|
|
1324
|
+
readonly scopes: Schema.$Array<Schema.String>;
|
|
1157
1325
|
readonly type: Schema.Literal<"oauth2">;
|
|
1158
1326
|
}>]>>;
|
|
1159
1327
|
}>;
|
|
@@ -1312,10 +1480,15 @@ export declare const protocol1: {
|
|
|
1312
1480
|
readonly tokenUrl: Schema.optionalKey<Schema.Never>;
|
|
1313
1481
|
readonly revocationUrl: Schema.optionalKey<Schema.Never>;
|
|
1314
1482
|
readonly scopes: Schema.optionalKey<Schema.$Array<Schema.String>>;
|
|
1483
|
+
readonly tokenResponse: Schema.optionalKey<Schema.Struct<{
|
|
1484
|
+
readonly path: Schema.String;
|
|
1485
|
+
}>>;
|
|
1315
1486
|
readonly grant: Schema.optionalKey<Schema.Literal<"authorization_code">>;
|
|
1316
1487
|
readonly authorizationParams: Schema.optionalKey<Schema.$Record<Schema.String, Schema.String>>;
|
|
1317
1488
|
readonly tokenEndpointAuthMethod: Schema.optionalKey<Schema.Literals<readonly ["none", "client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>>;
|
|
1318
1489
|
readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
|
|
1490
|
+
readonly scopeSeparator: Schema.optionalKey<Schema.String>;
|
|
1491
|
+
readonly tokenRequestFormat: Schema.optionalKey<Schema.Literals<readonly ["form", "json"]>>;
|
|
1319
1492
|
readonly type: Schema.Literal<"oauth2">;
|
|
1320
1493
|
}>, Schema.Struct<{
|
|
1321
1494
|
readonly response: Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>;
|
|
@@ -1325,32 +1498,41 @@ export declare const protocol1: {
|
|
|
1325
1498
|
readonly scopes: Schema.$Array<Schema.String>;
|
|
1326
1499
|
readonly issuer: Schema.optionalKey<Schema.String>;
|
|
1327
1500
|
readonly discover: Schema.optionalKey<Schema.Never>;
|
|
1501
|
+
readonly tokenResponse: Schema.optionalKey<Schema.Struct<{
|
|
1502
|
+
readonly path: Schema.String;
|
|
1503
|
+
}>>;
|
|
1328
1504
|
readonly grant: Schema.optionalKey<Schema.Literal<"authorization_code">>;
|
|
1329
1505
|
readonly authorizationParams: Schema.optionalKey<Schema.$Record<Schema.String, Schema.String>>;
|
|
1330
1506
|
readonly tokenEndpointAuthMethod: Schema.optionalKey<Schema.Literals<readonly ["none", "client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>>;
|
|
1331
1507
|
readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
|
|
1508
|
+
readonly scopeSeparator: Schema.optionalKey<Schema.String>;
|
|
1509
|
+
readonly tokenRequestFormat: Schema.optionalKey<Schema.Literals<readonly ["form", "json"]>>;
|
|
1332
1510
|
readonly type: Schema.Literal<"oauth2">;
|
|
1333
1511
|
}>, Schema.Struct<{
|
|
1334
1512
|
readonly response: Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>;
|
|
1513
|
+
readonly tokenEndpointAuthMethod: Schema.Literals<readonly ["client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>;
|
|
1514
|
+
readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
|
|
1515
|
+
readonly scopeSeparator: Schema.optionalKey<Schema.String>;
|
|
1516
|
+
readonly tokenRequestFormat: Schema.optionalKey<Schema.Literals<readonly ["form", "json"]>>;
|
|
1335
1517
|
readonly grant: Schema.Literal<"client_credentials">;
|
|
1336
1518
|
readonly discover: Schema.String;
|
|
1337
1519
|
readonly authorizationUrl: Schema.optionalKey<Schema.Never>;
|
|
1338
1520
|
readonly tokenUrl: Schema.optionalKey<Schema.Never>;
|
|
1339
1521
|
readonly revocationUrl: Schema.optionalKey<Schema.Never>;
|
|
1340
1522
|
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
1523
|
readonly type: Schema.Literal<"oauth2">;
|
|
1344
1524
|
}>, Schema.Struct<{
|
|
1345
1525
|
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
1526
|
readonly tokenEndpointAuthMethod: Schema.Literals<readonly ["client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>;
|
|
1351
1527
|
readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
|
|
1352
1528
|
readonly authorizationUrl: Schema.optionalKey<Schema.Never>;
|
|
1353
1529
|
readonly discover: Schema.optionalKey<Schema.Never>;
|
|
1530
|
+
readonly scopeSeparator: Schema.optionalKey<Schema.String>;
|
|
1531
|
+
readonly tokenRequestFormat: Schema.optionalKey<Schema.Literals<readonly ["form", "json"]>>;
|
|
1532
|
+
readonly grant: Schema.Literal<"client_credentials">;
|
|
1533
|
+
readonly tokenUrl: Schema.String;
|
|
1534
|
+
readonly revocationUrl: Schema.optionalKey<Schema.String>;
|
|
1535
|
+
readonly scopes: Schema.$Array<Schema.String>;
|
|
1354
1536
|
readonly type: Schema.Literal<"oauth2">;
|
|
1355
1537
|
}>]>>;
|
|
1356
1538
|
}>;
|