authhero 0.213.0 → 0.214.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 +51 -51
- package/dist/authhero.d.ts +52 -13
- package/dist/authhero.mjs +4420 -4239
- package/package.json +1 -1
package/dist/authhero.d.ts
CHANGED
|
@@ -21089,8 +21089,8 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
21089
21089
|
state: string;
|
|
21090
21090
|
code?: string | undefined;
|
|
21091
21091
|
error?: string | undefined;
|
|
21092
|
-
scope?: string | undefined;
|
|
21093
21092
|
error_description?: string | undefined;
|
|
21093
|
+
scope?: string | undefined;
|
|
21094
21094
|
error_reason?: string | undefined;
|
|
21095
21095
|
error_code?: string | undefined;
|
|
21096
21096
|
hd?: string | undefined;
|
|
@@ -21105,8 +21105,8 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
21105
21105
|
state: string;
|
|
21106
21106
|
code?: string | undefined;
|
|
21107
21107
|
error?: string | undefined;
|
|
21108
|
-
scope?: string | undefined;
|
|
21109
21108
|
error_description?: string | undefined;
|
|
21109
|
+
scope?: string | undefined;
|
|
21110
21110
|
error_reason?: string | undefined;
|
|
21111
21111
|
error_code?: string | undefined;
|
|
21112
21112
|
hd?: string | undefined;
|
|
@@ -21123,8 +21123,8 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
21123
21123
|
state: string;
|
|
21124
21124
|
code?: string | undefined;
|
|
21125
21125
|
error?: string | undefined;
|
|
21126
|
-
scope?: string | undefined;
|
|
21127
21126
|
error_description?: string | undefined;
|
|
21127
|
+
scope?: string | undefined;
|
|
21128
21128
|
error_reason?: string | undefined;
|
|
21129
21129
|
error_code?: string | undefined;
|
|
21130
21130
|
hd?: string | undefined;
|
|
@@ -21145,8 +21145,8 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
21145
21145
|
state: string;
|
|
21146
21146
|
code?: string | undefined;
|
|
21147
21147
|
error?: string | undefined;
|
|
21148
|
-
scope?: string | undefined;
|
|
21149
21148
|
error_description?: string | undefined;
|
|
21149
|
+
scope?: string | undefined;
|
|
21150
21150
|
error_reason?: string | undefined;
|
|
21151
21151
|
error_code?: string | undefined;
|
|
21152
21152
|
hd?: string | undefined;
|
|
@@ -21161,8 +21161,8 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
21161
21161
|
state: string;
|
|
21162
21162
|
code?: string | undefined;
|
|
21163
21163
|
error?: string | undefined;
|
|
21164
|
-
scope?: string | undefined;
|
|
21165
21164
|
error_description?: string | undefined;
|
|
21165
|
+
scope?: string | undefined;
|
|
21166
21166
|
error_reason?: string | undefined;
|
|
21167
21167
|
error_code?: string | undefined;
|
|
21168
21168
|
hd?: string | undefined;
|
|
@@ -21179,8 +21179,8 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
21179
21179
|
state: string;
|
|
21180
21180
|
code?: string | undefined;
|
|
21181
21181
|
error?: string | undefined;
|
|
21182
|
-
scope?: string | undefined;
|
|
21183
21182
|
error_description?: string | undefined;
|
|
21183
|
+
scope?: string | undefined;
|
|
21184
21184
|
error_reason?: string | undefined;
|
|
21185
21185
|
error_code?: string | undefined;
|
|
21186
21186
|
hd?: string | undefined;
|
|
@@ -21240,10 +21240,10 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
21240
21240
|
auth0Client?: string | undefined;
|
|
21241
21241
|
login_ticket?: string | undefined;
|
|
21242
21242
|
screen_hint?: string | undefined;
|
|
21243
|
+
organization?: string | undefined;
|
|
21243
21244
|
code_challenge?: string | undefined;
|
|
21244
21245
|
code_challenge_method?: CodeChallengeMethod | undefined;
|
|
21245
21246
|
realm?: string | undefined;
|
|
21246
|
-
organization?: string | undefined;
|
|
21247
21247
|
prompt?: string | undefined;
|
|
21248
21248
|
ui_locales?: string | undefined;
|
|
21249
21249
|
vendor_id?: string | undefined;
|
|
@@ -21269,10 +21269,10 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
21269
21269
|
auth0Client?: string | undefined;
|
|
21270
21270
|
login_ticket?: string | undefined;
|
|
21271
21271
|
screen_hint?: string | undefined;
|
|
21272
|
+
organization?: string | undefined;
|
|
21272
21273
|
code_challenge?: string | undefined;
|
|
21273
21274
|
code_challenge_method?: CodeChallengeMethod | undefined;
|
|
21274
21275
|
realm?: string | undefined;
|
|
21275
|
-
organization?: string | undefined;
|
|
21276
21276
|
prompt?: string | undefined;
|
|
21277
21277
|
ui_locales?: string | undefined;
|
|
21278
21278
|
vendor_id?: string | undefined;
|
|
@@ -21298,10 +21298,10 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
21298
21298
|
auth0Client?: string | undefined;
|
|
21299
21299
|
login_ticket?: string | undefined;
|
|
21300
21300
|
screen_hint?: string | undefined;
|
|
21301
|
+
organization?: string | undefined;
|
|
21301
21302
|
code_challenge?: string | undefined;
|
|
21302
21303
|
code_challenge_method?: CodeChallengeMethod | undefined;
|
|
21303
21304
|
realm?: string | undefined;
|
|
21304
|
-
organization?: string | undefined;
|
|
21305
21305
|
prompt?: string | undefined;
|
|
21306
21306
|
ui_locales?: string | undefined;
|
|
21307
21307
|
vendor_id?: string | undefined;
|
|
@@ -21335,10 +21335,10 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
21335
21335
|
auth0Client?: string | undefined;
|
|
21336
21336
|
login_ticket?: string | undefined;
|
|
21337
21337
|
screen_hint?: string | undefined;
|
|
21338
|
+
organization?: string | undefined;
|
|
21338
21339
|
code_challenge?: string | undefined;
|
|
21339
21340
|
code_challenge_method?: CodeChallengeMethod | undefined;
|
|
21340
21341
|
realm?: string | undefined;
|
|
21341
|
-
organization?: string | undefined;
|
|
21342
21342
|
prompt?: string | undefined;
|
|
21343
21343
|
ui_locales?: string | undefined;
|
|
21344
21344
|
vendor_id?: string | undefined;
|
|
@@ -21366,10 +21366,10 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
21366
21366
|
auth0Client?: string | undefined;
|
|
21367
21367
|
login_ticket?: string | undefined;
|
|
21368
21368
|
screen_hint?: string | undefined;
|
|
21369
|
+
organization?: string | undefined;
|
|
21369
21370
|
code_challenge?: string | undefined;
|
|
21370
21371
|
code_challenge_method?: CodeChallengeMethod | undefined;
|
|
21371
21372
|
realm?: string | undefined;
|
|
21372
|
-
organization?: string | undefined;
|
|
21373
21373
|
prompt?: string | undefined;
|
|
21374
21374
|
ui_locales?: string | undefined;
|
|
21375
21375
|
vendor_id?: string | undefined;
|
|
@@ -21426,10 +21426,10 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
21426
21426
|
state?: string | undefined;
|
|
21427
21427
|
scope?: string | undefined;
|
|
21428
21428
|
redirect_uri?: string | undefined;
|
|
21429
|
+
organization?: string | undefined;
|
|
21429
21430
|
code_challenge?: string | undefined;
|
|
21430
21431
|
code_challenge_method?: CodeChallengeMethod | undefined;
|
|
21431
21432
|
act_as?: string | undefined;
|
|
21432
|
-
organization?: string | undefined;
|
|
21433
21433
|
prompt?: string | undefined;
|
|
21434
21434
|
ui_locales?: string | undefined;
|
|
21435
21435
|
vendor_id?: string | undefined;
|
|
@@ -21448,10 +21448,10 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
21448
21448
|
state?: string | undefined;
|
|
21449
21449
|
scope?: string | undefined;
|
|
21450
21450
|
redirect_uri?: string | undefined;
|
|
21451
|
+
organization?: string | undefined;
|
|
21451
21452
|
code_challenge?: string | undefined;
|
|
21452
21453
|
code_challenge_method?: CodeChallengeMethod | undefined;
|
|
21453
21454
|
act_as?: string | undefined;
|
|
21454
|
-
organization?: string | undefined;
|
|
21455
21455
|
prompt?: string | undefined;
|
|
21456
21456
|
ui_locales?: string | undefined;
|
|
21457
21457
|
vendor_id?: string | undefined;
|
|
@@ -21725,6 +21725,45 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
21725
21725
|
};
|
|
21726
21726
|
outputFormat: "json";
|
|
21727
21727
|
status: 401;
|
|
21728
|
+
} | {
|
|
21729
|
+
input: {
|
|
21730
|
+
form: {
|
|
21731
|
+
grant_type: "client_credentials";
|
|
21732
|
+
client_id?: string | undefined;
|
|
21733
|
+
audience?: string | undefined;
|
|
21734
|
+
scope?: string | undefined;
|
|
21735
|
+
client_secret?: string | undefined;
|
|
21736
|
+
} | {
|
|
21737
|
+
code: string;
|
|
21738
|
+
client_id: string;
|
|
21739
|
+
redirect_uri: string;
|
|
21740
|
+
grant_type: "authorization_code";
|
|
21741
|
+
code_verifier: string;
|
|
21742
|
+
} | {
|
|
21743
|
+
code: string;
|
|
21744
|
+
grant_type: "authorization_code";
|
|
21745
|
+
client_id?: string | undefined;
|
|
21746
|
+
client_secret?: string | undefined;
|
|
21747
|
+
redirect_uri?: string | undefined;
|
|
21748
|
+
} | {
|
|
21749
|
+
client_id: string;
|
|
21750
|
+
refresh_token: string;
|
|
21751
|
+
grant_type: "refresh_token";
|
|
21752
|
+
redirect_uri?: string | undefined;
|
|
21753
|
+
} | {
|
|
21754
|
+
client_id: string;
|
|
21755
|
+
username: string;
|
|
21756
|
+
otp: string;
|
|
21757
|
+
grant_type: "http://auth0.com/oauth/grant-type/passwordless/otp";
|
|
21758
|
+
realm: "email" | "sms";
|
|
21759
|
+
};
|
|
21760
|
+
};
|
|
21761
|
+
output: {
|
|
21762
|
+
error: string;
|
|
21763
|
+
error_description?: string | undefined;
|
|
21764
|
+
};
|
|
21765
|
+
outputFormat: "json";
|
|
21766
|
+
status: 403;
|
|
21728
21767
|
};
|
|
21729
21768
|
};
|
|
21730
21769
|
}, "/oauth/token"> & import("hono/types").MergeSchemaPath<{
|