UNPKG

vuethenticate

Version:

A Vue 3 authentication state management library using oidc-client-ts

24 lines 1.32 kB
import { LogoutCallbackProps } from '../types/auth'; declare const _default: <TState = unknown>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{ props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{ readonly onError?: ((error: Error) => any) | undefined; readonly onSuccess?: ((state?: TState | undefined) => any) | undefined; } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, never>, "onError" | "onSuccess"> & LogoutCallbackProps<TState> & Partial<{}>> & import('vue').PublicProps; expose(exposed: import('vue').ShallowUnwrapRef<{}>): void; attrs: any; slots: { default?(_: {}): any; error?(_: { error: Error; }): any; success?(_: {}): any; }; emit: ((evt: "error", error: Error) => void) & ((evt: "success", state?: TState | undefined) => void); }>) => import('vue').VNode & { __ctx?: Awaited<typeof __VLS_setup>; }; export default _default; type __VLS_PrettifyLocal<T> = { [K in keyof T]: T[K]; } & {}; //# sourceMappingURL=LogoutCallback.vue.d.ts.map