authhero 0.228.0 → 0.230.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 +44 -44
- package/dist/authhero.d.ts +165 -0
- package/dist/authhero.mjs +1934 -1929
- package/package.json +1 -1
package/dist/authhero.d.ts
CHANGED
|
@@ -21497,6 +21497,39 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
21497
21497
|
grant_type: "http://auth0.com/oauth/grant-type/passwordless/otp";
|
|
21498
21498
|
realm: "email" | "sms";
|
|
21499
21499
|
};
|
|
21500
|
+
} & {
|
|
21501
|
+
json: {
|
|
21502
|
+
grant_type: "client_credentials";
|
|
21503
|
+
client_id?: string | undefined;
|
|
21504
|
+
audience?: string | undefined;
|
|
21505
|
+
scope?: string | undefined;
|
|
21506
|
+
client_secret?: string | undefined;
|
|
21507
|
+
} | {
|
|
21508
|
+
code: string;
|
|
21509
|
+
client_id: string;
|
|
21510
|
+
redirect_uri: string;
|
|
21511
|
+
grant_type: "authorization_code";
|
|
21512
|
+
code_verifier: string;
|
|
21513
|
+
organization?: string | undefined;
|
|
21514
|
+
} | {
|
|
21515
|
+
code: string;
|
|
21516
|
+
grant_type: "authorization_code";
|
|
21517
|
+
client_id?: string | undefined;
|
|
21518
|
+
organization?: string | undefined;
|
|
21519
|
+
client_secret?: string | undefined;
|
|
21520
|
+
redirect_uri?: string | undefined;
|
|
21521
|
+
} | {
|
|
21522
|
+
client_id: string;
|
|
21523
|
+
refresh_token: string;
|
|
21524
|
+
grant_type: "refresh_token";
|
|
21525
|
+
redirect_uri?: string | undefined;
|
|
21526
|
+
} | {
|
|
21527
|
+
client_id: string;
|
|
21528
|
+
username: string;
|
|
21529
|
+
otp: string;
|
|
21530
|
+
grant_type: "http://auth0.com/oauth/grant-type/passwordless/otp";
|
|
21531
|
+
realm: "email" | "sms";
|
|
21532
|
+
};
|
|
21500
21533
|
};
|
|
21501
21534
|
output: {};
|
|
21502
21535
|
outputFormat: string;
|
|
@@ -21535,6 +21568,39 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
21535
21568
|
grant_type: "http://auth0.com/oauth/grant-type/passwordless/otp";
|
|
21536
21569
|
realm: "email" | "sms";
|
|
21537
21570
|
};
|
|
21571
|
+
} & {
|
|
21572
|
+
json: {
|
|
21573
|
+
grant_type: "client_credentials";
|
|
21574
|
+
client_id?: string | undefined;
|
|
21575
|
+
audience?: string | undefined;
|
|
21576
|
+
scope?: string | undefined;
|
|
21577
|
+
client_secret?: string | undefined;
|
|
21578
|
+
} | {
|
|
21579
|
+
code: string;
|
|
21580
|
+
client_id: string;
|
|
21581
|
+
redirect_uri: string;
|
|
21582
|
+
grant_type: "authorization_code";
|
|
21583
|
+
code_verifier: string;
|
|
21584
|
+
organization?: string | undefined;
|
|
21585
|
+
} | {
|
|
21586
|
+
code: string;
|
|
21587
|
+
grant_type: "authorization_code";
|
|
21588
|
+
client_id?: string | undefined;
|
|
21589
|
+
organization?: string | undefined;
|
|
21590
|
+
client_secret?: string | undefined;
|
|
21591
|
+
redirect_uri?: string | undefined;
|
|
21592
|
+
} | {
|
|
21593
|
+
client_id: string;
|
|
21594
|
+
refresh_token: string;
|
|
21595
|
+
grant_type: "refresh_token";
|
|
21596
|
+
redirect_uri?: string | undefined;
|
|
21597
|
+
} | {
|
|
21598
|
+
client_id: string;
|
|
21599
|
+
username: string;
|
|
21600
|
+
otp: string;
|
|
21601
|
+
grant_type: "http://auth0.com/oauth/grant-type/passwordless/otp";
|
|
21602
|
+
realm: "email" | "sms";
|
|
21603
|
+
};
|
|
21538
21604
|
};
|
|
21539
21605
|
output: {
|
|
21540
21606
|
access_token: string;
|
|
@@ -21581,6 +21647,39 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
21581
21647
|
grant_type: "http://auth0.com/oauth/grant-type/passwordless/otp";
|
|
21582
21648
|
realm: "email" | "sms";
|
|
21583
21649
|
};
|
|
21650
|
+
} & {
|
|
21651
|
+
json: {
|
|
21652
|
+
grant_type: "client_credentials";
|
|
21653
|
+
client_id?: string | undefined;
|
|
21654
|
+
audience?: string | undefined;
|
|
21655
|
+
scope?: string | undefined;
|
|
21656
|
+
client_secret?: string | undefined;
|
|
21657
|
+
} | {
|
|
21658
|
+
code: string;
|
|
21659
|
+
client_id: string;
|
|
21660
|
+
redirect_uri: string;
|
|
21661
|
+
grant_type: "authorization_code";
|
|
21662
|
+
code_verifier: string;
|
|
21663
|
+
organization?: string | undefined;
|
|
21664
|
+
} | {
|
|
21665
|
+
code: string;
|
|
21666
|
+
grant_type: "authorization_code";
|
|
21667
|
+
client_id?: string | undefined;
|
|
21668
|
+
organization?: string | undefined;
|
|
21669
|
+
client_secret?: string | undefined;
|
|
21670
|
+
redirect_uri?: string | undefined;
|
|
21671
|
+
} | {
|
|
21672
|
+
client_id: string;
|
|
21673
|
+
refresh_token: string;
|
|
21674
|
+
grant_type: "refresh_token";
|
|
21675
|
+
redirect_uri?: string | undefined;
|
|
21676
|
+
} | {
|
|
21677
|
+
client_id: string;
|
|
21678
|
+
username: string;
|
|
21679
|
+
otp: string;
|
|
21680
|
+
grant_type: "http://auth0.com/oauth/grant-type/passwordless/otp";
|
|
21681
|
+
realm: "email" | "sms";
|
|
21682
|
+
};
|
|
21584
21683
|
};
|
|
21585
21684
|
output: {
|
|
21586
21685
|
error: string;
|
|
@@ -21622,6 +21721,39 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
21622
21721
|
grant_type: "http://auth0.com/oauth/grant-type/passwordless/otp";
|
|
21623
21722
|
realm: "email" | "sms";
|
|
21624
21723
|
};
|
|
21724
|
+
} & {
|
|
21725
|
+
json: {
|
|
21726
|
+
grant_type: "client_credentials";
|
|
21727
|
+
client_id?: string | undefined;
|
|
21728
|
+
audience?: string | undefined;
|
|
21729
|
+
scope?: string | undefined;
|
|
21730
|
+
client_secret?: string | undefined;
|
|
21731
|
+
} | {
|
|
21732
|
+
code: string;
|
|
21733
|
+
client_id: string;
|
|
21734
|
+
redirect_uri: string;
|
|
21735
|
+
grant_type: "authorization_code";
|
|
21736
|
+
code_verifier: string;
|
|
21737
|
+
organization?: string | undefined;
|
|
21738
|
+
} | {
|
|
21739
|
+
code: string;
|
|
21740
|
+
grant_type: "authorization_code";
|
|
21741
|
+
client_id?: string | undefined;
|
|
21742
|
+
organization?: string | undefined;
|
|
21743
|
+
client_secret?: string | undefined;
|
|
21744
|
+
redirect_uri?: string | undefined;
|
|
21745
|
+
} | {
|
|
21746
|
+
client_id: string;
|
|
21747
|
+
refresh_token: string;
|
|
21748
|
+
grant_type: "refresh_token";
|
|
21749
|
+
redirect_uri?: string | undefined;
|
|
21750
|
+
} | {
|
|
21751
|
+
client_id: string;
|
|
21752
|
+
username: string;
|
|
21753
|
+
otp: string;
|
|
21754
|
+
grant_type: "http://auth0.com/oauth/grant-type/passwordless/otp";
|
|
21755
|
+
realm: "email" | "sms";
|
|
21756
|
+
};
|
|
21625
21757
|
};
|
|
21626
21758
|
output: {
|
|
21627
21759
|
error: string;
|
|
@@ -21663,6 +21795,39 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
21663
21795
|
grant_type: "http://auth0.com/oauth/grant-type/passwordless/otp";
|
|
21664
21796
|
realm: "email" | "sms";
|
|
21665
21797
|
};
|
|
21798
|
+
} & {
|
|
21799
|
+
json: {
|
|
21800
|
+
grant_type: "client_credentials";
|
|
21801
|
+
client_id?: string | undefined;
|
|
21802
|
+
audience?: string | undefined;
|
|
21803
|
+
scope?: string | undefined;
|
|
21804
|
+
client_secret?: string | undefined;
|
|
21805
|
+
} | {
|
|
21806
|
+
code: string;
|
|
21807
|
+
client_id: string;
|
|
21808
|
+
redirect_uri: string;
|
|
21809
|
+
grant_type: "authorization_code";
|
|
21810
|
+
code_verifier: string;
|
|
21811
|
+
organization?: string | undefined;
|
|
21812
|
+
} | {
|
|
21813
|
+
code: string;
|
|
21814
|
+
grant_type: "authorization_code";
|
|
21815
|
+
client_id?: string | undefined;
|
|
21816
|
+
organization?: string | undefined;
|
|
21817
|
+
client_secret?: string | undefined;
|
|
21818
|
+
redirect_uri?: string | undefined;
|
|
21819
|
+
} | {
|
|
21820
|
+
client_id: string;
|
|
21821
|
+
refresh_token: string;
|
|
21822
|
+
grant_type: "refresh_token";
|
|
21823
|
+
redirect_uri?: string | undefined;
|
|
21824
|
+
} | {
|
|
21825
|
+
client_id: string;
|
|
21826
|
+
username: string;
|
|
21827
|
+
otp: string;
|
|
21828
|
+
grant_type: "http://auth0.com/oauth/grant-type/passwordless/otp";
|
|
21829
|
+
realm: "email" | "sms";
|
|
21830
|
+
};
|
|
21666
21831
|
};
|
|
21667
21832
|
output: {
|
|
21668
21833
|
error: string;
|