authhero 4.110.0 → 4.111.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/assets/u/widget/index.esm.js +1 -1
- package/dist/authhero.cjs +113 -113
- package/dist/authhero.d.ts +262 -51
- package/dist/authhero.mjs +14272 -13320
- package/dist/stats.html +1 -1
- package/package.json +4 -4
package/dist/authhero.d.ts
CHANGED
|
@@ -3063,7 +3063,9 @@ export declare const clientInsertSchema: z.ZodObject<{
|
|
|
3063
3063
|
token_endpoint_auth_method: z.ZodOptional<z.ZodDefault<z.ZodEnum<[
|
|
3064
3064
|
"none",
|
|
3065
3065
|
"client_secret_post",
|
|
3066
|
-
"client_secret_basic"
|
|
3066
|
+
"client_secret_basic",
|
|
3067
|
+
"client_secret_jwt",
|
|
3068
|
+
"private_key_jwt"
|
|
3067
3069
|
]>>>;
|
|
3068
3070
|
client_metadata: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>>;
|
|
3069
3071
|
mobile: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
|
@@ -3179,7 +3181,7 @@ export declare const clientInsertSchema: z.ZodObject<{
|
|
|
3179
3181
|
custom_login_page_preview?: string | undefined;
|
|
3180
3182
|
form_template?: string | undefined;
|
|
3181
3183
|
addons?: Record<string, any> | undefined;
|
|
3182
|
-
token_endpoint_auth_method?: "none" | "client_secret_post" | "client_secret_basic" | undefined;
|
|
3184
|
+
token_endpoint_auth_method?: "none" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | "private_key_jwt" | undefined;
|
|
3183
3185
|
client_metadata?: Record<string, string> | undefined;
|
|
3184
3186
|
mobile?: Record<string, any> | undefined;
|
|
3185
3187
|
initiate_login_uri?: string | undefined;
|
|
@@ -3238,7 +3240,7 @@ export declare const clientInsertSchema: z.ZodObject<{
|
|
|
3238
3240
|
custom_login_page_preview?: string | undefined;
|
|
3239
3241
|
form_template?: string | undefined;
|
|
3240
3242
|
addons?: Record<string, any> | undefined;
|
|
3241
|
-
token_endpoint_auth_method?: "none" | "client_secret_post" | "client_secret_basic" | undefined;
|
|
3243
|
+
token_endpoint_auth_method?: "none" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | "private_key_jwt" | undefined;
|
|
3242
3244
|
client_metadata?: Record<string, string> | undefined;
|
|
3243
3245
|
mobile?: Record<string, any> | undefined;
|
|
3244
3246
|
initiate_login_uri?: string | undefined;
|
|
@@ -3321,7 +3323,9 @@ export declare const clientSchema: z.ZodObject<{
|
|
|
3321
3323
|
token_endpoint_auth_method: z.ZodOptional<z.ZodDefault<z.ZodEnum<[
|
|
3322
3324
|
"none",
|
|
3323
3325
|
"client_secret_post",
|
|
3324
|
-
"client_secret_basic"
|
|
3326
|
+
"client_secret_basic",
|
|
3327
|
+
"client_secret_jwt",
|
|
3328
|
+
"private_key_jwt"
|
|
3325
3329
|
]>>>;
|
|
3326
3330
|
client_metadata: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>>;
|
|
3327
3331
|
mobile: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
|
@@ -3441,7 +3445,7 @@ export declare const clientSchema: z.ZodObject<{
|
|
|
3441
3445
|
custom_login_page_preview?: string | undefined;
|
|
3442
3446
|
form_template?: string | undefined;
|
|
3443
3447
|
addons?: Record<string, any> | undefined;
|
|
3444
|
-
token_endpoint_auth_method?: "none" | "client_secret_post" | "client_secret_basic" | undefined;
|
|
3448
|
+
token_endpoint_auth_method?: "none" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | "private_key_jwt" | undefined;
|
|
3445
3449
|
client_metadata?: Record<string, string> | undefined;
|
|
3446
3450
|
mobile?: Record<string, any> | undefined;
|
|
3447
3451
|
initiate_login_uri?: string | undefined;
|
|
@@ -3502,7 +3506,7 @@ export declare const clientSchema: z.ZodObject<{
|
|
|
3502
3506
|
custom_login_page_preview?: string | undefined;
|
|
3503
3507
|
form_template?: string | undefined;
|
|
3504
3508
|
addons?: Record<string, any> | undefined;
|
|
3505
|
-
token_endpoint_auth_method?: "none" | "client_secret_post" | "client_secret_basic" | undefined;
|
|
3509
|
+
token_endpoint_auth_method?: "none" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | "private_key_jwt" | undefined;
|
|
3506
3510
|
client_metadata?: Record<string, string> | undefined;
|
|
3507
3511
|
mobile?: Record<string, any> | undefined;
|
|
3508
3512
|
initiate_login_uri?: string | undefined;
|
|
@@ -11698,6 +11702,7 @@ export declare const connectionOptionsSchema: z.ZodObject<{
|
|
|
11698
11702
|
twilio_sid: z.ZodOptional<z.ZodString>;
|
|
11699
11703
|
twilio_token: z.ZodOptional<z.ZodString>;
|
|
11700
11704
|
icon_url: z.ZodOptional<z.ZodString>;
|
|
11705
|
+
domain_aliases: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
11701
11706
|
passwordPolicy: z.ZodOptional<z.ZodEnum<[
|
|
11702
11707
|
"none",
|
|
11703
11708
|
"low",
|
|
@@ -12124,6 +12129,7 @@ export declare const connectionOptionsSchema: z.ZodObject<{
|
|
|
12124
12129
|
twilio_sid?: string | undefined;
|
|
12125
12130
|
twilio_token?: string | undefined;
|
|
12126
12131
|
icon_url?: string | undefined;
|
|
12132
|
+
domain_aliases?: string[] | undefined;
|
|
12127
12133
|
passwordPolicy?: "none" | "low" | "fair" | "good" | "excellent" | undefined;
|
|
12128
12134
|
password_complexity_options?: {
|
|
12129
12135
|
min_length?: number | undefined;
|
|
@@ -12227,6 +12233,7 @@ export declare const connectionOptionsSchema: z.ZodObject<{
|
|
|
12227
12233
|
twilio_sid?: string | undefined;
|
|
12228
12234
|
twilio_token?: string | undefined;
|
|
12229
12235
|
icon_url?: string | undefined;
|
|
12236
|
+
domain_aliases?: string[] | undefined;
|
|
12230
12237
|
passwordPolicy?: "none" | "low" | "fair" | "good" | "excellent" | undefined;
|
|
12231
12238
|
password_complexity_options?: {
|
|
12232
12239
|
min_length?: number | undefined;
|
|
@@ -12330,6 +12337,7 @@ export declare const connectionInsertSchema: z.ZodObject<{
|
|
|
12330
12337
|
twilio_sid: z.ZodOptional<z.ZodString>;
|
|
12331
12338
|
twilio_token: z.ZodOptional<z.ZodString>;
|
|
12332
12339
|
icon_url: z.ZodOptional<z.ZodString>;
|
|
12340
|
+
domain_aliases: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
12333
12341
|
passwordPolicy: z.ZodOptional<z.ZodEnum<[
|
|
12334
12342
|
"none",
|
|
12335
12343
|
"low",
|
|
@@ -12756,6 +12764,7 @@ export declare const connectionInsertSchema: z.ZodObject<{
|
|
|
12756
12764
|
twilio_sid?: string | undefined;
|
|
12757
12765
|
twilio_token?: string | undefined;
|
|
12758
12766
|
icon_url?: string | undefined;
|
|
12767
|
+
domain_aliases?: string[] | undefined;
|
|
12759
12768
|
passwordPolicy?: "none" | "low" | "fair" | "good" | "excellent" | undefined;
|
|
12760
12769
|
password_complexity_options?: {
|
|
12761
12770
|
min_length?: number | undefined;
|
|
@@ -12859,6 +12868,7 @@ export declare const connectionInsertSchema: z.ZodObject<{
|
|
|
12859
12868
|
twilio_sid?: string | undefined;
|
|
12860
12869
|
twilio_token?: string | undefined;
|
|
12861
12870
|
icon_url?: string | undefined;
|
|
12871
|
+
domain_aliases?: string[] | undefined;
|
|
12862
12872
|
passwordPolicy?: "none" | "low" | "fair" | "good" | "excellent" | undefined;
|
|
12863
12873
|
password_complexity_options?: {
|
|
12864
12874
|
min_length?: number | undefined;
|
|
@@ -12962,6 +12972,7 @@ export declare const connectionInsertSchema: z.ZodObject<{
|
|
|
12962
12972
|
twilio_sid?: string | undefined;
|
|
12963
12973
|
twilio_token?: string | undefined;
|
|
12964
12974
|
icon_url?: string | undefined;
|
|
12975
|
+
domain_aliases?: string[] | undefined;
|
|
12965
12976
|
passwordPolicy?: "none" | "low" | "fair" | "good" | "excellent" | undefined;
|
|
12966
12977
|
password_complexity_options?: {
|
|
12967
12978
|
min_length?: number | undefined;
|
|
@@ -13074,6 +13085,7 @@ export declare const connectionInsertSchema: z.ZodObject<{
|
|
|
13074
13085
|
twilio_sid?: string | undefined;
|
|
13075
13086
|
twilio_token?: string | undefined;
|
|
13076
13087
|
icon_url?: string | undefined;
|
|
13088
|
+
domain_aliases?: string[] | undefined;
|
|
13077
13089
|
passwordPolicy?: "none" | "low" | "fair" | "good" | "excellent" | undefined;
|
|
13078
13090
|
password_complexity_options?: {
|
|
13079
13091
|
min_length?: number | undefined;
|
|
@@ -13206,6 +13218,7 @@ export declare const connectionSchema: z.ZodObject<{
|
|
|
13206
13218
|
twilio_sid: z.ZodOptional<z.ZodString>;
|
|
13207
13219
|
twilio_token: z.ZodOptional<z.ZodString>;
|
|
13208
13220
|
icon_url: z.ZodOptional<z.ZodString>;
|
|
13221
|
+
domain_aliases: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
13209
13222
|
passwordPolicy: z.ZodOptional<z.ZodEnum<[
|
|
13210
13223
|
"none",
|
|
13211
13224
|
"low",
|
|
@@ -13632,6 +13645,7 @@ export declare const connectionSchema: z.ZodObject<{
|
|
|
13632
13645
|
twilio_sid?: string | undefined;
|
|
13633
13646
|
twilio_token?: string | undefined;
|
|
13634
13647
|
icon_url?: string | undefined;
|
|
13648
|
+
domain_aliases?: string[] | undefined;
|
|
13635
13649
|
passwordPolicy?: "none" | "low" | "fair" | "good" | "excellent" | undefined;
|
|
13636
13650
|
password_complexity_options?: {
|
|
13637
13651
|
min_length?: number | undefined;
|
|
@@ -13735,6 +13749,7 @@ export declare const connectionSchema: z.ZodObject<{
|
|
|
13735
13749
|
twilio_sid?: string | undefined;
|
|
13736
13750
|
twilio_token?: string | undefined;
|
|
13737
13751
|
icon_url?: string | undefined;
|
|
13752
|
+
domain_aliases?: string[] | undefined;
|
|
13738
13753
|
passwordPolicy?: "none" | "low" | "fair" | "good" | "excellent" | undefined;
|
|
13739
13754
|
password_complexity_options?: {
|
|
13740
13755
|
min_length?: number | undefined;
|
|
@@ -13838,6 +13853,7 @@ export declare const connectionSchema: z.ZodObject<{
|
|
|
13838
13853
|
twilio_sid?: string | undefined;
|
|
13839
13854
|
twilio_token?: string | undefined;
|
|
13840
13855
|
icon_url?: string | undefined;
|
|
13856
|
+
domain_aliases?: string[] | undefined;
|
|
13841
13857
|
passwordPolicy?: "none" | "low" | "fair" | "good" | "excellent" | undefined;
|
|
13842
13858
|
password_complexity_options?: {
|
|
13843
13859
|
min_length?: number | undefined;
|
|
@@ -13952,6 +13968,7 @@ export declare const connectionSchema: z.ZodObject<{
|
|
|
13952
13968
|
twilio_sid?: string | undefined;
|
|
13953
13969
|
twilio_token?: string | undefined;
|
|
13954
13970
|
icon_url?: string | undefined;
|
|
13971
|
+
domain_aliases?: string[] | undefined;
|
|
13955
13972
|
passwordPolicy?: "none" | "low" | "fair" | "good" | "excellent" | undefined;
|
|
13956
13973
|
password_complexity_options?: {
|
|
13957
13974
|
min_length?: number | undefined;
|
|
@@ -43139,7 +43156,7 @@ export declare const inviteSchema: z.ZodObject<{
|
|
|
43139
43156
|
ticket_id?: string | undefined;
|
|
43140
43157
|
}>;
|
|
43141
43158
|
export type Invite = z.infer<typeof inviteSchema>;
|
|
43142
|
-
export declare const jwksSchema: z.ZodObject<{
|
|
43159
|
+
export declare const jwksSchema: z.ZodEffects<z.ZodObject<{
|
|
43143
43160
|
alg: z.ZodEnum<[
|
|
43144
43161
|
"RS256",
|
|
43145
43162
|
"RS384",
|
|
@@ -43151,41 +43168,74 @@ export declare const jwksSchema: z.ZodObject<{
|
|
|
43151
43168
|
"HS384",
|
|
43152
43169
|
"HS512"
|
|
43153
43170
|
]>;
|
|
43154
|
-
e: z.ZodString;
|
|
43155
43171
|
kid: z.ZodString;
|
|
43156
43172
|
kty: z.ZodEnum<[
|
|
43157
43173
|
"RSA",
|
|
43158
43174
|
"EC",
|
|
43159
43175
|
"oct"
|
|
43160
43176
|
]>;
|
|
43161
|
-
n: z.ZodString;
|
|
43162
|
-
x5t: z.ZodOptional<z.ZodString>;
|
|
43163
|
-
x5c: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
43164
43177
|
use: z.ZodOptional<z.ZodEnum<[
|
|
43165
43178
|
"sig",
|
|
43166
43179
|
"enc"
|
|
43167
43180
|
]>>;
|
|
43181
|
+
n: z.ZodOptional<z.ZodString>;
|
|
43182
|
+
e: z.ZodOptional<z.ZodString>;
|
|
43183
|
+
crv: z.ZodOptional<z.ZodString>;
|
|
43184
|
+
x: z.ZodOptional<z.ZodString>;
|
|
43185
|
+
y: z.ZodOptional<z.ZodString>;
|
|
43186
|
+
x5t: z.ZodOptional<z.ZodString>;
|
|
43187
|
+
x5c: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
43168
43188
|
}, "strip", z.ZodTypeAny, {
|
|
43169
43189
|
kid: string;
|
|
43170
43190
|
alg: "RS256" | "RS384" | "RS512" | "ES256" | "ES384" | "ES512" | "HS256" | "HS384" | "HS512";
|
|
43171
|
-
e: string;
|
|
43172
43191
|
kty: "RSA" | "EC" | "oct";
|
|
43173
|
-
|
|
43192
|
+
x?: string | undefined;
|
|
43193
|
+
y?: string | undefined;
|
|
43194
|
+
use?: "sig" | "enc" | undefined;
|
|
43195
|
+
n?: string | undefined;
|
|
43196
|
+
e?: string | undefined;
|
|
43197
|
+
crv?: string | undefined;
|
|
43174
43198
|
x5t?: string | undefined;
|
|
43175
43199
|
x5c?: string[] | undefined;
|
|
43176
|
-
use?: "sig" | "enc" | undefined;
|
|
43177
43200
|
}, {
|
|
43178
43201
|
kid: string;
|
|
43179
43202
|
alg: "RS256" | "RS384" | "RS512" | "ES256" | "ES384" | "ES512" | "HS256" | "HS384" | "HS512";
|
|
43180
|
-
e: string;
|
|
43181
43203
|
kty: "RSA" | "EC" | "oct";
|
|
43182
|
-
|
|
43204
|
+
x?: string | undefined;
|
|
43205
|
+
y?: string | undefined;
|
|
43206
|
+
use?: "sig" | "enc" | undefined;
|
|
43207
|
+
n?: string | undefined;
|
|
43208
|
+
e?: string | undefined;
|
|
43209
|
+
crv?: string | undefined;
|
|
43183
43210
|
x5t?: string | undefined;
|
|
43184
43211
|
x5c?: string[] | undefined;
|
|
43212
|
+
}>, {
|
|
43213
|
+
kid: string;
|
|
43214
|
+
alg: "RS256" | "RS384" | "RS512" | "ES256" | "ES384" | "ES512" | "HS256" | "HS384" | "HS512";
|
|
43215
|
+
kty: "RSA" | "EC" | "oct";
|
|
43216
|
+
x?: string | undefined;
|
|
43217
|
+
y?: string | undefined;
|
|
43185
43218
|
use?: "sig" | "enc" | undefined;
|
|
43219
|
+
n?: string | undefined;
|
|
43220
|
+
e?: string | undefined;
|
|
43221
|
+
crv?: string | undefined;
|
|
43222
|
+
x5t?: string | undefined;
|
|
43223
|
+
x5c?: string[] | undefined;
|
|
43224
|
+
}, {
|
|
43225
|
+
kid: string;
|
|
43226
|
+
alg: "RS256" | "RS384" | "RS512" | "ES256" | "ES384" | "ES512" | "HS256" | "HS384" | "HS512";
|
|
43227
|
+
kty: "RSA" | "EC" | "oct";
|
|
43228
|
+
x?: string | undefined;
|
|
43229
|
+
y?: string | undefined;
|
|
43230
|
+
use?: "sig" | "enc" | undefined;
|
|
43231
|
+
n?: string | undefined;
|
|
43232
|
+
e?: string | undefined;
|
|
43233
|
+
crv?: string | undefined;
|
|
43234
|
+
x5t?: string | undefined;
|
|
43235
|
+
x5c?: string[] | undefined;
|
|
43186
43236
|
}>;
|
|
43187
43237
|
export declare const jwksKeySchema: z.ZodObject<{
|
|
43188
|
-
keys: z.ZodArray<z.ZodObject<{
|
|
43238
|
+
keys: z.ZodArray<z.ZodEffects<z.ZodObject<{
|
|
43189
43239
|
alg: z.ZodEnum<[
|
|
43190
43240
|
"RS256",
|
|
43191
43241
|
"RS384",
|
|
@@ -43197,62 +43247,103 @@ export declare const jwksKeySchema: z.ZodObject<{
|
|
|
43197
43247
|
"HS384",
|
|
43198
43248
|
"HS512"
|
|
43199
43249
|
]>;
|
|
43200
|
-
e: z.ZodString;
|
|
43201
43250
|
kid: z.ZodString;
|
|
43202
43251
|
kty: z.ZodEnum<[
|
|
43203
43252
|
"RSA",
|
|
43204
43253
|
"EC",
|
|
43205
43254
|
"oct"
|
|
43206
43255
|
]>;
|
|
43207
|
-
n: z.ZodString;
|
|
43208
|
-
x5t: z.ZodOptional<z.ZodString>;
|
|
43209
|
-
x5c: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
43210
43256
|
use: z.ZodOptional<z.ZodEnum<[
|
|
43211
43257
|
"sig",
|
|
43212
43258
|
"enc"
|
|
43213
43259
|
]>>;
|
|
43260
|
+
n: z.ZodOptional<z.ZodString>;
|
|
43261
|
+
e: z.ZodOptional<z.ZodString>;
|
|
43262
|
+
crv: z.ZodOptional<z.ZodString>;
|
|
43263
|
+
x: z.ZodOptional<z.ZodString>;
|
|
43264
|
+
y: z.ZodOptional<z.ZodString>;
|
|
43265
|
+
x5t: z.ZodOptional<z.ZodString>;
|
|
43266
|
+
x5c: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
43214
43267
|
}, "strip", z.ZodTypeAny, {
|
|
43215
43268
|
kid: string;
|
|
43216
43269
|
alg: "RS256" | "RS384" | "RS512" | "ES256" | "ES384" | "ES512" | "HS256" | "HS384" | "HS512";
|
|
43217
|
-
e: string;
|
|
43218
43270
|
kty: "RSA" | "EC" | "oct";
|
|
43219
|
-
|
|
43271
|
+
x?: string | undefined;
|
|
43272
|
+
y?: string | undefined;
|
|
43273
|
+
use?: "sig" | "enc" | undefined;
|
|
43274
|
+
n?: string | undefined;
|
|
43275
|
+
e?: string | undefined;
|
|
43276
|
+
crv?: string | undefined;
|
|
43220
43277
|
x5t?: string | undefined;
|
|
43221
43278
|
x5c?: string[] | undefined;
|
|
43222
|
-
use?: "sig" | "enc" | undefined;
|
|
43223
43279
|
}, {
|
|
43224
43280
|
kid: string;
|
|
43225
43281
|
alg: "RS256" | "RS384" | "RS512" | "ES256" | "ES384" | "ES512" | "HS256" | "HS384" | "HS512";
|
|
43226
|
-
e: string;
|
|
43227
43282
|
kty: "RSA" | "EC" | "oct";
|
|
43228
|
-
|
|
43283
|
+
x?: string | undefined;
|
|
43284
|
+
y?: string | undefined;
|
|
43285
|
+
use?: "sig" | "enc" | undefined;
|
|
43286
|
+
n?: string | undefined;
|
|
43287
|
+
e?: string | undefined;
|
|
43288
|
+
crv?: string | undefined;
|
|
43229
43289
|
x5t?: string | undefined;
|
|
43230
43290
|
x5c?: string[] | undefined;
|
|
43291
|
+
}>, {
|
|
43292
|
+
kid: string;
|
|
43293
|
+
alg: "RS256" | "RS384" | "RS512" | "ES256" | "ES384" | "ES512" | "HS256" | "HS384" | "HS512";
|
|
43294
|
+
kty: "RSA" | "EC" | "oct";
|
|
43295
|
+
x?: string | undefined;
|
|
43296
|
+
y?: string | undefined;
|
|
43231
43297
|
use?: "sig" | "enc" | undefined;
|
|
43298
|
+
n?: string | undefined;
|
|
43299
|
+
e?: string | undefined;
|
|
43300
|
+
crv?: string | undefined;
|
|
43301
|
+
x5t?: string | undefined;
|
|
43302
|
+
x5c?: string[] | undefined;
|
|
43303
|
+
}, {
|
|
43304
|
+
kid: string;
|
|
43305
|
+
alg: "RS256" | "RS384" | "RS512" | "ES256" | "ES384" | "ES512" | "HS256" | "HS384" | "HS512";
|
|
43306
|
+
kty: "RSA" | "EC" | "oct";
|
|
43307
|
+
x?: string | undefined;
|
|
43308
|
+
y?: string | undefined;
|
|
43309
|
+
use?: "sig" | "enc" | undefined;
|
|
43310
|
+
n?: string | undefined;
|
|
43311
|
+
e?: string | undefined;
|
|
43312
|
+
crv?: string | undefined;
|
|
43313
|
+
x5t?: string | undefined;
|
|
43314
|
+
x5c?: string[] | undefined;
|
|
43232
43315
|
}>, "many">;
|
|
43233
43316
|
}, "strip", z.ZodTypeAny, {
|
|
43234
43317
|
keys: {
|
|
43235
43318
|
kid: string;
|
|
43236
43319
|
alg: "RS256" | "RS384" | "RS512" | "ES256" | "ES384" | "ES512" | "HS256" | "HS384" | "HS512";
|
|
43237
|
-
e: string;
|
|
43238
43320
|
kty: "RSA" | "EC" | "oct";
|
|
43239
|
-
|
|
43321
|
+
x?: string | undefined;
|
|
43322
|
+
y?: string | undefined;
|
|
43323
|
+
use?: "sig" | "enc" | undefined;
|
|
43324
|
+
n?: string | undefined;
|
|
43325
|
+
e?: string | undefined;
|
|
43326
|
+
crv?: string | undefined;
|
|
43240
43327
|
x5t?: string | undefined;
|
|
43241
43328
|
x5c?: string[] | undefined;
|
|
43242
|
-
use?: "sig" | "enc" | undefined;
|
|
43243
43329
|
}[];
|
|
43244
43330
|
}, {
|
|
43245
43331
|
keys: {
|
|
43246
43332
|
kid: string;
|
|
43247
43333
|
alg: "RS256" | "RS384" | "RS512" | "ES256" | "ES384" | "ES512" | "HS256" | "HS384" | "HS512";
|
|
43248
|
-
e: string;
|
|
43249
43334
|
kty: "RSA" | "EC" | "oct";
|
|
43250
|
-
|
|
43335
|
+
x?: string | undefined;
|
|
43336
|
+
y?: string | undefined;
|
|
43337
|
+
use?: "sig" | "enc" | undefined;
|
|
43338
|
+
n?: string | undefined;
|
|
43339
|
+
e?: string | undefined;
|
|
43340
|
+
crv?: string | undefined;
|
|
43251
43341
|
x5t?: string | undefined;
|
|
43252
43342
|
x5c?: string[] | undefined;
|
|
43253
|
-
use?: "sig" | "enc" | undefined;
|
|
43254
43343
|
}[];
|
|
43255
43344
|
}>;
|
|
43345
|
+
export type Jwk = z.infer<typeof jwksSchema>;
|
|
43346
|
+
export type Jwks = z.infer<typeof jwksKeySchema>;
|
|
43256
43347
|
export declare const openIDConfigurationSchema: z.ZodObject<{
|
|
43257
43348
|
issuer: z.ZodString;
|
|
43258
43349
|
authorization_endpoint: z.ZodString;
|
|
@@ -43275,6 +43366,7 @@ export declare const openIDConfigurationSchema: z.ZodObject<{
|
|
|
43275
43366
|
claims_supported: z.ZodArray<z.ZodString, "many">;
|
|
43276
43367
|
request_uri_parameter_supported: z.ZodBoolean;
|
|
43277
43368
|
request_parameter_supported: z.ZodBoolean;
|
|
43369
|
+
request_object_signing_alg_values_supported: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
43278
43370
|
token_endpoint_auth_signing_alg_values_supported: z.ZodArray<z.ZodString, "many">;
|
|
43279
43371
|
}, "strip", z.ZodTypeAny, {
|
|
43280
43372
|
authorization_endpoint: string;
|
|
@@ -43299,6 +43391,7 @@ export declare const openIDConfigurationSchema: z.ZodObject<{
|
|
|
43299
43391
|
registration_endpoint?: string | undefined;
|
|
43300
43392
|
end_session_endpoint?: string | undefined;
|
|
43301
43393
|
grant_types_supported?: string[] | undefined;
|
|
43394
|
+
request_object_signing_alg_values_supported?: string[] | undefined;
|
|
43302
43395
|
}, {
|
|
43303
43396
|
authorization_endpoint: string;
|
|
43304
43397
|
token_endpoint: string;
|
|
@@ -43322,6 +43415,7 @@ export declare const openIDConfigurationSchema: z.ZodObject<{
|
|
|
43322
43415
|
registration_endpoint?: string | undefined;
|
|
43323
43416
|
end_session_endpoint?: string | undefined;
|
|
43324
43417
|
grant_types_supported?: string[] | undefined;
|
|
43418
|
+
request_object_signing_alg_values_supported?: string[] | undefined;
|
|
43325
43419
|
}>;
|
|
43326
43420
|
export interface ListParams {
|
|
43327
43421
|
page?: number;
|
|
@@ -51108,6 +51202,7 @@ export type Variables = {
|
|
|
51108
51202
|
countryCode?: CountryCode;
|
|
51109
51203
|
outboxEventPromises?: Promise<string>[];
|
|
51110
51204
|
backgroundPromises?: Promise<void>[];
|
|
51205
|
+
client_authenticated_via_assertion?: boolean;
|
|
51111
51206
|
};
|
|
51112
51207
|
/**
|
|
51113
51208
|
* Interface for SAML signing implementations.
|
|
@@ -52094,6 +52189,7 @@ declare const enrichedClientSchema: z.ZodObject<{
|
|
|
52094
52189
|
twilio_sid: z.ZodOptional<z.ZodString>;
|
|
52095
52190
|
twilio_token: z.ZodOptional<z.ZodString>;
|
|
52096
52191
|
icon_url: z.ZodOptional<z.ZodString>;
|
|
52192
|
+
domain_aliases: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
52097
52193
|
passwordPolicy: z.ZodOptional<z.ZodEnum<[
|
|
52098
52194
|
"none",
|
|
52099
52195
|
"low",
|
|
@@ -52520,6 +52616,7 @@ declare const enrichedClientSchema: z.ZodObject<{
|
|
|
52520
52616
|
twilio_sid?: string | undefined;
|
|
52521
52617
|
twilio_token?: string | undefined;
|
|
52522
52618
|
icon_url?: string | undefined;
|
|
52619
|
+
domain_aliases?: string[] | undefined;
|
|
52523
52620
|
passwordPolicy?: "none" | "low" | "fair" | "good" | "excellent" | undefined;
|
|
52524
52621
|
password_complexity_options?: {
|
|
52525
52622
|
min_length?: number | undefined;
|
|
@@ -52623,6 +52720,7 @@ declare const enrichedClientSchema: z.ZodObject<{
|
|
|
52623
52720
|
twilio_sid?: string | undefined;
|
|
52624
52721
|
twilio_token?: string | undefined;
|
|
52625
52722
|
icon_url?: string | undefined;
|
|
52723
|
+
domain_aliases?: string[] | undefined;
|
|
52626
52724
|
passwordPolicy?: "none" | "low" | "fair" | "good" | "excellent" | undefined;
|
|
52627
52725
|
password_complexity_options?: {
|
|
52628
52726
|
min_length?: number | undefined;
|
|
@@ -52726,6 +52824,7 @@ declare const enrichedClientSchema: z.ZodObject<{
|
|
|
52726
52824
|
twilio_sid?: string | undefined;
|
|
52727
52825
|
twilio_token?: string | undefined;
|
|
52728
52826
|
icon_url?: string | undefined;
|
|
52827
|
+
domain_aliases?: string[] | undefined;
|
|
52729
52828
|
passwordPolicy?: "none" | "low" | "fair" | "good" | "excellent" | undefined;
|
|
52730
52829
|
password_complexity_options?: {
|
|
52731
52830
|
min_length?: number | undefined;
|
|
@@ -52840,6 +52939,7 @@ declare const enrichedClientSchema: z.ZodObject<{
|
|
|
52840
52939
|
twilio_sid?: string | undefined;
|
|
52841
52940
|
twilio_token?: string | undefined;
|
|
52842
52941
|
icon_url?: string | undefined;
|
|
52942
|
+
domain_aliases?: string[] | undefined;
|
|
52843
52943
|
passwordPolicy?: "none" | "low" | "fair" | "good" | "excellent" | undefined;
|
|
52844
52944
|
password_complexity_options?: {
|
|
52845
52945
|
min_length?: number | undefined;
|
|
@@ -53005,7 +53105,9 @@ declare const enrichedClientSchema: z.ZodObject<{
|
|
|
53005
53105
|
token_endpoint_auth_method: z.ZodOptional<z.ZodDefault<z.ZodEnum<[
|
|
53006
53106
|
"none",
|
|
53007
53107
|
"client_secret_post",
|
|
53008
|
-
"client_secret_basic"
|
|
53108
|
+
"client_secret_basic",
|
|
53109
|
+
"client_secret_jwt",
|
|
53110
|
+
"private_key_jwt"
|
|
53009
53111
|
]>>>;
|
|
53010
53112
|
client_metadata: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>>;
|
|
53011
53113
|
mobile: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
|
@@ -53279,6 +53381,7 @@ declare const enrichedClientSchema: z.ZodObject<{
|
|
|
53279
53381
|
twilio_sid?: string | undefined;
|
|
53280
53382
|
twilio_token?: string | undefined;
|
|
53281
53383
|
icon_url?: string | undefined;
|
|
53384
|
+
domain_aliases?: string[] | undefined;
|
|
53282
53385
|
passwordPolicy?: "none" | "low" | "fair" | "good" | "excellent" | undefined;
|
|
53283
53386
|
password_complexity_options?: {
|
|
53284
53387
|
min_length?: number | undefined;
|
|
@@ -53403,7 +53506,7 @@ declare const enrichedClientSchema: z.ZodObject<{
|
|
|
53403
53506
|
custom_login_page_preview?: string | undefined;
|
|
53404
53507
|
form_template?: string | undefined;
|
|
53405
53508
|
addons?: Record<string, any> | undefined;
|
|
53406
|
-
token_endpoint_auth_method?: "none" | "client_secret_post" | "client_secret_basic" | undefined;
|
|
53509
|
+
token_endpoint_auth_method?: "none" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | "private_key_jwt" | undefined;
|
|
53407
53510
|
client_metadata?: Record<string, string> | undefined;
|
|
53408
53511
|
mobile?: Record<string, any> | undefined;
|
|
53409
53512
|
initiate_login_uri?: string | undefined;
|
|
@@ -53648,7 +53751,7 @@ declare const enrichedClientSchema: z.ZodObject<{
|
|
|
53648
53751
|
custom_login_page_preview?: string | undefined;
|
|
53649
53752
|
form_template?: string | undefined;
|
|
53650
53753
|
addons?: Record<string, any> | undefined;
|
|
53651
|
-
token_endpoint_auth_method?: "none" | "client_secret_post" | "client_secret_basic" | undefined;
|
|
53754
|
+
token_endpoint_auth_method?: "none" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | "private_key_jwt" | undefined;
|
|
53652
53755
|
client_metadata?: Record<string, string> | undefined;
|
|
53653
53756
|
mobile?: Record<string, any> | undefined;
|
|
53654
53757
|
initiate_login_uri?: string | undefined;
|
|
@@ -54041,6 +54144,16 @@ export interface OutboxConfig {
|
|
|
54041
54144
|
* A per-client `user_linking_mode` overrides this service-level default.
|
|
54042
54145
|
*/
|
|
54043
54146
|
export type UserLinkingMode = "builtin" | "off";
|
|
54147
|
+
/**
|
|
54148
|
+
* Resolver form for the service-level user-linking mode. Receives the
|
|
54149
|
+
* resolved `tenant_id` (and `client_id`, when the request has one) and
|
|
54150
|
+
* returns the mode to use for that request. May be async.
|
|
54151
|
+
*/
|
|
54152
|
+
export type UserLinkingModeResolver = (params: {
|
|
54153
|
+
tenant_id: string;
|
|
54154
|
+
client_id?: string;
|
|
54155
|
+
}) => UserLinkingMode | Promise<UserLinkingMode>;
|
|
54156
|
+
export type UserLinkingModeOption = UserLinkingMode | UserLinkingModeResolver;
|
|
54044
54157
|
export interface AuthHeroConfig {
|
|
54045
54158
|
dataAdapter: DataAdapters;
|
|
54046
54159
|
/**
|
|
@@ -54237,9 +54350,13 @@ export interface AuthHeroConfig {
|
|
|
54237
54350
|
* lookup by verified email at user creation and email update. A per-client
|
|
54238
54351
|
* `user_linking_mode` setting overrides this default.
|
|
54239
54352
|
*
|
|
54353
|
+
* Accepts either a static value or a resolver function that receives
|
|
54354
|
+
* `{ tenant_id, client_id }` and returns the mode (sync or async). Use
|
|
54355
|
+
* the resolver form to disable built-in linking on a per-tenant basis.
|
|
54356
|
+
*
|
|
54240
54357
|
* @default "builtin"
|
|
54241
54358
|
*/
|
|
54242
|
-
userLinkingMode?:
|
|
54359
|
+
userLinkingMode?: UserLinkingModeOption;
|
|
54243
54360
|
}
|
|
54244
54361
|
export type UserInfo = {
|
|
54245
54362
|
sub: string;
|
|
@@ -54300,10 +54417,28 @@ export type Bindings = {
|
|
|
54300
54417
|
codeExecutor?: CodeExecutor;
|
|
54301
54418
|
webhookInvoker?: WebhookInvoker;
|
|
54302
54419
|
outbox?: OutboxConfig;
|
|
54303
|
-
userLinkingMode?:
|
|
54420
|
+
userLinkingMode?: UserLinkingModeOption;
|
|
54421
|
+
/**
|
|
54422
|
+
* Allow outbound fetches (jwks_uri, request_uri) to localhost / private IP
|
|
54423
|
+
* ranges and over plain http. Intended for tests and local development;
|
|
54424
|
+
* leave unset (or false) in production so SSRF protection stays on.
|
|
54425
|
+
*/
|
|
54426
|
+
ALLOW_PRIVATE_OUTBOUND_FETCH?: boolean;
|
|
54304
54427
|
};
|
|
54428
|
+
/**
|
|
54429
|
+
* Supported signing-key shapes. Note: `EC-P-521` is not supported on
|
|
54430
|
+
* Cloudflare Workers (`workerd`) — `crypto.subtle.generateKey` will reject
|
|
54431
|
+
* `{ name: "ECDSA", namedCurve: "P-521" }` there. Callers running on Workers
|
|
54432
|
+
* must pick `RSA`, `EC-P-256`, or `EC-P-384`.
|
|
54433
|
+
*/
|
|
54434
|
+
export type SigningKeyType = "RSA" | "EC-P-256" | "EC-P-384" | "EC-P-521";
|
|
54305
54435
|
export interface CreateX509CertificateParams {
|
|
54306
54436
|
name: string;
|
|
54437
|
+
/**
|
|
54438
|
+
* The key type to generate. Defaults to "RSA" (RS256-compatible) for
|
|
54439
|
+
* backwards compatibility with existing tenants.
|
|
54440
|
+
*/
|
|
54441
|
+
keyType?: SigningKeyType;
|
|
54307
54442
|
}
|
|
54308
54443
|
declare function createX509Certificate(params: CreateX509CertificateParams): Promise<SigningKey>;
|
|
54309
54444
|
export type AppLogoProps = {
|
|
@@ -61820,6 +61955,7 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
61820
61955
|
twilio_sid?: string | undefined | undefined;
|
|
61821
61956
|
twilio_token?: string | undefined | undefined;
|
|
61822
61957
|
icon_url?: string | undefined | undefined;
|
|
61958
|
+
domain_aliases?: string[] | undefined | undefined;
|
|
61823
61959
|
passwordPolicy?: "none" | "low" | "fair" | "good" | "excellent" | undefined | undefined;
|
|
61824
61960
|
password_complexity_options?: {
|
|
61825
61961
|
min_length?: number | undefined | undefined;
|
|
@@ -61942,6 +62078,7 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
61942
62078
|
twilio_sid?: string | undefined | undefined;
|
|
61943
62079
|
twilio_token?: string | undefined | undefined;
|
|
61944
62080
|
icon_url?: string | undefined | undefined;
|
|
62081
|
+
domain_aliases?: string[] | undefined | undefined;
|
|
61945
62082
|
passwordPolicy?: "none" | "low" | "fair" | "good" | "excellent" | undefined | undefined;
|
|
61946
62083
|
password_complexity_options?: {
|
|
61947
62084
|
min_length?: number | undefined | undefined;
|
|
@@ -62083,6 +62220,7 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
62083
62220
|
twilio_sid?: string | undefined | undefined;
|
|
62084
62221
|
twilio_token?: string | undefined | undefined;
|
|
62085
62222
|
icon_url?: string | undefined | undefined;
|
|
62223
|
+
domain_aliases?: string[] | undefined | undefined;
|
|
62086
62224
|
passwordPolicy?: "none" | "low" | "fair" | "good" | "excellent" | undefined | undefined;
|
|
62087
62225
|
password_complexity_options?: {
|
|
62088
62226
|
min_length?: number | undefined | undefined;
|
|
@@ -62252,6 +62390,7 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
62252
62390
|
twilio_sid?: string | undefined | undefined;
|
|
62253
62391
|
twilio_token?: string | undefined | undefined;
|
|
62254
62392
|
icon_url?: string | undefined | undefined;
|
|
62393
|
+
domain_aliases?: string[] | undefined | undefined;
|
|
62255
62394
|
passwordPolicy?: "none" | "low" | "fair" | "good" | "excellent" | undefined | undefined;
|
|
62256
62395
|
password_complexity_options?: {
|
|
62257
62396
|
min_length?: number | undefined | undefined;
|
|
@@ -62400,6 +62539,7 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
62400
62539
|
twilio_sid?: string | undefined | undefined;
|
|
62401
62540
|
twilio_token?: string | undefined | undefined;
|
|
62402
62541
|
icon_url?: string | undefined | undefined;
|
|
62542
|
+
domain_aliases?: string[] | undefined | undefined;
|
|
62403
62543
|
passwordPolicy?: "none" | "low" | "fair" | "good" | "excellent" | undefined | undefined;
|
|
62404
62544
|
password_complexity_options?: {
|
|
62405
62545
|
min_length?: number | undefined | undefined;
|
|
@@ -63991,7 +64131,7 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
63991
64131
|
addons?: {
|
|
63992
64132
|
[x: string]: any;
|
|
63993
64133
|
} | undefined;
|
|
63994
|
-
token_endpoint_auth_method?: "none" | "client_secret_post" | "client_secret_basic" | undefined | undefined;
|
|
64134
|
+
token_endpoint_auth_method?: "none" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | "private_key_jwt" | undefined | undefined;
|
|
63995
64135
|
client_metadata?: {
|
|
63996
64136
|
[x: string]: string;
|
|
63997
64137
|
} | undefined;
|
|
@@ -64086,7 +64226,7 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
64086
64226
|
addons?: {
|
|
64087
64227
|
[x: string]: any;
|
|
64088
64228
|
} | undefined;
|
|
64089
|
-
token_endpoint_auth_method?: "none" | "client_secret_post" | "client_secret_basic" | undefined | undefined;
|
|
64229
|
+
token_endpoint_auth_method?: "none" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | "private_key_jwt" | undefined | undefined;
|
|
64090
64230
|
client_metadata?: {
|
|
64091
64231
|
[x: string]: string;
|
|
64092
64232
|
} | undefined;
|
|
@@ -64196,7 +64336,7 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
64196
64336
|
addons?: {
|
|
64197
64337
|
[x: string]: any;
|
|
64198
64338
|
} | undefined;
|
|
64199
|
-
token_endpoint_auth_method?: "none" | "client_secret_post" | "client_secret_basic" | undefined | undefined;
|
|
64339
|
+
token_endpoint_auth_method?: "none" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | "private_key_jwt" | undefined | undefined;
|
|
64200
64340
|
client_metadata?: {
|
|
64201
64341
|
[x: string]: string;
|
|
64202
64342
|
} | undefined;
|
|
@@ -64296,7 +64436,7 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
64296
64436
|
custom_login_page_preview?: string | undefined;
|
|
64297
64437
|
form_template?: string | undefined;
|
|
64298
64438
|
addons?: Record<string, any> | undefined;
|
|
64299
|
-
token_endpoint_auth_method?: "none" | "client_secret_post" | "client_secret_basic" | undefined;
|
|
64439
|
+
token_endpoint_auth_method?: "none" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | "private_key_jwt" | undefined;
|
|
64300
64440
|
client_metadata?: Record<string, string> | undefined;
|
|
64301
64441
|
mobile?: Record<string, any> | undefined;
|
|
64302
64442
|
initiate_login_uri?: string | undefined;
|
|
@@ -64384,7 +64524,7 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
64384
64524
|
addons?: {
|
|
64385
64525
|
[x: string]: any;
|
|
64386
64526
|
} | undefined;
|
|
64387
|
-
token_endpoint_auth_method?: "none" | "client_secret_post" | "client_secret_basic" | undefined | undefined;
|
|
64527
|
+
token_endpoint_auth_method?: "none" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | "private_key_jwt" | undefined | undefined;
|
|
64388
64528
|
client_metadata?: {
|
|
64389
64529
|
[x: string]: string;
|
|
64390
64530
|
} | undefined;
|
|
@@ -64463,7 +64603,7 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
64463
64603
|
custom_login_page_preview?: string | undefined;
|
|
64464
64604
|
form_template?: string | undefined;
|
|
64465
64605
|
addons?: Record<string, any> | undefined;
|
|
64466
|
-
token_endpoint_auth_method?: "none" | "client_secret_post" | "client_secret_basic" | undefined;
|
|
64606
|
+
token_endpoint_auth_method?: "none" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | "private_key_jwt" | undefined;
|
|
64467
64607
|
client_metadata?: Record<string, string> | undefined;
|
|
64468
64608
|
mobile?: Record<string, any> | undefined;
|
|
64469
64609
|
initiate_login_uri?: string | undefined;
|
|
@@ -64542,7 +64682,7 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
64542
64682
|
addons?: {
|
|
64543
64683
|
[x: string]: any;
|
|
64544
64684
|
} | undefined;
|
|
64545
|
-
token_endpoint_auth_method?: "none" | "client_secret_post" | "client_secret_basic" | undefined;
|
|
64685
|
+
token_endpoint_auth_method?: "none" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | "private_key_jwt" | undefined;
|
|
64546
64686
|
client_metadata?: {
|
|
64547
64687
|
[x: string]: string;
|
|
64548
64688
|
} | undefined;
|
|
@@ -64633,6 +64773,7 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
64633
64773
|
twilio_sid?: string | undefined | undefined;
|
|
64634
64774
|
twilio_token?: string | undefined | undefined;
|
|
64635
64775
|
icon_url?: string | undefined | undefined;
|
|
64776
|
+
domain_aliases?: string[] | undefined | undefined;
|
|
64636
64777
|
passwordPolicy?: "none" | "low" | "fair" | "good" | "excellent" | undefined | undefined;
|
|
64637
64778
|
password_complexity_options?: {
|
|
64638
64779
|
min_length?: number | undefined | undefined;
|
|
@@ -64777,6 +64918,7 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
64777
64918
|
twilio_sid?: string | undefined | undefined;
|
|
64778
64919
|
twilio_token?: string | undefined | undefined;
|
|
64779
64920
|
icon_url?: string | undefined | undefined;
|
|
64921
|
+
domain_aliases?: string[] | undefined | undefined;
|
|
64780
64922
|
passwordPolicy?: "none" | "low" | "fair" | "good" | "excellent" | undefined | undefined;
|
|
64781
64923
|
password_complexity_options?: {
|
|
64782
64924
|
min_length?: number | undefined | undefined;
|
|
@@ -67507,18 +67649,18 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
67507
67649
|
client_secret?: string | undefined;
|
|
67508
67650
|
logo_uri?: string | undefined;
|
|
67509
67651
|
grant_types?: string[] | undefined;
|
|
67510
|
-
token_endpoint_auth_method?: "none" | "client_secret_post" | "client_secret_basic" | undefined;
|
|
67652
|
+
token_endpoint_auth_method?: "none" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | "private_key_jwt" | undefined;
|
|
67511
67653
|
scope?: string | undefined;
|
|
67512
67654
|
audience?: string | undefined;
|
|
67513
67655
|
client_name?: string | undefined;
|
|
67514
67656
|
jwks_uri?: string | undefined;
|
|
67657
|
+
jwks?: Record<string, unknown> | undefined;
|
|
67515
67658
|
redirect_uris?: string[] | undefined;
|
|
67516
67659
|
client_uri?: string | undefined;
|
|
67517
67660
|
tos_uri?: string | undefined;
|
|
67518
67661
|
policy_uri?: string | undefined;
|
|
67519
67662
|
contacts?: string[] | undefined;
|
|
67520
67663
|
response_types?: string[] | undefined;
|
|
67521
|
-
jwks?: Record<string, unknown> | undefined;
|
|
67522
67664
|
software_id?: string | undefined;
|
|
67523
67665
|
software_version?: string | undefined;
|
|
67524
67666
|
};
|
|
@@ -67596,18 +67738,18 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
67596
67738
|
client_secret?: string | undefined;
|
|
67597
67739
|
logo_uri?: string | undefined;
|
|
67598
67740
|
grant_types?: string[] | undefined;
|
|
67599
|
-
token_endpoint_auth_method?: "none" | "client_secret_post" | "client_secret_basic" | undefined;
|
|
67741
|
+
token_endpoint_auth_method?: "none" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | "private_key_jwt" | undefined;
|
|
67600
67742
|
scope?: string | undefined;
|
|
67601
67743
|
audience?: string | undefined;
|
|
67602
67744
|
client_name?: string | undefined;
|
|
67603
67745
|
jwks_uri?: string | undefined;
|
|
67746
|
+
jwks?: Record<string, unknown> | undefined;
|
|
67604
67747
|
redirect_uris?: string[] | undefined;
|
|
67605
67748
|
client_uri?: string | undefined;
|
|
67606
67749
|
tos_uri?: string | undefined;
|
|
67607
67750
|
policy_uri?: string | undefined;
|
|
67608
67751
|
contacts?: string[] | undefined;
|
|
67609
67752
|
response_types?: string[] | undefined;
|
|
67610
|
-
jwks?: Record<string, unknown> | undefined;
|
|
67611
67753
|
software_id?: string | undefined;
|
|
67612
67754
|
software_version?: string | undefined;
|
|
67613
67755
|
};
|
|
@@ -67710,6 +67852,7 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
67710
67852
|
acr_values?: string | undefined;
|
|
67711
67853
|
vendor_id?: string | undefined;
|
|
67712
67854
|
login_hint?: string | undefined;
|
|
67855
|
+
request_uri?: string | undefined;
|
|
67713
67856
|
};
|
|
67714
67857
|
};
|
|
67715
67858
|
output: Response;
|
|
@@ -67742,6 +67885,7 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
67742
67885
|
acr_values?: string | undefined;
|
|
67743
67886
|
vendor_id?: string | undefined;
|
|
67744
67887
|
login_hint?: string | undefined;
|
|
67888
|
+
request_uri?: string | undefined;
|
|
67745
67889
|
};
|
|
67746
67890
|
};
|
|
67747
67891
|
output: {};
|
|
@@ -67774,6 +67918,7 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
67774
67918
|
acr_values?: string | undefined;
|
|
67775
67919
|
vendor_id?: string | undefined;
|
|
67776
67920
|
login_hint?: string | undefined;
|
|
67921
|
+
request_uri?: string | undefined;
|
|
67777
67922
|
};
|
|
67778
67923
|
};
|
|
67779
67924
|
output: string | {
|
|
@@ -67814,6 +67959,7 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
67814
67959
|
acr_values?: string | undefined;
|
|
67815
67960
|
vendor_id?: string | undefined;
|
|
67816
67961
|
login_hint?: string | undefined;
|
|
67962
|
+
request_uri?: string | undefined;
|
|
67817
67963
|
};
|
|
67818
67964
|
};
|
|
67819
67965
|
output: {
|
|
@@ -67848,6 +67994,7 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
67848
67994
|
acr_values?: string | undefined;
|
|
67849
67995
|
vendor_id?: string | undefined;
|
|
67850
67996
|
login_hint?: string | undefined;
|
|
67997
|
+
request_uri?: string | undefined;
|
|
67851
67998
|
};
|
|
67852
67999
|
};
|
|
67853
68000
|
output: {
|
|
@@ -68166,6 +68313,8 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
68166
68313
|
scope?: string | undefined;
|
|
68167
68314
|
audience?: string | undefined;
|
|
68168
68315
|
organization?: string | undefined;
|
|
68316
|
+
client_assertion?: string | undefined;
|
|
68317
|
+
client_assertion_type?: string | undefined;
|
|
68169
68318
|
} | {
|
|
68170
68319
|
code: string;
|
|
68171
68320
|
grant_type: "authorization_code";
|
|
@@ -68174,6 +68323,8 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
68174
68323
|
organization?: string | undefined;
|
|
68175
68324
|
redirect_uri?: string | undefined;
|
|
68176
68325
|
code_verifier?: string | undefined;
|
|
68326
|
+
client_assertion?: string | undefined;
|
|
68327
|
+
client_assertion_type?: string | undefined;
|
|
68177
68328
|
} | {
|
|
68178
68329
|
refresh_token: string;
|
|
68179
68330
|
grant_type: "refresh_token";
|
|
@@ -68181,6 +68332,8 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
68181
68332
|
client_secret?: string | undefined;
|
|
68182
68333
|
organization?: string | undefined;
|
|
68183
68334
|
redirect_uri?: string | undefined;
|
|
68335
|
+
client_assertion?: string | undefined;
|
|
68336
|
+
client_assertion_type?: string | undefined;
|
|
68184
68337
|
} | {
|
|
68185
68338
|
client_id: string;
|
|
68186
68339
|
grant_type: "http://auth0.com/oauth/grant-type/passwordless/otp";
|
|
@@ -68196,6 +68349,8 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
68196
68349
|
scope?: string | undefined;
|
|
68197
68350
|
audience?: string | undefined;
|
|
68198
68351
|
organization?: string | undefined;
|
|
68352
|
+
client_assertion?: string | undefined;
|
|
68353
|
+
client_assertion_type?: string | undefined;
|
|
68199
68354
|
} | {
|
|
68200
68355
|
code: string;
|
|
68201
68356
|
grant_type: "authorization_code";
|
|
@@ -68204,6 +68359,8 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
68204
68359
|
organization?: string | undefined;
|
|
68205
68360
|
redirect_uri?: string | undefined;
|
|
68206
68361
|
code_verifier?: string | undefined;
|
|
68362
|
+
client_assertion?: string | undefined;
|
|
68363
|
+
client_assertion_type?: string | undefined;
|
|
68207
68364
|
} | {
|
|
68208
68365
|
refresh_token: string;
|
|
68209
68366
|
grant_type: "refresh_token";
|
|
@@ -68211,6 +68368,8 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
68211
68368
|
client_secret?: string | undefined;
|
|
68212
68369
|
organization?: string | undefined;
|
|
68213
68370
|
redirect_uri?: string | undefined;
|
|
68371
|
+
client_assertion?: string | undefined;
|
|
68372
|
+
client_assertion_type?: string | undefined;
|
|
68214
68373
|
} | {
|
|
68215
68374
|
client_id: string;
|
|
68216
68375
|
grant_type: "http://auth0.com/oauth/grant-type/passwordless/otp";
|
|
@@ -68231,6 +68390,8 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
68231
68390
|
scope?: string | undefined;
|
|
68232
68391
|
audience?: string | undefined;
|
|
68233
68392
|
organization?: string | undefined;
|
|
68393
|
+
client_assertion?: string | undefined;
|
|
68394
|
+
client_assertion_type?: string | undefined;
|
|
68234
68395
|
} | {
|
|
68235
68396
|
code: string;
|
|
68236
68397
|
grant_type: "authorization_code";
|
|
@@ -68239,6 +68400,8 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
68239
68400
|
organization?: string | undefined;
|
|
68240
68401
|
redirect_uri?: string | undefined;
|
|
68241
68402
|
code_verifier?: string | undefined;
|
|
68403
|
+
client_assertion?: string | undefined;
|
|
68404
|
+
client_assertion_type?: string | undefined;
|
|
68242
68405
|
} | {
|
|
68243
68406
|
refresh_token: string;
|
|
68244
68407
|
grant_type: "refresh_token";
|
|
@@ -68246,6 +68409,8 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
68246
68409
|
client_secret?: string | undefined;
|
|
68247
68410
|
organization?: string | undefined;
|
|
68248
68411
|
redirect_uri?: string | undefined;
|
|
68412
|
+
client_assertion?: string | undefined;
|
|
68413
|
+
client_assertion_type?: string | undefined;
|
|
68249
68414
|
} | {
|
|
68250
68415
|
client_id: string;
|
|
68251
68416
|
grant_type: "http://auth0.com/oauth/grant-type/passwordless/otp";
|
|
@@ -68261,6 +68426,8 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
68261
68426
|
scope?: string | undefined;
|
|
68262
68427
|
audience?: string | undefined;
|
|
68263
68428
|
organization?: string | undefined;
|
|
68429
|
+
client_assertion?: string | undefined;
|
|
68430
|
+
client_assertion_type?: string | undefined;
|
|
68264
68431
|
} | {
|
|
68265
68432
|
code: string;
|
|
68266
68433
|
grant_type: "authorization_code";
|
|
@@ -68269,6 +68436,8 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
68269
68436
|
organization?: string | undefined;
|
|
68270
68437
|
redirect_uri?: string | undefined;
|
|
68271
68438
|
code_verifier?: string | undefined;
|
|
68439
|
+
client_assertion?: string | undefined;
|
|
68440
|
+
client_assertion_type?: string | undefined;
|
|
68272
68441
|
} | {
|
|
68273
68442
|
refresh_token: string;
|
|
68274
68443
|
grant_type: "refresh_token";
|
|
@@ -68276,6 +68445,8 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
68276
68445
|
client_secret?: string | undefined;
|
|
68277
68446
|
organization?: string | undefined;
|
|
68278
68447
|
redirect_uri?: string | undefined;
|
|
68448
|
+
client_assertion?: string | undefined;
|
|
68449
|
+
client_assertion_type?: string | undefined;
|
|
68279
68450
|
} | {
|
|
68280
68451
|
client_id: string;
|
|
68281
68452
|
grant_type: "http://auth0.com/oauth/grant-type/passwordless/otp";
|
|
@@ -68304,6 +68475,8 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
68304
68475
|
scope?: string | undefined;
|
|
68305
68476
|
audience?: string | undefined;
|
|
68306
68477
|
organization?: string | undefined;
|
|
68478
|
+
client_assertion?: string | undefined;
|
|
68479
|
+
client_assertion_type?: string | undefined;
|
|
68307
68480
|
} | {
|
|
68308
68481
|
code: string;
|
|
68309
68482
|
grant_type: "authorization_code";
|
|
@@ -68312,6 +68485,8 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
68312
68485
|
organization?: string | undefined;
|
|
68313
68486
|
redirect_uri?: string | undefined;
|
|
68314
68487
|
code_verifier?: string | undefined;
|
|
68488
|
+
client_assertion?: string | undefined;
|
|
68489
|
+
client_assertion_type?: string | undefined;
|
|
68315
68490
|
} | {
|
|
68316
68491
|
refresh_token: string;
|
|
68317
68492
|
grant_type: "refresh_token";
|
|
@@ -68319,6 +68494,8 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
68319
68494
|
client_secret?: string | undefined;
|
|
68320
68495
|
organization?: string | undefined;
|
|
68321
68496
|
redirect_uri?: string | undefined;
|
|
68497
|
+
client_assertion?: string | undefined;
|
|
68498
|
+
client_assertion_type?: string | undefined;
|
|
68322
68499
|
} | {
|
|
68323
68500
|
client_id: string;
|
|
68324
68501
|
grant_type: "http://auth0.com/oauth/grant-type/passwordless/otp";
|
|
@@ -68334,6 +68511,8 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
68334
68511
|
scope?: string | undefined;
|
|
68335
68512
|
audience?: string | undefined;
|
|
68336
68513
|
organization?: string | undefined;
|
|
68514
|
+
client_assertion?: string | undefined;
|
|
68515
|
+
client_assertion_type?: string | undefined;
|
|
68337
68516
|
} | {
|
|
68338
68517
|
code: string;
|
|
68339
68518
|
grant_type: "authorization_code";
|
|
@@ -68342,6 +68521,8 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
68342
68521
|
organization?: string | undefined;
|
|
68343
68522
|
redirect_uri?: string | undefined;
|
|
68344
68523
|
code_verifier?: string | undefined;
|
|
68524
|
+
client_assertion?: string | undefined;
|
|
68525
|
+
client_assertion_type?: string | undefined;
|
|
68345
68526
|
} | {
|
|
68346
68527
|
refresh_token: string;
|
|
68347
68528
|
grant_type: "refresh_token";
|
|
@@ -68349,6 +68530,8 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
68349
68530
|
client_secret?: string | undefined;
|
|
68350
68531
|
organization?: string | undefined;
|
|
68351
68532
|
redirect_uri?: string | undefined;
|
|
68533
|
+
client_assertion?: string | undefined;
|
|
68534
|
+
client_assertion_type?: string | undefined;
|
|
68352
68535
|
} | {
|
|
68353
68536
|
client_id: string;
|
|
68354
68537
|
grant_type: "http://auth0.com/oauth/grant-type/passwordless/otp";
|
|
@@ -68372,6 +68555,8 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
68372
68555
|
scope?: string | undefined;
|
|
68373
68556
|
audience?: string | undefined;
|
|
68374
68557
|
organization?: string | undefined;
|
|
68558
|
+
client_assertion?: string | undefined;
|
|
68559
|
+
client_assertion_type?: string | undefined;
|
|
68375
68560
|
} | {
|
|
68376
68561
|
code: string;
|
|
68377
68562
|
grant_type: "authorization_code";
|
|
@@ -68380,6 +68565,8 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
68380
68565
|
organization?: string | undefined;
|
|
68381
68566
|
redirect_uri?: string | undefined;
|
|
68382
68567
|
code_verifier?: string | undefined;
|
|
68568
|
+
client_assertion?: string | undefined;
|
|
68569
|
+
client_assertion_type?: string | undefined;
|
|
68383
68570
|
} | {
|
|
68384
68571
|
refresh_token: string;
|
|
68385
68572
|
grant_type: "refresh_token";
|
|
@@ -68387,6 +68574,8 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
68387
68574
|
client_secret?: string | undefined;
|
|
68388
68575
|
organization?: string | undefined;
|
|
68389
68576
|
redirect_uri?: string | undefined;
|
|
68577
|
+
client_assertion?: string | undefined;
|
|
68578
|
+
client_assertion_type?: string | undefined;
|
|
68390
68579
|
} | {
|
|
68391
68580
|
client_id: string;
|
|
68392
68581
|
grant_type: "http://auth0.com/oauth/grant-type/passwordless/otp";
|
|
@@ -68402,6 +68591,8 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
68402
68591
|
scope?: string | undefined;
|
|
68403
68592
|
audience?: string | undefined;
|
|
68404
68593
|
organization?: string | undefined;
|
|
68594
|
+
client_assertion?: string | undefined;
|
|
68595
|
+
client_assertion_type?: string | undefined;
|
|
68405
68596
|
} | {
|
|
68406
68597
|
code: string;
|
|
68407
68598
|
grant_type: "authorization_code";
|
|
@@ -68410,6 +68601,8 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
68410
68601
|
organization?: string | undefined;
|
|
68411
68602
|
redirect_uri?: string | undefined;
|
|
68412
68603
|
code_verifier?: string | undefined;
|
|
68604
|
+
client_assertion?: string | undefined;
|
|
68605
|
+
client_assertion_type?: string | undefined;
|
|
68413
68606
|
} | {
|
|
68414
68607
|
refresh_token: string;
|
|
68415
68608
|
grant_type: "refresh_token";
|
|
@@ -68417,6 +68610,8 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
68417
68610
|
client_secret?: string | undefined;
|
|
68418
68611
|
organization?: string | undefined;
|
|
68419
68612
|
redirect_uri?: string | undefined;
|
|
68613
|
+
client_assertion?: string | undefined;
|
|
68614
|
+
client_assertion_type?: string | undefined;
|
|
68420
68615
|
} | {
|
|
68421
68616
|
client_id: string;
|
|
68422
68617
|
grant_type: "http://auth0.com/oauth/grant-type/passwordless/otp";
|
|
@@ -68440,6 +68635,8 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
68440
68635
|
scope?: string | undefined;
|
|
68441
68636
|
audience?: string | undefined;
|
|
68442
68637
|
organization?: string | undefined;
|
|
68638
|
+
client_assertion?: string | undefined;
|
|
68639
|
+
client_assertion_type?: string | undefined;
|
|
68443
68640
|
} | {
|
|
68444
68641
|
code: string;
|
|
68445
68642
|
grant_type: "authorization_code";
|
|
@@ -68448,6 +68645,8 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
68448
68645
|
organization?: string | undefined;
|
|
68449
68646
|
redirect_uri?: string | undefined;
|
|
68450
68647
|
code_verifier?: string | undefined;
|
|
68648
|
+
client_assertion?: string | undefined;
|
|
68649
|
+
client_assertion_type?: string | undefined;
|
|
68451
68650
|
} | {
|
|
68452
68651
|
refresh_token: string;
|
|
68453
68652
|
grant_type: "refresh_token";
|
|
@@ -68455,6 +68654,8 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
68455
68654
|
client_secret?: string | undefined;
|
|
68456
68655
|
organization?: string | undefined;
|
|
68457
68656
|
redirect_uri?: string | undefined;
|
|
68657
|
+
client_assertion?: string | undefined;
|
|
68658
|
+
client_assertion_type?: string | undefined;
|
|
68458
68659
|
} | {
|
|
68459
68660
|
client_id: string;
|
|
68460
68661
|
grant_type: "http://auth0.com/oauth/grant-type/passwordless/otp";
|
|
@@ -68470,6 +68671,8 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
68470
68671
|
scope?: string | undefined;
|
|
68471
68672
|
audience?: string | undefined;
|
|
68472
68673
|
organization?: string | undefined;
|
|
68674
|
+
client_assertion?: string | undefined;
|
|
68675
|
+
client_assertion_type?: string | undefined;
|
|
68473
68676
|
} | {
|
|
68474
68677
|
code: string;
|
|
68475
68678
|
grant_type: "authorization_code";
|
|
@@ -68478,6 +68681,8 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
68478
68681
|
organization?: string | undefined;
|
|
68479
68682
|
redirect_uri?: string | undefined;
|
|
68480
68683
|
code_verifier?: string | undefined;
|
|
68684
|
+
client_assertion?: string | undefined;
|
|
68685
|
+
client_assertion_type?: string | undefined;
|
|
68481
68686
|
} | {
|
|
68482
68687
|
refresh_token: string;
|
|
68483
68688
|
grant_type: "refresh_token";
|
|
@@ -68485,6 +68690,8 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
68485
68690
|
client_secret?: string | undefined;
|
|
68486
68691
|
organization?: string | undefined;
|
|
68487
68692
|
redirect_uri?: string | undefined;
|
|
68693
|
+
client_assertion?: string | undefined;
|
|
68694
|
+
client_assertion_type?: string | undefined;
|
|
68488
68695
|
} | {
|
|
68489
68696
|
client_id: string;
|
|
68490
68697
|
grant_type: "http://auth0.com/oauth/grant-type/passwordless/otp";
|
|
@@ -68509,12 +68716,15 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
68509
68716
|
keys: {
|
|
68510
68717
|
kid: string;
|
|
68511
68718
|
alg: "RS256" | "RS384" | "RS512" | "ES256" | "ES384" | "ES512" | "HS256" | "HS384" | "HS512";
|
|
68512
|
-
e: string;
|
|
68513
68719
|
kty: "RSA" | "EC" | "oct";
|
|
68514
|
-
|
|
68720
|
+
x?: string | undefined | undefined;
|
|
68721
|
+
y?: string | undefined | undefined;
|
|
68722
|
+
use?: "sig" | "enc" | undefined | undefined;
|
|
68723
|
+
n?: string | undefined | undefined;
|
|
68724
|
+
e?: string | undefined | undefined;
|
|
68725
|
+
crv?: string | undefined | undefined;
|
|
68515
68726
|
x5t?: string | undefined | undefined;
|
|
68516
68727
|
x5c?: string[] | undefined | undefined;
|
|
68517
|
-
use?: "sig" | "enc" | undefined | undefined;
|
|
68518
68728
|
}[];
|
|
68519
68729
|
};
|
|
68520
68730
|
outputFormat: "json";
|
|
@@ -68548,6 +68758,7 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
68548
68758
|
registration_endpoint?: string | undefined | undefined;
|
|
68549
68759
|
end_session_endpoint?: string | undefined | undefined;
|
|
68550
68760
|
grant_types_supported?: string[] | undefined | undefined;
|
|
68761
|
+
request_object_signing_alg_values_supported?: string[] | undefined | undefined;
|
|
68551
68762
|
};
|
|
68552
68763
|
outputFormat: "json";
|
|
68553
68764
|
status: 200;
|