@scalar/api-client
Version:
the open source API testing client
206 lines • 9.72 kB
TypeScript
import type { XScalarEnvironment } from '@scalar/workspace-store/schemas/extensions/document/x-scalar-environments';
import type { ApiKeyObject, ComponentsObject, HttpObject, SecurityRequirementObject, ServerObject } from '@scalar/workspace-store/schemas/v3.1/strict/openapi-document';
type __VLS_Props = {
environment: XScalarEnvironment;
/** Controls the display of certain borders which are used when we are non-collapsible */
isStatic: boolean;
proxyUrl: string;
selectedSecuritySchemas: SecurityRequirementObject;
securitySchemes: NonNullable<ComponentsObject['securitySchemes']>;
server: ServerObject | null;
};
declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
"update:selectedScopes": (payload: Omit<{
id: string[];
name: string;
scopes: string[];
meta: import("@scalar/workspace-store/mutators").AuthMeta;
}, "meta">) => any;
"update:securityScheme": (payload: ({
type: "http";
} & Partial<Omit<HttpObject, "type">>) | ({
type: "apiKey";
} & Partial<Omit<ApiKeyObject, "type">>) | ({
type: "oauth2";
} & {
description?: string | undefined;
'x-default-scopes'?: string[] | undefined;
flows?: {
implicit?: {
refreshUrl?: string | undefined;
scopes?: {
[x: string]: string | undefined;
} | undefined;
'x-scalar-secret-client-id'?: string | undefined;
'x-scalar-secret-token'?: string | undefined;
'x-scalar-security-query'?: {
[x: string]: string | undefined;
} | undefined;
'x-scalar-security-body'?: {
[x: string]: string | undefined;
} | undefined;
'x-tokenName'?: string | undefined;
'x-scalar-credentials-location'?: "header" | "body" | undefined;
authorizationUrl?: string | undefined;
'x-scalar-secret-redirect-uri'?: string | undefined;
} | undefined;
password?: {
refreshUrl?: string | undefined;
scopes?: {
[x: string]: string | undefined;
} | undefined;
'x-scalar-secret-client-id'?: string | undefined;
'x-scalar-secret-token'?: string | undefined;
'x-scalar-security-query'?: {
[x: string]: string | undefined;
} | undefined;
'x-scalar-security-body'?: {
[x: string]: string | undefined;
} | undefined;
'x-tokenName'?: string | undefined;
'x-scalar-credentials-location'?: "header" | "body" | undefined;
tokenUrl?: string | undefined;
'x-scalar-secret-username'?: string | undefined;
'x-scalar-secret-password'?: string | undefined;
'x-scalar-secret-client-secret'?: string | undefined;
} | undefined;
clientCredentials?: {
refreshUrl?: string | undefined;
scopes?: {
[x: string]: string | undefined;
} | undefined;
'x-scalar-secret-client-id'?: string | undefined;
'x-scalar-secret-token'?: string | undefined;
'x-scalar-security-query'?: {
[x: string]: string | undefined;
} | undefined;
'x-scalar-security-body'?: {
[x: string]: string | undefined;
} | undefined;
'x-tokenName'?: string | undefined;
'x-scalar-credentials-location'?: "header" | "body" | undefined;
tokenUrl?: string | undefined;
'x-scalar-secret-client-secret'?: string | undefined;
} | undefined;
authorizationCode?: {
refreshUrl?: string | undefined;
scopes?: {
[x: string]: string | undefined;
} | undefined;
'x-scalar-secret-client-id'?: string | undefined;
'x-scalar-secret-token'?: string | undefined;
'x-scalar-security-query'?: {
[x: string]: string | undefined;
} | undefined;
'x-scalar-security-body'?: {
[x: string]: string | undefined;
} | undefined;
'x-tokenName'?: string | undefined;
'x-scalar-credentials-location'?: "header" | "body" | undefined;
authorizationUrl?: string | undefined;
tokenUrl?: string | undefined;
'x-scalar-secret-client-secret'?: string | undefined;
'x-scalar-secret-redirect-uri'?: string | undefined;
'x-usePkce'?: "SHA-256" | "plain" | "no" | undefined;
} | undefined;
} | undefined;
})) => any;
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
"onUpdate:selectedScopes"?: ((payload: Omit<{
id: string[];
name: string;
scopes: string[];
meta: import("@scalar/workspace-store/mutators").AuthMeta;
}, "meta">) => any) | undefined;
"onUpdate:securityScheme"?: ((payload: ({
type: "http";
} & Partial<Omit<HttpObject, "type">>) | ({
type: "apiKey";
} & Partial<Omit<ApiKeyObject, "type">>) | ({
type: "oauth2";
} & {
description?: string | undefined;
'x-default-scopes'?: string[] | undefined;
flows?: {
implicit?: {
refreshUrl?: string | undefined;
scopes?: {
[x: string]: string | undefined;
} | undefined;
'x-scalar-secret-client-id'?: string | undefined;
'x-scalar-secret-token'?: string | undefined;
'x-scalar-security-query'?: {
[x: string]: string | undefined;
} | undefined;
'x-scalar-security-body'?: {
[x: string]: string | undefined;
} | undefined;
'x-tokenName'?: string | undefined;
'x-scalar-credentials-location'?: "header" | "body" | undefined;
authorizationUrl?: string | undefined;
'x-scalar-secret-redirect-uri'?: string | undefined;
} | undefined;
password?: {
refreshUrl?: string | undefined;
scopes?: {
[x: string]: string | undefined;
} | undefined;
'x-scalar-secret-client-id'?: string | undefined;
'x-scalar-secret-token'?: string | undefined;
'x-scalar-security-query'?: {
[x: string]: string | undefined;
} | undefined;
'x-scalar-security-body'?: {
[x: string]: string | undefined;
} | undefined;
'x-tokenName'?: string | undefined;
'x-scalar-credentials-location'?: "header" | "body" | undefined;
tokenUrl?: string | undefined;
'x-scalar-secret-username'?: string | undefined;
'x-scalar-secret-password'?: string | undefined;
'x-scalar-secret-client-secret'?: string | undefined;
} | undefined;
clientCredentials?: {
refreshUrl?: string | undefined;
scopes?: {
[x: string]: string | undefined;
} | undefined;
'x-scalar-secret-client-id'?: string | undefined;
'x-scalar-secret-token'?: string | undefined;
'x-scalar-security-query'?: {
[x: string]: string | undefined;
} | undefined;
'x-scalar-security-body'?: {
[x: string]: string | undefined;
} | undefined;
'x-tokenName'?: string | undefined;
'x-scalar-credentials-location'?: "header" | "body" | undefined;
tokenUrl?: string | undefined;
'x-scalar-secret-client-secret'?: string | undefined;
} | undefined;
authorizationCode?: {
refreshUrl?: string | undefined;
scopes?: {
[x: string]: string | undefined;
} | undefined;
'x-scalar-secret-client-id'?: string | undefined;
'x-scalar-secret-token'?: string | undefined;
'x-scalar-security-query'?: {
[x: string]: string | undefined;
} | undefined;
'x-scalar-security-body'?: {
[x: string]: string | undefined;
} | undefined;
'x-tokenName'?: string | undefined;
'x-scalar-credentials-location'?: "header" | "body" | undefined;
authorizationUrl?: string | undefined;
tokenUrl?: string | undefined;
'x-scalar-secret-client-secret'?: string | undefined;
'x-scalar-secret-redirect-uri'?: string | undefined;
'x-usePkce'?: "SHA-256" | "plain" | "no" | undefined;
} | undefined;
} | undefined;
})) => any) | undefined;
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
export default _default;
//# sourceMappingURL=RequestAuthTab.vue.d.ts.map