UNPKG

@authup/client-web-kit

Version:

This package contains vue components.

120 lines 4.3 kB
import type { Client, OAuth2AuthorizationCodeRequest, Scope } from '@authup/core-kit'; import type { PropType } from 'vue'; declare const _default: typeof __VLS_export; export default _default; declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractPropTypes<{ client: { type: PropType<Client>; required: true; }; scopes: { type: PropType<Scope[]>; }; codeRequest: { type: PropType<OAuth2AuthorizationCodeRequest>; required: true; }; }>, { authorize: () => Promise<void>; abort: () => void; }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{ client: { type: PropType<Client>; required: true; }; scopes: { type: PropType<Scope[]>; }; codeRequest: { type: PropType<OAuth2AuthorizationCodeRequest>; required: true; }; }>> & Readonly<{}>, {}, {}, { AuthorizeScopes: import("vue").DefineComponent<import("vue").ExtractPropTypes<{ client: { type: PropType<Client>; required: true; }; scopesAvailable: { type: PropType<Scope[]>; }; scopesRequested: { type: PropType<string[] | string>; }; }>, { scopesRequestedNormalized: import("vue").ComputedRef<string[]>; scopesAvailableNormalized: import("vue").Ref<{ id: string; built_in: boolean; name: string; display_name: string | null; description: string | null; realm_id: import("@authup/core-kit").Realm["id"] | null; realm: { id: string; name: string; display_name: string | null; description: string | null; built_in: boolean; created_at: string; updated_at: string; }; created_at: string; updated_at: string; }[], Scope[] | { id: string; built_in: boolean; name: string; display_name: string | null; description: string | null; realm_id: import("@authup/core-kit").Realm["id"] | null; realm: { id: string; name: string; display_name: string | null; description: string | null; built_in: boolean; created_at: string; updated_at: string; }; created_at: string; updated_at: string; }[]>; }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{ client: { type: PropType<Client>; required: true; }; scopesAvailable: { type: PropType<Scope[]>; }; scopesRequested: { type: PropType<string[] | string>; }; }>> & Readonly<{}>, {}, {}, { AuthorizeScope: import("vue").DefineComponent<import("vue").ExtractPropTypes<{ entity: { type: PropType<Scope>; required: true; }; requested: { type: PropType<string[]>; default: () => any[]; }; }>, { isEnabled: import("vue").ComputedRef<boolean>; }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{ entity: { type: PropType<Scope>; required: true; }; requested: { type: PropType<string[]>; default: () => any[]; }; }>> & Readonly<{}>, { requested: string[]; }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>; }, {}, string, import("vue").ComponentProvideOptions, true, {}, any>; }, {}, string, import("vue").ComponentProvideOptions, true, {}, any>; //# sourceMappingURL=AuthorizeForm.vue.d.ts.map