@scalar/api-client 2.23.0 → 2.23.3
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/CHANGELOG.md +65 -0
- package/dist/style.css +1 -1
- package/dist/v2/blocks/operation-block/OperationBlock.vue.d.ts +13 -3
- package/dist/v2/blocks/operation-block/OperationBlock.vue.d.ts.map +1 -1
- package/dist/v2/blocks/operation-block/OperationBlock.vue.js +68 -68
- package/dist/v2/blocks/operation-block/helpers/build-request-parameters.d.ts.map +1 -1
- package/dist/v2/blocks/operation-block/helpers/build-request-parameters.js +54 -53
- package/dist/v2/blocks/operation-block/helpers/build-request-security.d.ts +5 -3
- package/dist/v2/blocks/operation-block/helpers/build-request-security.d.ts.map +1 -1
- package/dist/v2/blocks/operation-block/helpers/build-request-security.js +1 -1
- package/dist/v2/blocks/operation-block/helpers/build-request.d.ts +3 -2
- package/dist/v2/blocks/operation-block/helpers/build-request.d.ts.map +1 -1
- package/dist/v2/blocks/operation-block/index.d.ts +2 -1
- package/dist/v2/blocks/operation-block/index.d.ts.map +1 -1
- package/dist/v2/blocks/operation-block/index.js +7 -4
- package/dist/v2/blocks/operation-code-sample/components/OperationCodeSample.vue.d.ts +3 -2
- package/dist/v2/blocks/operation-code-sample/components/OperationCodeSample.vue.d.ts.map +1 -1
- package/dist/v2/blocks/operation-code-sample/components/OperationCodeSample.vue.js +2 -2
- package/dist/v2/blocks/operation-code-sample/helpers/generate-code-snippet.d.ts +3 -2
- package/dist/v2/blocks/operation-code-sample/helpers/generate-code-snippet.d.ts.map +1 -1
- package/dist/v2/blocks/operation-code-sample/helpers/get-example-from-schema.d.ts.map +1 -1
- package/dist/v2/blocks/operation-code-sample/helpers/get-example-from-schema.js +78 -78
- package/dist/v2/blocks/operation-code-sample/helpers/get-secrets.d.ts +2 -2
- package/dist/v2/blocks/operation-code-sample/helpers/get-secrets.d.ts.map +1 -1
- package/dist/v2/blocks/operation-code-sample/helpers/operation-to-har/operation-to-har.d.ts +3 -2
- package/dist/v2/blocks/operation-code-sample/helpers/operation-to-har/operation-to-har.d.ts.map +1 -1
- package/dist/v2/blocks/operation-code-sample/helpers/operation-to-har/process-security-schemes.d.ts +2 -2
- package/dist/v2/blocks/operation-code-sample/helpers/operation-to-har/process-security-schemes.d.ts.map +1 -1
- package/dist/v2/blocks/request-block/RequestBlock.vue.d.ts +8 -5
- package/dist/v2/blocks/request-block/RequestBlock.vue.d.ts.map +1 -1
- package/dist/v2/blocks/request-block/RequestBlock.vue.js +2 -2
- package/dist/v2/blocks/request-block/RequestBlock.vue2.js +4 -4
- package/dist/v2/blocks/request-block/components/RequestCodeSnippet.vue.d.ts.map +1 -1
- package/dist/v2/blocks/request-block/components/RequestCodeSnippet.vue.js +49 -45
- package/dist/v2/blocks/request-block/components/RequestTableRow.vue.d.ts.map +1 -1
- package/dist/v2/blocks/request-block/components/RequestTableRow.vue.js +63 -51
- package/dist/v2/blocks/request-block/helpers/get-default-headers.js +1 -1
- package/dist/v2/blocks/response-block/components/ResponseBody.vue.js +2 -2
- package/dist/v2/blocks/scalar-auth-selector-block/components/AuthSelector.vue.d.ts +4 -2
- package/dist/v2/blocks/scalar-auth-selector-block/components/AuthSelector.vue.d.ts.map +1 -1
- package/dist/v2/blocks/scalar-auth-selector-block/components/OAuth2.vue.d.ts +18 -181
- package/dist/v2/blocks/scalar-auth-selector-block/components/OAuth2.vue.d.ts.map +1 -1
- package/dist/v2/blocks/scalar-auth-selector-block/components/OAuth2.vue.js +118 -107
- package/dist/v2/blocks/scalar-auth-selector-block/components/RequestAuthDataTable.vue.d.ts +3 -2
- package/dist/v2/blocks/scalar-auth-selector-block/components/RequestAuthDataTable.vue.d.ts.map +1 -1
- package/dist/v2/blocks/scalar-auth-selector-block/components/RequestAuthDataTable.vue.js +30 -33
- package/dist/v2/blocks/scalar-auth-selector-block/components/RequestAuthTab.vue.d.ts +11 -178
- package/dist/v2/blocks/scalar-auth-selector-block/components/RequestAuthTab.vue.d.ts.map +1 -1
- package/dist/v2/blocks/scalar-auth-selector-block/components/RequestAuthTab.vue.js +107 -110
- package/dist/v2/blocks/scalar-auth-selector-block/helpers/auth-options.d.ts.map +1 -1
- package/dist/v2/blocks/scalar-auth-selector-block/helpers/auth-options.js +5 -29
- package/dist/v2/blocks/scalar-auth-selector-block/helpers/extract-security-scheme-secrets.d.ts +6 -0
- package/dist/v2/blocks/scalar-auth-selector-block/helpers/extract-security-scheme-secrets.d.ts.map +1 -0
- package/dist/v2/blocks/scalar-auth-selector-block/helpers/extract-security-scheme-secrets.js +85 -0
- package/dist/v2/blocks/scalar-auth-selector-block/helpers/merge-security.d.ts +9 -0
- package/dist/v2/blocks/scalar-auth-selector-block/helpers/merge-security.d.ts.map +1 -0
- package/dist/v2/blocks/scalar-auth-selector-block/helpers/merge-security.js +15 -0
- package/dist/v2/blocks/scalar-auth-selector-block/helpers/oauth.d.ts +3 -2
- package/dist/v2/blocks/scalar-auth-selector-block/helpers/oauth.d.ts.map +1 -1
- package/dist/v2/blocks/scalar-auth-selector-block/helpers/secret-types.d.ts +23 -0
- package/dist/v2/blocks/scalar-auth-selector-block/helpers/secret-types.d.ts.map +1 -0
- package/dist/v2/blocks/scalar-auth-selector-block/index.d.ts +2 -2
- package/dist/v2/blocks/scalar-auth-selector-block/index.d.ts.map +1 -1
- package/dist/v2/blocks/scalar-auth-selector-block/index.js +4 -6
- package/dist/v2/features/app/App.vue.d.ts.map +1 -1
- package/dist/v2/features/app/App.vue.js +51 -42
- package/dist/v2/features/app/app-state.d.ts +1 -1
- package/dist/v2/features/app/app-state.d.ts.map +1 -1
- package/dist/v2/features/app/app-state.js +40 -38
- package/dist/v2/features/app/helpers/routes.d.ts +1 -1
- package/dist/v2/features/app/helpers/routes.d.ts.map +1 -1
- package/dist/v2/features/collection/components/Authentication.vue.d.ts.map +1 -1
- package/dist/v2/features/collection/components/Authentication.vue.js +1 -1
- package/dist/v2/features/collection/components/Authentication.vue2.js +14 -11
- package/dist/v2/features/import-listener/helpers/import-document-to-workspace.d.ts.map +1 -1
- package/dist/v2/features/import-listener/helpers/import-document-to-workspace.js +3 -1
- package/dist/v2/features/modal/Modal.vue.d.ts.map +1 -1
- package/dist/v2/features/modal/Modal.vue.js +1 -1
- package/dist/v2/features/modal/Modal.vue2.js +14 -12
- package/dist/v2/features/operation/Operation.vue.d.ts.map +1 -1
- package/dist/v2/features/operation/Operation.vue.js +44 -35
- package/dist/v2/features/operation/helpers/get-selected-security.d.ts +3 -5
- package/dist/v2/features/operation/helpers/get-selected-security.d.ts.map +1 -1
- package/dist/v2/workspace-events.d.ts.map +1 -1
- package/dist/v2/workspace-events.js +116 -109
- package/dist/views/Request/ResponseSection/ResponseEmpty.vue2.js +1 -1
- package/package.json +17 -17
- package/dist/v2/blocks/operation-code-sample/helpers/operation-to-har/operation-to-har.bench.d.ts +0 -2
- package/dist/v2/blocks/operation-code-sample/helpers/operation-to-har/operation-to-har.bench.d.ts.map +0 -1
- package/dist/v2/blocks/scalar-auth-selector-block/helpers/convert-security-scheme-secrets.d.ts +0 -8
- package/dist/v2/blocks/scalar-auth-selector-block/helpers/convert-security-scheme-secrets.d.ts.map +0 -1
- package/dist/v2/blocks/scalar-auth-selector-block/helpers/convert-security-scheme-secrets.js +0 -33
- package/dist/v2/blocks/scalar-auth-selector-block/helpers/merge-auth-config.d.ts +0 -7
- package/dist/v2/blocks/scalar-auth-selector-block/helpers/merge-auth-config.d.ts.map +0 -1
- package/dist/v2/blocks/scalar-auth-selector-block/helpers/merge-auth-config.js +0 -13
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { defineComponent as f, computed as d, createElementBlock as
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
const
|
|
1
|
+
import { defineComponent as f, computed as d, createElementBlock as n, openBlock as t, withModifiers as S, createCommentVNode as m, createBlock as y, normalizeClass as s, Fragment as g, renderList as k, createElementVNode as u, toDisplayString as w, unref as B, withCtx as p, createVNode as C } from "vue";
|
|
2
|
+
import U from "./RequestAuthTab.vue.js";
|
|
3
|
+
import A from "../../../components/data-table/DataTable.vue.js";
|
|
4
|
+
const z = ["onClick"], N = { class: "relative z-10 font-medium whitespace-nowrap" }, O = {
|
|
5
5
|
key: 0,
|
|
6
6
|
class: "absolute inset-x-1 bottom-[var(--scalar-border-width)] left-1/2 z-1 h-px w-full -translate-x-1/2 bg-current"
|
|
7
|
-
},
|
|
7
|
+
}, D = /* @__PURE__ */ f({
|
|
8
8
|
__name: "RequestAuthDataTable",
|
|
9
9
|
props: {
|
|
10
10
|
environment: {},
|
|
@@ -18,63 +18,60 @@ const N = ["onClick"], O = { class: "relative z-10 font-medium whitespace-nowrap
|
|
|
18
18
|
meta: {}
|
|
19
19
|
},
|
|
20
20
|
setup(e, { expose: h }) {
|
|
21
|
-
const
|
|
21
|
+
const c = d(
|
|
22
22
|
() => e.selectedSchemeOptions[e.activeAuthIndex]
|
|
23
|
-
),
|
|
24
|
-
index:
|
|
23
|
+
), v = d(() => e.selectedSchemeOptions.length > 1), b = (a) => e.eventBus.emit("auth:update:active-index", {
|
|
24
|
+
index: a,
|
|
25
25
|
meta: e.meta
|
|
26
|
-
}), x = (
|
|
27
|
-
|
|
28
|
-
name: n
|
|
29
|
-
}), S = (t) => e.eventBus.emit("auth:update:selected-scopes", {
|
|
30
|
-
...t,
|
|
26
|
+
}), x = (a) => e.eventBus.emit("auth:update:selected-scopes", {
|
|
27
|
+
...a,
|
|
31
28
|
meta: e.meta
|
|
32
|
-
}),
|
|
29
|
+
}), i = (a) => e.activeAuthIndex === a;
|
|
33
30
|
return h({
|
|
34
|
-
activeScheme:
|
|
35
|
-
}), (
|
|
36
|
-
onSubmit:
|
|
31
|
+
activeScheme: c
|
|
32
|
+
}), (a, o) => (t(), n("form", {
|
|
33
|
+
onSubmit: o[0] || (o[0] = S(() => {
|
|
37
34
|
}, ["prevent"]))
|
|
38
35
|
}, [
|
|
39
|
-
|
|
36
|
+
v.value ? (t(), n("div", {
|
|
40
37
|
key: 0,
|
|
41
38
|
class: s(["box-content flex flex-wrap gap-x-2.5 overflow-hidden border border-b-0 px-3", { "border-x-0": !e.isStatic }]),
|
|
42
39
|
"data-testid": "auth-tabs"
|
|
43
40
|
}, [
|
|
44
|
-
(
|
|
41
|
+
(t(!0), n(g, null, k(e.selectedSchemeOptions, (l, r) => (t(), n("div", {
|
|
45
42
|
key: l.id,
|
|
46
43
|
class: "relative z-1 -mb-[var(--scalar-border-width)] flex h-8"
|
|
47
44
|
}, [
|
|
48
45
|
u("button", {
|
|
49
|
-
class: s(["floating-bg relative cursor-pointer border-b border-transparent py-1 text-sm font-medium transition-colors",
|
|
46
|
+
class: s(["floating-bg relative cursor-pointer border-b border-transparent py-1 text-sm font-medium transition-colors", i(r) ? "text-c-1" : "text-c-3"]),
|
|
50
47
|
type: "button",
|
|
51
|
-
onClick: (
|
|
48
|
+
onClick: (T) => b(r)
|
|
52
49
|
}, [
|
|
53
|
-
u("span",
|
|
54
|
-
], 10,
|
|
55
|
-
|
|
50
|
+
u("span", N, w(l.label), 1)
|
|
51
|
+
], 10, z),
|
|
52
|
+
i(r) ? (t(), n("div", O)) : m("", !0)
|
|
56
53
|
]))), 128))
|
|
57
54
|
], 2)) : m("", !0),
|
|
58
|
-
|
|
55
|
+
c.value ? (t(), y(B(A), {
|
|
59
56
|
key: 1,
|
|
60
57
|
class: s(["flex-1", { "bg-b-1 rounded-b-lg border border-t-0": e.isStatic }]),
|
|
61
58
|
columns: [""],
|
|
62
59
|
presentational: ""
|
|
63
60
|
}, {
|
|
64
|
-
default:
|
|
65
|
-
C(
|
|
61
|
+
default: p(() => [
|
|
62
|
+
C(U, {
|
|
66
63
|
environment: e.environment,
|
|
64
|
+
eventBus: e.eventBus,
|
|
67
65
|
isStatic: e.isStatic,
|
|
68
66
|
proxyUrl: e.proxyUrl,
|
|
69
67
|
securitySchemes: e.securitySchemes,
|
|
70
|
-
selectedSecuritySchemas:
|
|
68
|
+
selectedSecuritySchemas: c.value.value,
|
|
71
69
|
server: e.server,
|
|
72
|
-
"onUpdate:
|
|
73
|
-
|
|
74
|
-
}, null, 8, ["environment", "isStatic", "proxyUrl", "securitySchemes", "selectedSecuritySchemas", "server"])
|
|
70
|
+
"onUpdate:selectedScopes": x
|
|
71
|
+
}, null, 8, ["environment", "eventBus", "isStatic", "proxyUrl", "securitySchemes", "selectedSecuritySchemas", "server"])
|
|
75
72
|
]),
|
|
76
73
|
_: 1
|
|
77
|
-
}, 8, ["class"])) : (
|
|
74
|
+
}, 8, ["class"])) : (t(), n("div", {
|
|
78
75
|
key: 2,
|
|
79
76
|
class: s(["bg-b-1 text-c-3 flex min-h-16 items-center justify-center border-t px-4 text-sm", { "min-h-[calc(4rem+0.5px)] rounded-b-lg border": e.isStatic }])
|
|
80
77
|
}, " No authentication selected ", 2))
|
|
@@ -82,5 +79,5 @@ const N = ["onClick"], O = { class: "relative z-10 font-medium whitespace-nowrap
|
|
|
82
79
|
}
|
|
83
80
|
});
|
|
84
81
|
export {
|
|
85
|
-
|
|
82
|
+
D as default
|
|
86
83
|
};
|
|
@@ -1,13 +1,22 @@
|
|
|
1
|
+
import type { WorkspaceEventBus } from '@scalar/workspace-store/events';
|
|
1
2
|
import type { XScalarEnvironment } from '@scalar/workspace-store/schemas/extensions/document/x-scalar-environments';
|
|
2
|
-
import type {
|
|
3
|
+
import type { SecurityRequirementObject, ServerObject } from '@scalar/workspace-store/schemas/v3.1/strict/openapi-document';
|
|
4
|
+
import type { MergedSecuritySchemes } from '../../../../v2/blocks/scalar-auth-selector-block/index.js';
|
|
3
5
|
type __VLS_Props = {
|
|
6
|
+
/** Current environment configuration */
|
|
4
7
|
environment: XScalarEnvironment;
|
|
5
8
|
/** Controls the display of certain borders which are used when we are non-collapsible */
|
|
6
9
|
isStatic: boolean;
|
|
10
|
+
/** Proxy URL */
|
|
7
11
|
proxyUrl: string;
|
|
12
|
+
/** Selected security schemes*/
|
|
8
13
|
selectedSecuritySchemas: SecurityRequirementObject;
|
|
9
|
-
|
|
14
|
+
/** Merged security schemes from the document and the config together with the auth store secrets */
|
|
15
|
+
securitySchemes: MergedSecuritySchemes;
|
|
16
|
+
/** Current server configuration */
|
|
10
17
|
server: ServerObject | null;
|
|
18
|
+
/** Event bus for authentication updates */
|
|
19
|
+
eventBus: WorkspaceEventBus;
|
|
11
20
|
};
|
|
12
21
|
declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
13
22
|
"update:selectedScopes": (payload: Omit<{
|
|
@@ -21,94 +30,6 @@ declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {
|
|
|
21
30
|
};
|
|
22
31
|
meta: import("@scalar/workspace-store/events").AuthMeta;
|
|
23
32
|
}, "meta">) => any;
|
|
24
|
-
"update:securityScheme": (payload: ({
|
|
25
|
-
type: "http";
|
|
26
|
-
} & Partial<Omit<HttpObject, "type">>) | ({
|
|
27
|
-
type: "apiKey";
|
|
28
|
-
} & Partial<Omit<ApiKeyObject, "type">>) | ({
|
|
29
|
-
type: "oauth2";
|
|
30
|
-
} & {
|
|
31
|
-
description?: string | undefined;
|
|
32
|
-
'x-default-scopes'?: string[] | undefined;
|
|
33
|
-
flows?: {
|
|
34
|
-
implicit?: {
|
|
35
|
-
refreshUrl?: string | undefined;
|
|
36
|
-
scopes?: {
|
|
37
|
-
[x: string]: string | undefined;
|
|
38
|
-
} | undefined;
|
|
39
|
-
'x-scalar-secret-client-id'?: string | undefined;
|
|
40
|
-
'x-scalar-secret-token'?: string | undefined;
|
|
41
|
-
'x-scalar-security-query'?: {
|
|
42
|
-
[x: string]: string | undefined;
|
|
43
|
-
} | undefined;
|
|
44
|
-
'x-scalar-security-body'?: {
|
|
45
|
-
[x: string]: string | undefined;
|
|
46
|
-
} | undefined;
|
|
47
|
-
'x-tokenName'?: string | undefined;
|
|
48
|
-
authorizationUrl?: string | undefined;
|
|
49
|
-
'x-scalar-secret-redirect-uri'?: string | undefined;
|
|
50
|
-
} | undefined;
|
|
51
|
-
password?: {
|
|
52
|
-
refreshUrl?: string | undefined;
|
|
53
|
-
scopes?: {
|
|
54
|
-
[x: string]: string | undefined;
|
|
55
|
-
} | undefined;
|
|
56
|
-
'x-scalar-secret-client-id'?: string | undefined;
|
|
57
|
-
'x-scalar-secret-token'?: string | undefined;
|
|
58
|
-
'x-scalar-security-query'?: {
|
|
59
|
-
[x: string]: string | undefined;
|
|
60
|
-
} | undefined;
|
|
61
|
-
'x-scalar-security-body'?: {
|
|
62
|
-
[x: string]: string | undefined;
|
|
63
|
-
} | undefined;
|
|
64
|
-
'x-tokenName'?: string | undefined;
|
|
65
|
-
tokenUrl?: string | undefined;
|
|
66
|
-
'x-scalar-secret-username'?: string | undefined;
|
|
67
|
-
'x-scalar-secret-password'?: string | undefined;
|
|
68
|
-
'x-scalar-secret-client-secret'?: string | undefined;
|
|
69
|
-
'x-scalar-credentials-location'?: "header" | "body" | undefined;
|
|
70
|
-
} | undefined;
|
|
71
|
-
clientCredentials?: {
|
|
72
|
-
refreshUrl?: string | undefined;
|
|
73
|
-
scopes?: {
|
|
74
|
-
[x: string]: string | undefined;
|
|
75
|
-
} | undefined;
|
|
76
|
-
'x-scalar-secret-client-id'?: string | undefined;
|
|
77
|
-
'x-scalar-secret-token'?: string | undefined;
|
|
78
|
-
'x-scalar-security-query'?: {
|
|
79
|
-
[x: string]: string | undefined;
|
|
80
|
-
} | undefined;
|
|
81
|
-
'x-scalar-security-body'?: {
|
|
82
|
-
[x: string]: string | undefined;
|
|
83
|
-
} | undefined;
|
|
84
|
-
'x-tokenName'?: string | undefined;
|
|
85
|
-
tokenUrl?: string | undefined;
|
|
86
|
-
'x-scalar-secret-client-secret'?: string | undefined;
|
|
87
|
-
'x-scalar-credentials-location'?: "header" | "body" | undefined;
|
|
88
|
-
} | undefined;
|
|
89
|
-
authorizationCode?: {
|
|
90
|
-
refreshUrl?: string | undefined;
|
|
91
|
-
scopes?: {
|
|
92
|
-
[x: string]: string | undefined;
|
|
93
|
-
} | undefined;
|
|
94
|
-
'x-scalar-secret-client-id'?: string | undefined;
|
|
95
|
-
'x-scalar-secret-token'?: string | undefined;
|
|
96
|
-
'x-scalar-security-query'?: {
|
|
97
|
-
[x: string]: string | undefined;
|
|
98
|
-
} | undefined;
|
|
99
|
-
'x-scalar-security-body'?: {
|
|
100
|
-
[x: string]: string | undefined;
|
|
101
|
-
} | undefined;
|
|
102
|
-
'x-tokenName'?: string | undefined;
|
|
103
|
-
authorizationUrl?: string | undefined;
|
|
104
|
-
tokenUrl?: string | undefined;
|
|
105
|
-
'x-scalar-secret-client-secret'?: string | undefined;
|
|
106
|
-
'x-scalar-secret-redirect-uri'?: string | undefined;
|
|
107
|
-
'x-usePkce'?: "SHA-256" | "plain" | "no" | undefined;
|
|
108
|
-
'x-scalar-credentials-location'?: "header" | "body" | undefined;
|
|
109
|
-
} | undefined;
|
|
110
|
-
} | undefined;
|
|
111
|
-
}), name: string) => any;
|
|
112
33
|
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
113
34
|
"onUpdate:selectedScopes"?: ((payload: Omit<{
|
|
114
35
|
id: string[];
|
|
@@ -121,94 +42,6 @@ declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {
|
|
|
121
42
|
};
|
|
122
43
|
meta: import("@scalar/workspace-store/events").AuthMeta;
|
|
123
44
|
}, "meta">) => any) | undefined;
|
|
124
|
-
"onUpdate:securityScheme"?: ((payload: ({
|
|
125
|
-
type: "http";
|
|
126
|
-
} & Partial<Omit<HttpObject, "type">>) | ({
|
|
127
|
-
type: "apiKey";
|
|
128
|
-
} & Partial<Omit<ApiKeyObject, "type">>) | ({
|
|
129
|
-
type: "oauth2";
|
|
130
|
-
} & {
|
|
131
|
-
description?: string | undefined;
|
|
132
|
-
'x-default-scopes'?: string[] | undefined;
|
|
133
|
-
flows?: {
|
|
134
|
-
implicit?: {
|
|
135
|
-
refreshUrl?: string | undefined;
|
|
136
|
-
scopes?: {
|
|
137
|
-
[x: string]: string | undefined;
|
|
138
|
-
} | undefined;
|
|
139
|
-
'x-scalar-secret-client-id'?: string | undefined;
|
|
140
|
-
'x-scalar-secret-token'?: string | undefined;
|
|
141
|
-
'x-scalar-security-query'?: {
|
|
142
|
-
[x: string]: string | undefined;
|
|
143
|
-
} | undefined;
|
|
144
|
-
'x-scalar-security-body'?: {
|
|
145
|
-
[x: string]: string | undefined;
|
|
146
|
-
} | undefined;
|
|
147
|
-
'x-tokenName'?: string | undefined;
|
|
148
|
-
authorizationUrl?: string | undefined;
|
|
149
|
-
'x-scalar-secret-redirect-uri'?: string | undefined;
|
|
150
|
-
} | undefined;
|
|
151
|
-
password?: {
|
|
152
|
-
refreshUrl?: string | undefined;
|
|
153
|
-
scopes?: {
|
|
154
|
-
[x: string]: string | undefined;
|
|
155
|
-
} | undefined;
|
|
156
|
-
'x-scalar-secret-client-id'?: string | undefined;
|
|
157
|
-
'x-scalar-secret-token'?: string | undefined;
|
|
158
|
-
'x-scalar-security-query'?: {
|
|
159
|
-
[x: string]: string | undefined;
|
|
160
|
-
} | undefined;
|
|
161
|
-
'x-scalar-security-body'?: {
|
|
162
|
-
[x: string]: string | undefined;
|
|
163
|
-
} | undefined;
|
|
164
|
-
'x-tokenName'?: string | undefined;
|
|
165
|
-
tokenUrl?: string | undefined;
|
|
166
|
-
'x-scalar-secret-username'?: string | undefined;
|
|
167
|
-
'x-scalar-secret-password'?: string | undefined;
|
|
168
|
-
'x-scalar-secret-client-secret'?: string | undefined;
|
|
169
|
-
'x-scalar-credentials-location'?: "header" | "body" | undefined;
|
|
170
|
-
} | undefined;
|
|
171
|
-
clientCredentials?: {
|
|
172
|
-
refreshUrl?: string | undefined;
|
|
173
|
-
scopes?: {
|
|
174
|
-
[x: string]: string | undefined;
|
|
175
|
-
} | undefined;
|
|
176
|
-
'x-scalar-secret-client-id'?: string | undefined;
|
|
177
|
-
'x-scalar-secret-token'?: string | undefined;
|
|
178
|
-
'x-scalar-security-query'?: {
|
|
179
|
-
[x: string]: string | undefined;
|
|
180
|
-
} | undefined;
|
|
181
|
-
'x-scalar-security-body'?: {
|
|
182
|
-
[x: string]: string | undefined;
|
|
183
|
-
} | undefined;
|
|
184
|
-
'x-tokenName'?: string | undefined;
|
|
185
|
-
tokenUrl?: string | undefined;
|
|
186
|
-
'x-scalar-secret-client-secret'?: string | undefined;
|
|
187
|
-
'x-scalar-credentials-location'?: "header" | "body" | undefined;
|
|
188
|
-
} | undefined;
|
|
189
|
-
authorizationCode?: {
|
|
190
|
-
refreshUrl?: string | undefined;
|
|
191
|
-
scopes?: {
|
|
192
|
-
[x: string]: string | undefined;
|
|
193
|
-
} | undefined;
|
|
194
|
-
'x-scalar-secret-client-id'?: string | undefined;
|
|
195
|
-
'x-scalar-secret-token'?: string | undefined;
|
|
196
|
-
'x-scalar-security-query'?: {
|
|
197
|
-
[x: string]: string | undefined;
|
|
198
|
-
} | undefined;
|
|
199
|
-
'x-scalar-security-body'?: {
|
|
200
|
-
[x: string]: string | undefined;
|
|
201
|
-
} | undefined;
|
|
202
|
-
'x-tokenName'?: string | undefined;
|
|
203
|
-
authorizationUrl?: string | undefined;
|
|
204
|
-
tokenUrl?: string | undefined;
|
|
205
|
-
'x-scalar-secret-client-secret'?: string | undefined;
|
|
206
|
-
'x-scalar-secret-redirect-uri'?: string | undefined;
|
|
207
|
-
'x-usePkce'?: "SHA-256" | "plain" | "no" | undefined;
|
|
208
|
-
'x-scalar-credentials-location'?: "header" | "body" | undefined;
|
|
209
|
-
} | undefined;
|
|
210
|
-
} | undefined;
|
|
211
|
-
}), name: string) => any) | undefined;
|
|
212
45
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
213
46
|
export default _default;
|
|
214
47
|
//# sourceMappingURL=RequestAuthTab.vue.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RequestAuthTab.vue.d.ts","sourceRoot":"","sources":["../../../../../src/v2/blocks/scalar-auth-selector-block/components/RequestAuthTab.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"RequestAuthTab.vue.d.ts","sourceRoot":"","sources":["../../../../../src/v2/blocks/scalar-auth-selector-block/components/RequestAuthTab.vue"],"names":[],"mappings":"AA2UA,OAAO,KAAK,EAEV,iBAAiB,EAClB,MAAM,gCAAgC,CAAA;AAEvC,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,2EAA2E,CAAA;AACnH,OAAO,KAAK,EAEV,yBAAyB,EACzB,YAAY,EACb,MAAM,8DAA8D,CAAA;AAGrE,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,wCAAwC,CAAA;AAanF,KAAK,WAAW,GAAG;IACjB,wCAAwC;IACxC,WAAW,EAAE,kBAAkB,CAAA;IAC/B,yFAAyF;IACzF,QAAQ,EAAE,OAAO,CAAA;IACjB,gBAAgB;IAChB,QAAQ,EAAE,MAAM,CAAA;IAChB,+BAA+B;IAC/B,uBAAuB,EAAE,yBAAyB,CAAA;IAClD,oGAAoG;IACpG,eAAe,EAAE,qBAAqB,CAAA;IACtC,mCAAmC;IACnC,MAAM,EAAE,YAAY,GAAG,IAAI,CAAA;IAC3B,2CAA2C;IAC3C,QAAQ,EAAE,iBAAiB,CAAA;CAC5B,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;AA4iBF,wBAOG"}
|