@drmhse/authos-vue 0.2.8 → 0.8.1
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/dist/index.d.mts +16 -16
- package/dist/index.d.ts +16 -16
- package/package.json +2 -2
package/dist/index.d.mts
CHANGED
|
@@ -337,9 +337,9 @@ declare const AuthOSProvider: import("vue").DefineComponent<import("vue").Extrac
|
|
|
337
337
|
default: undefined;
|
|
338
338
|
};
|
|
339
339
|
}>> & Readonly<{}>, {
|
|
340
|
-
redirectUri: string;
|
|
341
340
|
org: string;
|
|
342
341
|
service: string;
|
|
342
|
+
redirectUri: string;
|
|
343
343
|
storage: TokenStorage$1;
|
|
344
344
|
client: SsoClient$1;
|
|
345
345
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
@@ -371,7 +371,7 @@ declare const SignIn: import("vue").DefineComponent<import("vue").ExtractPropTyp
|
|
|
371
371
|
[key: string]: any;
|
|
372
372
|
}> | import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
373
373
|
[key: string]: any;
|
|
374
|
-
}>[], {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("
|
|
374
|
+
}>[], {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("error" | "success")[], "error" | "success", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
375
375
|
onSuccess: {
|
|
376
376
|
type: PropType<() => void>;
|
|
377
377
|
default: undefined;
|
|
@@ -381,11 +381,11 @@ declare const SignIn: import("vue").DefineComponent<import("vue").ExtractPropTyp
|
|
|
381
381
|
default: undefined;
|
|
382
382
|
};
|
|
383
383
|
}>> & Readonly<{
|
|
384
|
-
onSuccess?: ((...args: any[]) => any) | undefined;
|
|
385
384
|
onError?: ((...args: any[]) => any) | undefined;
|
|
385
|
+
onSuccess?: ((...args: any[]) => any) | undefined;
|
|
386
386
|
}>, {
|
|
387
|
-
onSuccess: () => void;
|
|
388
387
|
onError: (error: Error) => void;
|
|
388
|
+
onSuccess: () => void;
|
|
389
389
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
390
390
|
//#endregion
|
|
391
391
|
//#region src/components/SignUp.d.ts
|
|
@@ -432,7 +432,7 @@ declare const SignUp: import("vue").DefineComponent<import("vue").ExtractPropTyp
|
|
|
432
432
|
[key: string]: any;
|
|
433
433
|
}> | import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
434
434
|
[key: string]: any;
|
|
435
|
-
}>[], {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("
|
|
435
|
+
}>[], {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("error" | "success")[], "error" | "success", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
436
436
|
onSuccess: {
|
|
437
437
|
type: PropType<() => void>;
|
|
438
438
|
default: undefined;
|
|
@@ -462,11 +462,11 @@ declare const SignUp: import("vue").DefineComponent<import("vue").ExtractPropTyp
|
|
|
462
462
|
default: boolean;
|
|
463
463
|
};
|
|
464
464
|
}>> & Readonly<{
|
|
465
|
-
onSuccess?: ((...args: any[]) => any) | undefined;
|
|
466
465
|
onError?: ((...args: any[]) => any) | undefined;
|
|
466
|
+
onSuccess?: ((...args: any[]) => any) | undefined;
|
|
467
467
|
}>, {
|
|
468
|
-
onSuccess: () => void;
|
|
469
468
|
onError: (error: Error) => void;
|
|
469
|
+
onSuccess: () => void;
|
|
470
470
|
orgSlug: string;
|
|
471
471
|
serviceSlug: string;
|
|
472
472
|
providers: false | SupportedOAuthProvider$1[];
|
|
@@ -708,14 +708,14 @@ declare const MagicLinkSignIn: import("vue").DefineComponent<import("vue").Extra
|
|
|
708
708
|
[key: string]: any;
|
|
709
709
|
}> | import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
710
710
|
[key: string]: any;
|
|
711
|
-
}>[], {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("
|
|
711
|
+
}>[], {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("error" | "success")[], "error" | "success", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
712
712
|
showPasswordSignIn: {
|
|
713
713
|
type: BooleanConstructor;
|
|
714
714
|
default: boolean;
|
|
715
715
|
};
|
|
716
716
|
}>> & Readonly<{
|
|
717
|
-
onSuccess?: ((...args: any[]) => any) | undefined;
|
|
718
717
|
onError?: ((...args: any[]) => any) | undefined;
|
|
718
|
+
onSuccess?: ((...args: any[]) => any) | undefined;
|
|
719
719
|
}>, {
|
|
720
720
|
showPasswordSignIn: boolean;
|
|
721
721
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
@@ -763,7 +763,7 @@ declare const PasskeySignIn: import("vue").DefineComponent<import("vue").Extract
|
|
|
763
763
|
[key: string]: any;
|
|
764
764
|
}> | import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
765
765
|
[key: string]: any;
|
|
766
|
-
}>[], {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("
|
|
766
|
+
}>[], {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("error" | "success")[], "error" | "success", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
767
767
|
showPasswordSignIn: {
|
|
768
768
|
type: BooleanConstructor;
|
|
769
769
|
default: boolean;
|
|
@@ -785,13 +785,13 @@ declare const PasskeySignIn: import("vue").DefineComponent<import("vue").Extract
|
|
|
785
785
|
default: undefined;
|
|
786
786
|
};
|
|
787
787
|
}>> & Readonly<{
|
|
788
|
-
onSuccess?: ((...args: any[]) => any) | undefined;
|
|
789
788
|
onError?: ((...args: any[]) => any) | undefined;
|
|
789
|
+
onSuccess?: ((...args: any[]) => any) | undefined;
|
|
790
790
|
}>, {
|
|
791
|
-
|
|
791
|
+
redirectUri: string;
|
|
792
792
|
orgSlug: string;
|
|
793
793
|
serviceSlug: string;
|
|
794
|
-
|
|
794
|
+
showPasswordSignIn: boolean;
|
|
795
795
|
state: string;
|
|
796
796
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
797
797
|
//#endregion
|
|
@@ -812,7 +812,7 @@ declare const Callback: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
812
812
|
[key: string]: any;
|
|
813
813
|
}> | import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
814
814
|
[key: string]: any;
|
|
815
|
-
}>[], {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("
|
|
815
|
+
}>[], {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("error" | "success")[], "error" | "success", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
816
816
|
onSuccess: {
|
|
817
817
|
type: PropType<() => void>;
|
|
818
818
|
default: undefined;
|
|
@@ -822,11 +822,11 @@ declare const Callback: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
822
822
|
default: undefined;
|
|
823
823
|
};
|
|
824
824
|
}>> & Readonly<{
|
|
825
|
-
onSuccess?: ((...args: any[]) => any) | undefined;
|
|
826
825
|
onError?: ((...args: any[]) => any) | undefined;
|
|
826
|
+
onSuccess?: ((...args: any[]) => any) | undefined;
|
|
827
827
|
}>, {
|
|
828
|
-
onSuccess: () => void;
|
|
829
828
|
onError: (error: Error) => void;
|
|
829
|
+
onSuccess: () => void;
|
|
830
830
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
831
831
|
//#endregion
|
|
832
832
|
export { AUTH_OS_INJECTION_KEY, type AppearanceOptions, type AppearanceVariables, AuthErrorCodes, type AuthOSContext, type AuthOSPluginOptions, AuthOSProvider, type AuthOSState, BrowserStorage, Callback, type CallbackSlotProps, MagicLinkSignIn, MemoryStorage, OAuthButton, type OAuthButtonSlotProps, type OrganizationResponse, OrganizationSwitcher, type OrganizationSwitcherSlotProps, PasskeySignIn, Protect, SignIn, type SignInSlotProps, SignUp, type SignUpSlotProps, SignedIn, SignedOut, SsoApiError, type SsoClient, type SupportedOAuthProvider, type TokenStorage, UserButton, type UserButtonSlotProps, type UserProfile, createAuthOS, useAllPermissions, useAnyPermission, useAuthOS, useOrganization, usePermission, useUser };
|
package/dist/index.d.ts
CHANGED
|
@@ -337,9 +337,9 @@ declare const AuthOSProvider: import("vue").DefineComponent<import("vue").Extrac
|
|
|
337
337
|
default: undefined;
|
|
338
338
|
};
|
|
339
339
|
}>> & Readonly<{}>, {
|
|
340
|
-
redirectUri: string;
|
|
341
340
|
org: string;
|
|
342
341
|
service: string;
|
|
342
|
+
redirectUri: string;
|
|
343
343
|
storage: TokenStorage$1;
|
|
344
344
|
client: SsoClient$1;
|
|
345
345
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
@@ -371,7 +371,7 @@ declare const SignIn: import("vue").DefineComponent<import("vue").ExtractPropTyp
|
|
|
371
371
|
[key: string]: any;
|
|
372
372
|
}> | import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
373
373
|
[key: string]: any;
|
|
374
|
-
}>[], {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("
|
|
374
|
+
}>[], {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("error" | "success")[], "error" | "success", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
375
375
|
onSuccess: {
|
|
376
376
|
type: PropType<() => void>;
|
|
377
377
|
default: undefined;
|
|
@@ -381,11 +381,11 @@ declare const SignIn: import("vue").DefineComponent<import("vue").ExtractPropTyp
|
|
|
381
381
|
default: undefined;
|
|
382
382
|
};
|
|
383
383
|
}>> & Readonly<{
|
|
384
|
-
onSuccess?: ((...args: any[]) => any) | undefined;
|
|
385
384
|
onError?: ((...args: any[]) => any) | undefined;
|
|
385
|
+
onSuccess?: ((...args: any[]) => any) | undefined;
|
|
386
386
|
}>, {
|
|
387
|
-
onSuccess: () => void;
|
|
388
387
|
onError: (error: Error) => void;
|
|
388
|
+
onSuccess: () => void;
|
|
389
389
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
390
390
|
//#endregion
|
|
391
391
|
//#region src/components/SignUp.d.ts
|
|
@@ -432,7 +432,7 @@ declare const SignUp: import("vue").DefineComponent<import("vue").ExtractPropTyp
|
|
|
432
432
|
[key: string]: any;
|
|
433
433
|
}> | import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
434
434
|
[key: string]: any;
|
|
435
|
-
}>[], {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("
|
|
435
|
+
}>[], {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("error" | "success")[], "error" | "success", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
436
436
|
onSuccess: {
|
|
437
437
|
type: PropType<() => void>;
|
|
438
438
|
default: undefined;
|
|
@@ -462,11 +462,11 @@ declare const SignUp: import("vue").DefineComponent<import("vue").ExtractPropTyp
|
|
|
462
462
|
default: boolean;
|
|
463
463
|
};
|
|
464
464
|
}>> & Readonly<{
|
|
465
|
-
onSuccess?: ((...args: any[]) => any) | undefined;
|
|
466
465
|
onError?: ((...args: any[]) => any) | undefined;
|
|
466
|
+
onSuccess?: ((...args: any[]) => any) | undefined;
|
|
467
467
|
}>, {
|
|
468
|
-
onSuccess: () => void;
|
|
469
468
|
onError: (error: Error) => void;
|
|
469
|
+
onSuccess: () => void;
|
|
470
470
|
orgSlug: string;
|
|
471
471
|
serviceSlug: string;
|
|
472
472
|
providers: false | SupportedOAuthProvider$1[];
|
|
@@ -708,14 +708,14 @@ declare const MagicLinkSignIn: import("vue").DefineComponent<import("vue").Extra
|
|
|
708
708
|
[key: string]: any;
|
|
709
709
|
}> | import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
710
710
|
[key: string]: any;
|
|
711
|
-
}>[], {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("
|
|
711
|
+
}>[], {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("error" | "success")[], "error" | "success", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
712
712
|
showPasswordSignIn: {
|
|
713
713
|
type: BooleanConstructor;
|
|
714
714
|
default: boolean;
|
|
715
715
|
};
|
|
716
716
|
}>> & Readonly<{
|
|
717
|
-
onSuccess?: ((...args: any[]) => any) | undefined;
|
|
718
717
|
onError?: ((...args: any[]) => any) | undefined;
|
|
718
|
+
onSuccess?: ((...args: any[]) => any) | undefined;
|
|
719
719
|
}>, {
|
|
720
720
|
showPasswordSignIn: boolean;
|
|
721
721
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
@@ -763,7 +763,7 @@ declare const PasskeySignIn: import("vue").DefineComponent<import("vue").Extract
|
|
|
763
763
|
[key: string]: any;
|
|
764
764
|
}> | import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
765
765
|
[key: string]: any;
|
|
766
|
-
}>[], {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("
|
|
766
|
+
}>[], {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("error" | "success")[], "error" | "success", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
767
767
|
showPasswordSignIn: {
|
|
768
768
|
type: BooleanConstructor;
|
|
769
769
|
default: boolean;
|
|
@@ -785,13 +785,13 @@ declare const PasskeySignIn: import("vue").DefineComponent<import("vue").Extract
|
|
|
785
785
|
default: undefined;
|
|
786
786
|
};
|
|
787
787
|
}>> & Readonly<{
|
|
788
|
-
onSuccess?: ((...args: any[]) => any) | undefined;
|
|
789
788
|
onError?: ((...args: any[]) => any) | undefined;
|
|
789
|
+
onSuccess?: ((...args: any[]) => any) | undefined;
|
|
790
790
|
}>, {
|
|
791
|
-
|
|
791
|
+
redirectUri: string;
|
|
792
792
|
orgSlug: string;
|
|
793
793
|
serviceSlug: string;
|
|
794
|
-
|
|
794
|
+
showPasswordSignIn: boolean;
|
|
795
795
|
state: string;
|
|
796
796
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
797
797
|
//#endregion
|
|
@@ -812,7 +812,7 @@ declare const Callback: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
812
812
|
[key: string]: any;
|
|
813
813
|
}> | import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
814
814
|
[key: string]: any;
|
|
815
|
-
}>[], {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("
|
|
815
|
+
}>[], {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("error" | "success")[], "error" | "success", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
816
816
|
onSuccess: {
|
|
817
817
|
type: PropType<() => void>;
|
|
818
818
|
default: undefined;
|
|
@@ -822,11 +822,11 @@ declare const Callback: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
822
822
|
default: undefined;
|
|
823
823
|
};
|
|
824
824
|
}>> & Readonly<{
|
|
825
|
-
onSuccess?: ((...args: any[]) => any) | undefined;
|
|
826
825
|
onError?: ((...args: any[]) => any) | undefined;
|
|
826
|
+
onSuccess?: ((...args: any[]) => any) | undefined;
|
|
827
827
|
}>, {
|
|
828
|
-
onSuccess: () => void;
|
|
829
828
|
onError: (error: Error) => void;
|
|
829
|
+
onSuccess: () => void;
|
|
830
830
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
831
831
|
//#endregion
|
|
832
832
|
export { AUTH_OS_INJECTION_KEY, type AppearanceOptions, type AppearanceVariables, AuthErrorCodes, type AuthOSContext, type AuthOSPluginOptions, AuthOSProvider, type AuthOSState, BrowserStorage, Callback, type CallbackSlotProps, MagicLinkSignIn, MemoryStorage, OAuthButton, type OAuthButtonSlotProps, type OrganizationResponse, OrganizationSwitcher, type OrganizationSwitcherSlotProps, PasskeySignIn, Protect, SignIn, type SignInSlotProps, SignUp, type SignUpSlotProps, SignedIn, SignedOut, SsoApiError, type SsoClient, type SupportedOAuthProvider, type TokenStorage, UserButton, type UserButtonSlotProps, type UserProfile, createAuthOS, useAllPermissions, useAnyPermission, useAuthOS, useOrganization, usePermission, useUser };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@drmhse/authos-vue",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.8.1",
|
|
4
4
|
"description": "Vue and Nuxt adapter for AuthOS authentication",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"module": "dist/index.mjs",
|
|
@@ -69,6 +69,6 @@
|
|
|
69
69
|
"access": "public"
|
|
70
70
|
},
|
|
71
71
|
"dependencies": {
|
|
72
|
-
"@drmhse/sso-sdk": "
|
|
72
|
+
"@drmhse/sso-sdk": "0.8.1"
|
|
73
73
|
}
|
|
74
74
|
}
|