authhero 4.80.0 → 4.81.0
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/authhero.cjs +30 -30
- package/dist/authhero.d.ts +13 -0
- package/dist/authhero.mjs +654 -613
- package/dist/stats.html +1 -1
- package/package.json +1 -1
package/dist/authhero.d.ts
CHANGED
|
@@ -50500,6 +50500,9 @@ export type OnExecutePreUserRegistrationAPI = {
|
|
|
50500
50500
|
setUserMetadata: (key: string, value: any) => void;
|
|
50501
50501
|
setLinkedTo: (primaryUserId: string) => void;
|
|
50502
50502
|
};
|
|
50503
|
+
access: {
|
|
50504
|
+
deny: (code: string, reason?: string) => void;
|
|
50505
|
+
};
|
|
50503
50506
|
token: TokenAPI;
|
|
50504
50507
|
};
|
|
50505
50508
|
export type OnExecutePostUserRegistrationAPI = {
|
|
@@ -62650,6 +62653,7 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
62650
62653
|
grant_type: "refresh_token";
|
|
62651
62654
|
client_id?: string | undefined;
|
|
62652
62655
|
client_secret?: string | undefined;
|
|
62656
|
+
organization?: string | undefined;
|
|
62653
62657
|
redirect_uri?: string | undefined;
|
|
62654
62658
|
} | {
|
|
62655
62659
|
client_id: string;
|
|
@@ -62685,6 +62689,7 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
62685
62689
|
grant_type: "refresh_token";
|
|
62686
62690
|
client_id?: string | undefined;
|
|
62687
62691
|
client_secret?: string | undefined;
|
|
62692
|
+
organization?: string | undefined;
|
|
62688
62693
|
redirect_uri?: string | undefined;
|
|
62689
62694
|
} | {
|
|
62690
62695
|
client_id: string;
|
|
@@ -62725,6 +62730,7 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
62725
62730
|
grant_type: "refresh_token";
|
|
62726
62731
|
client_id?: string | undefined;
|
|
62727
62732
|
client_secret?: string | undefined;
|
|
62733
|
+
organization?: string | undefined;
|
|
62728
62734
|
redirect_uri?: string | undefined;
|
|
62729
62735
|
} | {
|
|
62730
62736
|
client_id: string;
|
|
@@ -62760,6 +62766,7 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
62760
62766
|
grant_type: "refresh_token";
|
|
62761
62767
|
client_id?: string | undefined;
|
|
62762
62768
|
client_secret?: string | undefined;
|
|
62769
|
+
organization?: string | undefined;
|
|
62763
62770
|
redirect_uri?: string | undefined;
|
|
62764
62771
|
} | {
|
|
62765
62772
|
client_id: string;
|
|
@@ -62808,6 +62815,7 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
62808
62815
|
grant_type: "refresh_token";
|
|
62809
62816
|
client_id?: string | undefined;
|
|
62810
62817
|
client_secret?: string | undefined;
|
|
62818
|
+
organization?: string | undefined;
|
|
62811
62819
|
redirect_uri?: string | undefined;
|
|
62812
62820
|
} | {
|
|
62813
62821
|
client_id: string;
|
|
@@ -62843,6 +62851,7 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
62843
62851
|
grant_type: "refresh_token";
|
|
62844
62852
|
client_id?: string | undefined;
|
|
62845
62853
|
client_secret?: string | undefined;
|
|
62854
|
+
organization?: string | undefined;
|
|
62846
62855
|
redirect_uri?: string | undefined;
|
|
62847
62856
|
} | {
|
|
62848
62857
|
client_id: string;
|
|
@@ -62886,6 +62895,7 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
62886
62895
|
grant_type: "refresh_token";
|
|
62887
62896
|
client_id?: string | undefined;
|
|
62888
62897
|
client_secret?: string | undefined;
|
|
62898
|
+
organization?: string | undefined;
|
|
62889
62899
|
redirect_uri?: string | undefined;
|
|
62890
62900
|
} | {
|
|
62891
62901
|
client_id: string;
|
|
@@ -62921,6 +62931,7 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
62921
62931
|
grant_type: "refresh_token";
|
|
62922
62932
|
client_id?: string | undefined;
|
|
62923
62933
|
client_secret?: string | undefined;
|
|
62934
|
+
organization?: string | undefined;
|
|
62924
62935
|
redirect_uri?: string | undefined;
|
|
62925
62936
|
} | {
|
|
62926
62937
|
client_id: string;
|
|
@@ -62964,6 +62975,7 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
62964
62975
|
grant_type: "refresh_token";
|
|
62965
62976
|
client_id?: string | undefined;
|
|
62966
62977
|
client_secret?: string | undefined;
|
|
62978
|
+
organization?: string | undefined;
|
|
62967
62979
|
redirect_uri?: string | undefined;
|
|
62968
62980
|
} | {
|
|
62969
62981
|
client_id: string;
|
|
@@ -62999,6 +63011,7 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
62999
63011
|
grant_type: "refresh_token";
|
|
63000
63012
|
client_id?: string | undefined;
|
|
63001
63013
|
client_secret?: string | undefined;
|
|
63014
|
+
organization?: string | undefined;
|
|
63002
63015
|
redirect_uri?: string | undefined;
|
|
63003
63016
|
} | {
|
|
63004
63017
|
client_id: string;
|