authhero 0.198.0 → 0.200.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 +49 -49
- package/dist/authhero.d.ts +53 -86
- package/dist/authhero.mjs +5517 -5255
- package/package.json +1 -1
package/dist/authhero.d.ts
CHANGED
|
@@ -19509,6 +19509,34 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
19509
19509
|
};
|
|
19510
19510
|
};
|
|
19511
19511
|
}, "/callback"> & import("hono/types").MergeSchemaPath<{
|
|
19512
|
+
"/": {
|
|
19513
|
+
$get: {
|
|
19514
|
+
input: {
|
|
19515
|
+
query: {
|
|
19516
|
+
client_id: string;
|
|
19517
|
+
login_hint?: string | undefined;
|
|
19518
|
+
redirect_url?: string | undefined;
|
|
19519
|
+
};
|
|
19520
|
+
};
|
|
19521
|
+
output: {};
|
|
19522
|
+
outputFormat: string;
|
|
19523
|
+
status: 302;
|
|
19524
|
+
} | {
|
|
19525
|
+
input: {
|
|
19526
|
+
query: {
|
|
19527
|
+
client_id: string;
|
|
19528
|
+
login_hint?: string | undefined;
|
|
19529
|
+
redirect_url?: string | undefined;
|
|
19530
|
+
};
|
|
19531
|
+
};
|
|
19532
|
+
output: {
|
|
19533
|
+
message: string;
|
|
19534
|
+
};
|
|
19535
|
+
outputFormat: "json";
|
|
19536
|
+
status: 400;
|
|
19537
|
+
};
|
|
19538
|
+
};
|
|
19539
|
+
}, "/account"> & import("hono/types").MergeSchemaPath<{
|
|
19512
19540
|
"/": {
|
|
19513
19541
|
$get: {
|
|
19514
19542
|
input: {
|
|
@@ -20536,32 +20564,22 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
20536
20564
|
input: {
|
|
20537
20565
|
query: {
|
|
20538
20566
|
email: string;
|
|
20539
|
-
|
|
20567
|
+
state: string;
|
|
20540
20568
|
};
|
|
20541
20569
|
};
|
|
20542
|
-
output:
|
|
20543
|
-
outputFormat:
|
|
20544
|
-
status:
|
|
20570
|
+
output: Response;
|
|
20571
|
+
outputFormat: "json";
|
|
20572
|
+
status: import("hono/utils/http-status").StatusCode;
|
|
20545
20573
|
} | {
|
|
20546
20574
|
input: {
|
|
20547
20575
|
query: {
|
|
20548
20576
|
email: string;
|
|
20549
|
-
|
|
20577
|
+
state: string;
|
|
20550
20578
|
};
|
|
20551
20579
|
};
|
|
20552
20580
|
output: {};
|
|
20553
20581
|
outputFormat: string;
|
|
20554
20582
|
status: 302;
|
|
20555
|
-
} | {
|
|
20556
|
-
input: {
|
|
20557
|
-
query: {
|
|
20558
|
-
email: string;
|
|
20559
|
-
client_id: string;
|
|
20560
|
-
};
|
|
20561
|
-
};
|
|
20562
|
-
output: {};
|
|
20563
|
-
outputFormat: string;
|
|
20564
|
-
status: 500;
|
|
20565
20583
|
};
|
|
20566
20584
|
};
|
|
20567
20585
|
}, "/change-email-confirmation"> & import("hono/types").MergeSchemaPath<{
|
|
@@ -20570,35 +20588,24 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
20570
20588
|
input: {
|
|
20571
20589
|
query: {
|
|
20572
20590
|
email: string;
|
|
20573
|
-
|
|
20591
|
+
state: string;
|
|
20574
20592
|
change_id: string;
|
|
20575
20593
|
};
|
|
20576
20594
|
};
|
|
20577
|
-
output:
|
|
20578
|
-
outputFormat:
|
|
20579
|
-
status:
|
|
20595
|
+
output: Response;
|
|
20596
|
+
outputFormat: "json";
|
|
20597
|
+
status: import("hono/utils/http-status").StatusCode;
|
|
20580
20598
|
} | {
|
|
20581
20599
|
input: {
|
|
20582
20600
|
query: {
|
|
20583
20601
|
email: string;
|
|
20584
|
-
|
|
20602
|
+
state: string;
|
|
20585
20603
|
change_id: string;
|
|
20586
20604
|
};
|
|
20587
20605
|
};
|
|
20588
20606
|
output: {};
|
|
20589
20607
|
outputFormat: string;
|
|
20590
20608
|
status: 302;
|
|
20591
|
-
} | {
|
|
20592
|
-
input: {
|
|
20593
|
-
query: {
|
|
20594
|
-
email: string;
|
|
20595
|
-
client_id: string;
|
|
20596
|
-
change_id: string;
|
|
20597
|
-
};
|
|
20598
|
-
};
|
|
20599
|
-
output: {};
|
|
20600
|
-
outputFormat: string;
|
|
20601
|
-
status: 500;
|
|
20602
20609
|
};
|
|
20603
20610
|
};
|
|
20604
20611
|
} & {
|
|
@@ -20607,7 +20614,7 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
20607
20614
|
input: {
|
|
20608
20615
|
query: {
|
|
20609
20616
|
email: string;
|
|
20610
|
-
|
|
20617
|
+
state: string;
|
|
20611
20618
|
change_id: string;
|
|
20612
20619
|
};
|
|
20613
20620
|
} & {
|
|
@@ -20615,14 +20622,14 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
20615
20622
|
code: string;
|
|
20616
20623
|
};
|
|
20617
20624
|
};
|
|
20618
|
-
output:
|
|
20619
|
-
outputFormat:
|
|
20620
|
-
status:
|
|
20625
|
+
output: Response;
|
|
20626
|
+
outputFormat: "json";
|
|
20627
|
+
status: import("hono/utils/http-status").StatusCode;
|
|
20621
20628
|
} | {
|
|
20622
20629
|
input: {
|
|
20623
20630
|
query: {
|
|
20624
20631
|
email: string;
|
|
20625
|
-
|
|
20632
|
+
state: string;
|
|
20626
20633
|
change_id: string;
|
|
20627
20634
|
};
|
|
20628
20635
|
} & {
|
|
@@ -20633,21 +20640,6 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
20633
20640
|
output: {};
|
|
20634
20641
|
outputFormat: string;
|
|
20635
20642
|
status: 302;
|
|
20636
|
-
} | {
|
|
20637
|
-
input: {
|
|
20638
|
-
query: {
|
|
20639
|
-
email: string;
|
|
20640
|
-
client_id: string;
|
|
20641
|
-
change_id: string;
|
|
20642
|
-
};
|
|
20643
|
-
} & {
|
|
20644
|
-
form: {
|
|
20645
|
-
code: string;
|
|
20646
|
-
};
|
|
20647
|
-
};
|
|
20648
|
-
output: {};
|
|
20649
|
-
outputFormat: string;
|
|
20650
|
-
status: 400;
|
|
20651
20643
|
};
|
|
20652
20644
|
};
|
|
20653
20645
|
}, "/change-email"> & import("hono/types").MergeSchemaPath<{
|
|
@@ -20655,30 +20647,21 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
20655
20647
|
$get: {
|
|
20656
20648
|
input: {
|
|
20657
20649
|
query: {
|
|
20658
|
-
|
|
20650
|
+
state: string;
|
|
20659
20651
|
};
|
|
20660
20652
|
};
|
|
20661
|
-
output:
|
|
20662
|
-
outputFormat:
|
|
20663
|
-
status:
|
|
20653
|
+
output: Response;
|
|
20654
|
+
outputFormat: "json";
|
|
20655
|
+
status: import("hono/utils/http-status").StatusCode;
|
|
20664
20656
|
} | {
|
|
20665
20657
|
input: {
|
|
20666
20658
|
query: {
|
|
20667
|
-
|
|
20659
|
+
state: string;
|
|
20668
20660
|
};
|
|
20669
20661
|
};
|
|
20670
20662
|
output: {};
|
|
20671
20663
|
outputFormat: string;
|
|
20672
20664
|
status: 302;
|
|
20673
|
-
} | {
|
|
20674
|
-
input: {
|
|
20675
|
-
query: {
|
|
20676
|
-
client_id: string;
|
|
20677
|
-
};
|
|
20678
|
-
};
|
|
20679
|
-
output: {};
|
|
20680
|
-
outputFormat: string;
|
|
20681
|
-
status: 500;
|
|
20682
20665
|
};
|
|
20683
20666
|
};
|
|
20684
20667
|
} & {
|
|
@@ -20686,7 +20669,7 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
20686
20669
|
$post: {
|
|
20687
20670
|
input: {
|
|
20688
20671
|
query: {
|
|
20689
|
-
|
|
20672
|
+
state: string;
|
|
20690
20673
|
};
|
|
20691
20674
|
} & {
|
|
20692
20675
|
form: {
|
|
@@ -20696,13 +20679,13 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
20696
20679
|
provider?: string | undefined;
|
|
20697
20680
|
};
|
|
20698
20681
|
};
|
|
20699
|
-
output:
|
|
20700
|
-
outputFormat:
|
|
20701
|
-
status:
|
|
20682
|
+
output: Response;
|
|
20683
|
+
outputFormat: "json";
|
|
20684
|
+
status: import("hono/utils/http-status").StatusCode;
|
|
20702
20685
|
} | {
|
|
20703
20686
|
input: {
|
|
20704
20687
|
query: {
|
|
20705
|
-
|
|
20688
|
+
state: string;
|
|
20706
20689
|
};
|
|
20707
20690
|
} & {
|
|
20708
20691
|
form: {
|
|
@@ -20715,22 +20698,6 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
20715
20698
|
output: {};
|
|
20716
20699
|
outputFormat: string;
|
|
20717
20700
|
status: 302;
|
|
20718
|
-
} | {
|
|
20719
|
-
input: {
|
|
20720
|
-
query: {
|
|
20721
|
-
client_id: string;
|
|
20722
|
-
};
|
|
20723
|
-
} & {
|
|
20724
|
-
form: {
|
|
20725
|
-
action: "update_email" | "unlink_account";
|
|
20726
|
-
email?: string | undefined;
|
|
20727
|
-
user_id?: string | undefined;
|
|
20728
|
-
provider?: string | undefined;
|
|
20729
|
-
};
|
|
20730
|
-
};
|
|
20731
|
-
output: {};
|
|
20732
|
-
outputFormat: string;
|
|
20733
|
-
status: 400;
|
|
20734
20701
|
};
|
|
20735
20702
|
};
|
|
20736
20703
|
}, "/account"> & import("hono/types").MergeSchemaPath<{
|