authhero 0.199.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 -89
- package/dist/authhero.mjs +7319 -7064
- 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,33 +20647,21 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
20655
20647
|
$get: {
|
|
20656
20648
|
input: {
|
|
20657
20649
|
query: {
|
|
20658
|
-
|
|
20659
|
-
user_id?: string | undefined;
|
|
20650
|
+
state: string;
|
|
20660
20651
|
};
|
|
20661
20652
|
};
|
|
20662
|
-
output:
|
|
20663
|
-
outputFormat:
|
|
20664
|
-
status:
|
|
20653
|
+
output: Response;
|
|
20654
|
+
outputFormat: "json";
|
|
20655
|
+
status: import("hono/utils/http-status").StatusCode;
|
|
20665
20656
|
} | {
|
|
20666
20657
|
input: {
|
|
20667
20658
|
query: {
|
|
20668
|
-
|
|
20669
|
-
user_id?: string | undefined;
|
|
20659
|
+
state: string;
|
|
20670
20660
|
};
|
|
20671
20661
|
};
|
|
20672
20662
|
output: {};
|
|
20673
20663
|
outputFormat: string;
|
|
20674
20664
|
status: 302;
|
|
20675
|
-
} | {
|
|
20676
|
-
input: {
|
|
20677
|
-
query: {
|
|
20678
|
-
client_id: string;
|
|
20679
|
-
user_id?: string | undefined;
|
|
20680
|
-
};
|
|
20681
|
-
};
|
|
20682
|
-
output: {};
|
|
20683
|
-
outputFormat: string;
|
|
20684
|
-
status: 500;
|
|
20685
20665
|
};
|
|
20686
20666
|
};
|
|
20687
20667
|
} & {
|
|
@@ -20689,7 +20669,7 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
20689
20669
|
$post: {
|
|
20690
20670
|
input: {
|
|
20691
20671
|
query: {
|
|
20692
|
-
|
|
20672
|
+
state: string;
|
|
20693
20673
|
};
|
|
20694
20674
|
} & {
|
|
20695
20675
|
form: {
|
|
@@ -20699,13 +20679,13 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
20699
20679
|
provider?: string | undefined;
|
|
20700
20680
|
};
|
|
20701
20681
|
};
|
|
20702
|
-
output:
|
|
20703
|
-
outputFormat:
|
|
20704
|
-
status:
|
|
20682
|
+
output: Response;
|
|
20683
|
+
outputFormat: "json";
|
|
20684
|
+
status: import("hono/utils/http-status").StatusCode;
|
|
20705
20685
|
} | {
|
|
20706
20686
|
input: {
|
|
20707
20687
|
query: {
|
|
20708
|
-
|
|
20688
|
+
state: string;
|
|
20709
20689
|
};
|
|
20710
20690
|
} & {
|
|
20711
20691
|
form: {
|
|
@@ -20718,22 +20698,6 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
20718
20698
|
output: {};
|
|
20719
20699
|
outputFormat: string;
|
|
20720
20700
|
status: 302;
|
|
20721
|
-
} | {
|
|
20722
|
-
input: {
|
|
20723
|
-
query: {
|
|
20724
|
-
client_id: string;
|
|
20725
|
-
};
|
|
20726
|
-
} & {
|
|
20727
|
-
form: {
|
|
20728
|
-
action: "update_email" | "unlink_account";
|
|
20729
|
-
email?: string | undefined;
|
|
20730
|
-
user_id?: string | undefined;
|
|
20731
|
-
provider?: string | undefined;
|
|
20732
|
-
};
|
|
20733
|
-
};
|
|
20734
|
-
output: {};
|
|
20735
|
-
outputFormat: string;
|
|
20736
|
-
status: 400;
|
|
20737
20701
|
};
|
|
20738
20702
|
};
|
|
20739
20703
|
}, "/account"> & import("hono/types").MergeSchemaPath<{
|