authhero 4.103.2 → 4.105.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 +123 -111
- package/dist/authhero.d.ts +518 -14
- package/dist/authhero.mjs +14660 -13287
- package/dist/stats.html +1 -1
- package/package.json +4 -4
package/dist/authhero.d.ts
CHANGED
|
@@ -3094,6 +3094,13 @@ export declare const clientInsertSchema: z.ZodObject<{
|
|
|
3094
3094
|
]>>;
|
|
3095
3095
|
par_request_expiry: z.ZodOptional<z.ZodNumber>;
|
|
3096
3096
|
token_quota: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
|
3097
|
+
owner_user_id: z.ZodOptional<z.ZodString>;
|
|
3098
|
+
registration_type: z.ZodOptional<z.ZodEnum<[
|
|
3099
|
+
"manual",
|
|
3100
|
+
"open_dcr",
|
|
3101
|
+
"iat_dcr"
|
|
3102
|
+
]>>;
|
|
3103
|
+
registration_metadata: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
|
3097
3104
|
}, "strip", z.ZodTypeAny, {
|
|
3098
3105
|
name: string;
|
|
3099
3106
|
client_id: string;
|
|
@@ -3143,6 +3150,9 @@ export declare const clientInsertSchema: z.ZodObject<{
|
|
|
3143
3150
|
compliance_level?: "none" | "fapi1_adv_pkj_par" | "fapi1_adv_mtls_par" | "fapi2_sp_pkj_mtls" | "fapi2_sp_mtls_mtls" | undefined;
|
|
3144
3151
|
par_request_expiry?: number | undefined;
|
|
3145
3152
|
token_quota?: Record<string, any> | undefined;
|
|
3153
|
+
owner_user_id?: string | undefined;
|
|
3154
|
+
registration_type?: "manual" | "open_dcr" | "iat_dcr" | undefined;
|
|
3155
|
+
registration_metadata?: Record<string, any> | undefined;
|
|
3146
3156
|
}, {
|
|
3147
3157
|
name: string;
|
|
3148
3158
|
client_id: string;
|
|
@@ -3192,6 +3202,9 @@ export declare const clientInsertSchema: z.ZodObject<{
|
|
|
3192
3202
|
compliance_level?: "none" | "fapi1_adv_pkj_par" | "fapi1_adv_mtls_par" | "fapi2_sp_pkj_mtls" | "fapi2_sp_mtls_mtls" | undefined;
|
|
3193
3203
|
par_request_expiry?: number | undefined;
|
|
3194
3204
|
token_quota?: Record<string, any> | undefined;
|
|
3205
|
+
owner_user_id?: string | undefined;
|
|
3206
|
+
registration_type?: "manual" | "open_dcr" | "iat_dcr" | undefined;
|
|
3207
|
+
registration_metadata?: Record<string, any> | undefined;
|
|
3195
3208
|
}>;
|
|
3196
3209
|
export type ClientInsert = z.input<typeof clientInsertSchema>;
|
|
3197
3210
|
export declare const clientSchema: z.ZodObject<{
|
|
@@ -3287,6 +3300,13 @@ export declare const clientSchema: z.ZodObject<{
|
|
|
3287
3300
|
]>>;
|
|
3288
3301
|
par_request_expiry: z.ZodOptional<z.ZodNumber>;
|
|
3289
3302
|
token_quota: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
|
3303
|
+
owner_user_id: z.ZodOptional<z.ZodString>;
|
|
3304
|
+
registration_type: z.ZodOptional<z.ZodEnum<[
|
|
3305
|
+
"manual",
|
|
3306
|
+
"open_dcr",
|
|
3307
|
+
"iat_dcr"
|
|
3308
|
+
]>>;
|
|
3309
|
+
registration_metadata: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
|
3290
3310
|
created_at: z.ZodString;
|
|
3291
3311
|
updated_at: z.ZodString;
|
|
3292
3312
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -3340,6 +3360,9 @@ export declare const clientSchema: z.ZodObject<{
|
|
|
3340
3360
|
compliance_level?: "none" | "fapi1_adv_pkj_par" | "fapi1_adv_mtls_par" | "fapi2_sp_pkj_mtls" | "fapi2_sp_mtls_mtls" | undefined;
|
|
3341
3361
|
par_request_expiry?: number | undefined;
|
|
3342
3362
|
token_quota?: Record<string, any> | undefined;
|
|
3363
|
+
owner_user_id?: string | undefined;
|
|
3364
|
+
registration_type?: "manual" | "open_dcr" | "iat_dcr" | undefined;
|
|
3365
|
+
registration_metadata?: Record<string, any> | undefined;
|
|
3343
3366
|
}, {
|
|
3344
3367
|
created_at: string;
|
|
3345
3368
|
updated_at: string;
|
|
@@ -3391,6 +3414,9 @@ export declare const clientSchema: z.ZodObject<{
|
|
|
3391
3414
|
compliance_level?: "none" | "fapi1_adv_pkj_par" | "fapi1_adv_mtls_par" | "fapi2_sp_pkj_mtls" | "fapi2_sp_mtls_mtls" | undefined;
|
|
3392
3415
|
par_request_expiry?: number | undefined;
|
|
3393
3416
|
token_quota?: Record<string, any> | undefined;
|
|
3417
|
+
owner_user_id?: string | undefined;
|
|
3418
|
+
registration_type?: "manual" | "open_dcr" | "iat_dcr" | undefined;
|
|
3419
|
+
registration_metadata?: Record<string, any> | undefined;
|
|
3394
3420
|
}>;
|
|
3395
3421
|
export type Client = z.infer<typeof clientSchema>;
|
|
3396
3422
|
export declare const clientGrantInsertSchema: z.ZodObject<{
|
|
@@ -3519,6 +3545,84 @@ export declare const clientGrantListSchema: z.ZodArray<z.ZodObject<{
|
|
|
3519
3545
|
authorization_details_types?: string[] | undefined;
|
|
3520
3546
|
}>, "many">;
|
|
3521
3547
|
export type ClientGrantList = z.infer<typeof clientGrantListSchema>;
|
|
3548
|
+
export declare const clientRegistrationTokenTypeSchema: z.ZodEnum<[
|
|
3549
|
+
"iat",
|
|
3550
|
+
"rat"
|
|
3551
|
+
]>;
|
|
3552
|
+
export type ClientRegistrationTokenType = z.infer<typeof clientRegistrationTokenTypeSchema>;
|
|
3553
|
+
export declare const clientRegistrationTokenInsertSchema: z.ZodObject<{
|
|
3554
|
+
id: z.ZodString;
|
|
3555
|
+
token_hash: z.ZodString;
|
|
3556
|
+
type: z.ZodEnum<[
|
|
3557
|
+
"iat",
|
|
3558
|
+
"rat"
|
|
3559
|
+
]>;
|
|
3560
|
+
client_id: z.ZodOptional<z.ZodString>;
|
|
3561
|
+
sub: z.ZodOptional<z.ZodString>;
|
|
3562
|
+
constraints: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
3563
|
+
single_use: z.ZodDefault<z.ZodBoolean>;
|
|
3564
|
+
expires_at: z.ZodOptional<z.ZodString>;
|
|
3565
|
+
}, "strip", z.ZodTypeAny, {
|
|
3566
|
+
type: "iat" | "rat";
|
|
3567
|
+
id: string;
|
|
3568
|
+
token_hash: string;
|
|
3569
|
+
single_use: boolean;
|
|
3570
|
+
client_id?: string | undefined;
|
|
3571
|
+
sub?: string | undefined;
|
|
3572
|
+
constraints?: Record<string, unknown> | undefined;
|
|
3573
|
+
expires_at?: string | undefined;
|
|
3574
|
+
}, {
|
|
3575
|
+
type: "iat" | "rat";
|
|
3576
|
+
id: string;
|
|
3577
|
+
token_hash: string;
|
|
3578
|
+
client_id?: string | undefined;
|
|
3579
|
+
sub?: string | undefined;
|
|
3580
|
+
constraints?: Record<string, unknown> | undefined;
|
|
3581
|
+
single_use?: boolean | undefined;
|
|
3582
|
+
expires_at?: string | undefined;
|
|
3583
|
+
}>;
|
|
3584
|
+
export type ClientRegistrationTokenInsert = z.infer<typeof clientRegistrationTokenInsertSchema>;
|
|
3585
|
+
export declare const clientRegistrationTokenSchema: z.ZodObject<{
|
|
3586
|
+
id: z.ZodString;
|
|
3587
|
+
token_hash: z.ZodString;
|
|
3588
|
+
type: z.ZodEnum<[
|
|
3589
|
+
"iat",
|
|
3590
|
+
"rat"
|
|
3591
|
+
]>;
|
|
3592
|
+
client_id: z.ZodOptional<z.ZodString>;
|
|
3593
|
+
sub: z.ZodOptional<z.ZodString>;
|
|
3594
|
+
constraints: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
3595
|
+
single_use: z.ZodDefault<z.ZodBoolean>;
|
|
3596
|
+
expires_at: z.ZodOptional<z.ZodString>;
|
|
3597
|
+
created_at: z.ZodString;
|
|
3598
|
+
used_at: z.ZodOptional<z.ZodString>;
|
|
3599
|
+
revoked_at: z.ZodOptional<z.ZodString>;
|
|
3600
|
+
}, "strip", z.ZodTypeAny, {
|
|
3601
|
+
created_at: string;
|
|
3602
|
+
type: "iat" | "rat";
|
|
3603
|
+
id: string;
|
|
3604
|
+
token_hash: string;
|
|
3605
|
+
single_use: boolean;
|
|
3606
|
+
client_id?: string | undefined;
|
|
3607
|
+
sub?: string | undefined;
|
|
3608
|
+
constraints?: Record<string, unknown> | undefined;
|
|
3609
|
+
expires_at?: string | undefined;
|
|
3610
|
+
used_at?: string | undefined;
|
|
3611
|
+
revoked_at?: string | undefined;
|
|
3612
|
+
}, {
|
|
3613
|
+
created_at: string;
|
|
3614
|
+
type: "iat" | "rat";
|
|
3615
|
+
id: string;
|
|
3616
|
+
token_hash: string;
|
|
3617
|
+
client_id?: string | undefined;
|
|
3618
|
+
sub?: string | undefined;
|
|
3619
|
+
constraints?: Record<string, unknown> | undefined;
|
|
3620
|
+
single_use?: boolean | undefined;
|
|
3621
|
+
expires_at?: string | undefined;
|
|
3622
|
+
used_at?: string | undefined;
|
|
3623
|
+
revoked_at?: string | undefined;
|
|
3624
|
+
}>;
|
|
3625
|
+
export type ClientRegistrationToken = z.infer<typeof clientRegistrationTokenSchema>;
|
|
3522
3626
|
/**
|
|
3523
3627
|
* Types for Auth0 Form Flow components
|
|
3524
3628
|
* Based on the actual structure used by Auth0 forms API
|
|
@@ -11375,12 +11479,13 @@ export declare const codeInsertSchema: z.ZodObject<{
|
|
|
11375
11479
|
used_at: z.ZodOptional<z.ZodString>;
|
|
11376
11480
|
user_id: z.ZodOptional<z.ZodString>;
|
|
11377
11481
|
}, "strip", z.ZodTypeAny, {
|
|
11482
|
+
expires_at: string;
|
|
11378
11483
|
code_id: string;
|
|
11379
11484
|
login_id: string;
|
|
11380
11485
|
code_type: "password_reset" | "email_verification" | "otp" | "mfa_otp" | "authorization_code" | "oauth2_state" | "ticket";
|
|
11381
|
-
expires_at: string;
|
|
11382
11486
|
connection_id?: string | undefined;
|
|
11383
11487
|
user_id?: string | undefined;
|
|
11488
|
+
used_at?: string | undefined;
|
|
11384
11489
|
redirect_uri?: string | undefined;
|
|
11385
11490
|
state?: string | undefined;
|
|
11386
11491
|
nonce?: string | undefined;
|
|
@@ -11388,14 +11493,14 @@ export declare const codeInsertSchema: z.ZodObject<{
|
|
|
11388
11493
|
code_challenge?: string | undefined;
|
|
11389
11494
|
otp?: string | undefined;
|
|
11390
11495
|
code_verifier?: string | undefined;
|
|
11391
|
-
used_at?: string | undefined;
|
|
11392
11496
|
}, {
|
|
11497
|
+
expires_at: string;
|
|
11393
11498
|
code_id: string;
|
|
11394
11499
|
login_id: string;
|
|
11395
11500
|
code_type: "password_reset" | "email_verification" | "otp" | "mfa_otp" | "authorization_code" | "oauth2_state" | "ticket";
|
|
11396
|
-
expires_at: string;
|
|
11397
11501
|
connection_id?: string | undefined;
|
|
11398
11502
|
user_id?: string | undefined;
|
|
11503
|
+
used_at?: string | undefined;
|
|
11399
11504
|
redirect_uri?: string | undefined;
|
|
11400
11505
|
state?: string | undefined;
|
|
11401
11506
|
nonce?: string | undefined;
|
|
@@ -11403,7 +11508,6 @@ export declare const codeInsertSchema: z.ZodObject<{
|
|
|
11403
11508
|
code_challenge?: string | undefined;
|
|
11404
11509
|
otp?: string | undefined;
|
|
11405
11510
|
code_verifier?: string | undefined;
|
|
11406
|
-
used_at?: string | undefined;
|
|
11407
11511
|
}>;
|
|
11408
11512
|
export type CodeInsert = z.infer<typeof codeInsertSchema>;
|
|
11409
11513
|
export declare const codeSchema: z.ZodObject<{
|
|
@@ -11435,12 +11539,13 @@ export declare const codeSchema: z.ZodObject<{
|
|
|
11435
11539
|
user_id: z.ZodOptional<z.ZodString>;
|
|
11436
11540
|
}, "strip", z.ZodTypeAny, {
|
|
11437
11541
|
created_at: string;
|
|
11542
|
+
expires_at: string;
|
|
11438
11543
|
code_id: string;
|
|
11439
11544
|
login_id: string;
|
|
11440
11545
|
code_type: "password_reset" | "email_verification" | "otp" | "mfa_otp" | "authorization_code" | "oauth2_state" | "ticket";
|
|
11441
|
-
expires_at: string;
|
|
11442
11546
|
connection_id?: string | undefined;
|
|
11443
11547
|
user_id?: string | undefined;
|
|
11548
|
+
used_at?: string | undefined;
|
|
11444
11549
|
redirect_uri?: string | undefined;
|
|
11445
11550
|
state?: string | undefined;
|
|
11446
11551
|
nonce?: string | undefined;
|
|
@@ -11448,15 +11553,15 @@ export declare const codeSchema: z.ZodObject<{
|
|
|
11448
11553
|
code_challenge?: string | undefined;
|
|
11449
11554
|
otp?: string | undefined;
|
|
11450
11555
|
code_verifier?: string | undefined;
|
|
11451
|
-
used_at?: string | undefined;
|
|
11452
11556
|
}, {
|
|
11453
11557
|
created_at: string;
|
|
11558
|
+
expires_at: string;
|
|
11454
11559
|
code_id: string;
|
|
11455
11560
|
login_id: string;
|
|
11456
11561
|
code_type: "password_reset" | "email_verification" | "otp" | "mfa_otp" | "authorization_code" | "oauth2_state" | "ticket";
|
|
11457
|
-
expires_at: string;
|
|
11458
11562
|
connection_id?: string | undefined;
|
|
11459
11563
|
user_id?: string | undefined;
|
|
11564
|
+
used_at?: string | undefined;
|
|
11460
11565
|
redirect_uri?: string | undefined;
|
|
11461
11566
|
state?: string | undefined;
|
|
11462
11567
|
nonce?: string | undefined;
|
|
@@ -11464,7 +11569,6 @@ export declare const codeSchema: z.ZodObject<{
|
|
|
11464
11569
|
code_challenge?: string | undefined;
|
|
11465
11570
|
otp?: string | undefined;
|
|
11466
11571
|
code_verifier?: string | undefined;
|
|
11467
|
-
used_at?: string | undefined;
|
|
11468
11572
|
}>;
|
|
11469
11573
|
export type Code = z.infer<typeof codeSchema>;
|
|
11470
11574
|
export declare const connectionOptionsSchema: z.ZodObject<{
|
|
@@ -42927,7 +43031,7 @@ export declare const openIDConfigurationSchema: z.ZodObject<{
|
|
|
42927
43031
|
userinfo_endpoint: z.ZodString;
|
|
42928
43032
|
mfa_challenge_endpoint: z.ZodString;
|
|
42929
43033
|
jwks_uri: z.ZodString;
|
|
42930
|
-
registration_endpoint: z.ZodString
|
|
43034
|
+
registration_endpoint: z.ZodOptional<z.ZodString>;
|
|
42931
43035
|
revocation_endpoint: z.ZodString;
|
|
42932
43036
|
scopes_supported: z.ZodArray<z.ZodString, "many">;
|
|
42933
43037
|
response_types_supported: z.ZodArray<z.ZodString, "many">;
|
|
@@ -42948,7 +43052,6 @@ export declare const openIDConfigurationSchema: z.ZodObject<{
|
|
|
42948
43052
|
issuer: string;
|
|
42949
43053
|
device_authorization_endpoint: string;
|
|
42950
43054
|
mfa_challenge_endpoint: string;
|
|
42951
|
-
registration_endpoint: string;
|
|
42952
43055
|
revocation_endpoint: string;
|
|
42953
43056
|
scopes_supported: string[];
|
|
42954
43057
|
response_types_supported: string[];
|
|
@@ -42961,6 +43064,7 @@ export declare const openIDConfigurationSchema: z.ZodObject<{
|
|
|
42961
43064
|
request_uri_parameter_supported: boolean;
|
|
42962
43065
|
request_parameter_supported: boolean;
|
|
42963
43066
|
token_endpoint_auth_signing_alg_values_supported: string[];
|
|
43067
|
+
registration_endpoint?: string | undefined;
|
|
42964
43068
|
}, {
|
|
42965
43069
|
authorization_endpoint: string;
|
|
42966
43070
|
token_endpoint: string;
|
|
@@ -42969,7 +43073,6 @@ export declare const openIDConfigurationSchema: z.ZodObject<{
|
|
|
42969
43073
|
issuer: string;
|
|
42970
43074
|
device_authorization_endpoint: string;
|
|
42971
43075
|
mfa_challenge_endpoint: string;
|
|
42972
|
-
registration_endpoint: string;
|
|
42973
43076
|
revocation_endpoint: string;
|
|
42974
43077
|
scopes_supported: string[];
|
|
42975
43078
|
response_types_supported: string[];
|
|
@@ -42982,6 +43085,7 @@ export declare const openIDConfigurationSchema: z.ZodObject<{
|
|
|
42982
43085
|
request_uri_parameter_supported: boolean;
|
|
42983
43086
|
request_parameter_supported: boolean;
|
|
42984
43087
|
token_endpoint_auth_signing_alg_values_supported: string[];
|
|
43088
|
+
registration_endpoint?: string | undefined;
|
|
42985
43089
|
}>;
|
|
42986
43090
|
export interface ListParams {
|
|
42987
43091
|
page?: number;
|
|
@@ -43118,8 +43222,8 @@ export declare const loginSessionInsertSchema: z.ZodObject<{
|
|
|
43118
43222
|
}>>;
|
|
43119
43223
|
authenticated_at: z.ZodOptional<z.ZodString>;
|
|
43120
43224
|
}, "strip", z.ZodTypeAny, {
|
|
43121
|
-
state: LoginSessionState;
|
|
43122
43225
|
expires_at: string;
|
|
43226
|
+
state: LoginSessionState;
|
|
43123
43227
|
csrf_token: string;
|
|
43124
43228
|
authParams: {
|
|
43125
43229
|
client_id: string;
|
|
@@ -43287,8 +43391,8 @@ export declare const loginSessionSchema: z.ZodObject<{
|
|
|
43287
43391
|
created_at: string;
|
|
43288
43392
|
updated_at: string;
|
|
43289
43393
|
id: string;
|
|
43290
|
-
state: LoginSessionState;
|
|
43291
43394
|
expires_at: string;
|
|
43395
|
+
state: LoginSessionState;
|
|
43292
43396
|
csrf_token: string;
|
|
43293
43397
|
authParams: {
|
|
43294
43398
|
client_id: string;
|
|
@@ -44151,6 +44255,10 @@ export declare const tenantInsertSchema: z.ZodObject<{
|
|
|
44151
44255
|
enable_client_connections: z.ZodOptional<z.ZodBoolean>;
|
|
44152
44256
|
enable_custom_domain_in_emails: z.ZodOptional<z.ZodBoolean>;
|
|
44153
44257
|
enable_dynamic_client_registration: z.ZodOptional<z.ZodBoolean>;
|
|
44258
|
+
dcr_require_initial_access_token: z.ZodOptional<z.ZodBoolean>;
|
|
44259
|
+
dcr_allowed_grant_types: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
44260
|
+
dcr_allowed_integration_types: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
44261
|
+
allow_http_return_to: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">>;
|
|
44154
44262
|
enable_idtoken_api2: z.ZodOptional<z.ZodBoolean>;
|
|
44155
44263
|
enable_legacy_logs_search_v2: z.ZodOptional<z.ZodBoolean>;
|
|
44156
44264
|
enable_legacy_profile: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -44185,6 +44293,10 @@ export declare const tenantInsertSchema: z.ZodObject<{
|
|
|
44185
44293
|
enable_client_connections?: boolean | undefined;
|
|
44186
44294
|
enable_custom_domain_in_emails?: boolean | undefined;
|
|
44187
44295
|
enable_dynamic_client_registration?: boolean | undefined;
|
|
44296
|
+
dcr_require_initial_access_token?: boolean | undefined;
|
|
44297
|
+
dcr_allowed_grant_types?: string[] | undefined;
|
|
44298
|
+
dcr_allowed_integration_types?: string[] | undefined;
|
|
44299
|
+
allow_http_return_to?: string[] | undefined;
|
|
44188
44300
|
enable_idtoken_api2?: boolean | undefined;
|
|
44189
44301
|
enable_legacy_logs_search_v2?: boolean | undefined;
|
|
44190
44302
|
enable_legacy_profile?: boolean | undefined;
|
|
@@ -44219,6 +44331,10 @@ export declare const tenantInsertSchema: z.ZodObject<{
|
|
|
44219
44331
|
enable_client_connections?: boolean | undefined;
|
|
44220
44332
|
enable_custom_domain_in_emails?: boolean | undefined;
|
|
44221
44333
|
enable_dynamic_client_registration?: boolean | undefined;
|
|
44334
|
+
dcr_require_initial_access_token?: boolean | undefined;
|
|
44335
|
+
dcr_allowed_grant_types?: string[] | undefined;
|
|
44336
|
+
dcr_allowed_integration_types?: string[] | undefined;
|
|
44337
|
+
allow_http_return_to?: string[] | undefined;
|
|
44222
44338
|
enable_idtoken_api2?: boolean | undefined;
|
|
44223
44339
|
enable_legacy_logs_search_v2?: boolean | undefined;
|
|
44224
44340
|
enable_legacy_profile?: boolean | undefined;
|
|
@@ -44494,6 +44610,10 @@ export declare const tenantInsertSchema: z.ZodObject<{
|
|
|
44494
44610
|
enable_client_connections?: boolean | undefined;
|
|
44495
44611
|
enable_custom_domain_in_emails?: boolean | undefined;
|
|
44496
44612
|
enable_dynamic_client_registration?: boolean | undefined;
|
|
44613
|
+
dcr_require_initial_access_token?: boolean | undefined;
|
|
44614
|
+
dcr_allowed_grant_types?: string[] | undefined;
|
|
44615
|
+
dcr_allowed_integration_types?: string[] | undefined;
|
|
44616
|
+
allow_http_return_to?: string[] | undefined;
|
|
44497
44617
|
enable_idtoken_api2?: boolean | undefined;
|
|
44498
44618
|
enable_legacy_logs_search_v2?: boolean | undefined;
|
|
44499
44619
|
enable_legacy_profile?: boolean | undefined;
|
|
@@ -44618,6 +44738,10 @@ export declare const tenantInsertSchema: z.ZodObject<{
|
|
|
44618
44738
|
enable_client_connections?: boolean | undefined;
|
|
44619
44739
|
enable_custom_domain_in_emails?: boolean | undefined;
|
|
44620
44740
|
enable_dynamic_client_registration?: boolean | undefined;
|
|
44741
|
+
dcr_require_initial_access_token?: boolean | undefined;
|
|
44742
|
+
dcr_allowed_grant_types?: string[] | undefined;
|
|
44743
|
+
dcr_allowed_integration_types?: string[] | undefined;
|
|
44744
|
+
allow_http_return_to?: string[] | undefined;
|
|
44621
44745
|
enable_idtoken_api2?: boolean | undefined;
|
|
44622
44746
|
enable_legacy_logs_search_v2?: boolean | undefined;
|
|
44623
44747
|
enable_legacy_profile?: boolean | undefined;
|
|
@@ -44754,6 +44878,10 @@ export declare const tenantSchema: z.ZodObject<{
|
|
|
44754
44878
|
enable_client_connections: z.ZodOptional<z.ZodBoolean>;
|
|
44755
44879
|
enable_custom_domain_in_emails: z.ZodOptional<z.ZodBoolean>;
|
|
44756
44880
|
enable_dynamic_client_registration: z.ZodOptional<z.ZodBoolean>;
|
|
44881
|
+
dcr_require_initial_access_token: z.ZodOptional<z.ZodBoolean>;
|
|
44882
|
+
dcr_allowed_grant_types: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
44883
|
+
dcr_allowed_integration_types: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
44884
|
+
allow_http_return_to: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">>;
|
|
44757
44885
|
enable_idtoken_api2: z.ZodOptional<z.ZodBoolean>;
|
|
44758
44886
|
enable_legacy_logs_search_v2: z.ZodOptional<z.ZodBoolean>;
|
|
44759
44887
|
enable_legacy_profile: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -44788,6 +44916,10 @@ export declare const tenantSchema: z.ZodObject<{
|
|
|
44788
44916
|
enable_client_connections?: boolean | undefined;
|
|
44789
44917
|
enable_custom_domain_in_emails?: boolean | undefined;
|
|
44790
44918
|
enable_dynamic_client_registration?: boolean | undefined;
|
|
44919
|
+
dcr_require_initial_access_token?: boolean | undefined;
|
|
44920
|
+
dcr_allowed_grant_types?: string[] | undefined;
|
|
44921
|
+
dcr_allowed_integration_types?: string[] | undefined;
|
|
44922
|
+
allow_http_return_to?: string[] | undefined;
|
|
44791
44923
|
enable_idtoken_api2?: boolean | undefined;
|
|
44792
44924
|
enable_legacy_logs_search_v2?: boolean | undefined;
|
|
44793
44925
|
enable_legacy_profile?: boolean | undefined;
|
|
@@ -44822,6 +44954,10 @@ export declare const tenantSchema: z.ZodObject<{
|
|
|
44822
44954
|
enable_client_connections?: boolean | undefined;
|
|
44823
44955
|
enable_custom_domain_in_emails?: boolean | undefined;
|
|
44824
44956
|
enable_dynamic_client_registration?: boolean | undefined;
|
|
44957
|
+
dcr_require_initial_access_token?: boolean | undefined;
|
|
44958
|
+
dcr_allowed_grant_types?: string[] | undefined;
|
|
44959
|
+
dcr_allowed_integration_types?: string[] | undefined;
|
|
44960
|
+
allow_http_return_to?: string[] | undefined;
|
|
44825
44961
|
enable_idtoken_api2?: boolean | undefined;
|
|
44826
44962
|
enable_legacy_logs_search_v2?: boolean | undefined;
|
|
44827
44963
|
enable_legacy_profile?: boolean | undefined;
|
|
@@ -45101,6 +45237,10 @@ export declare const tenantSchema: z.ZodObject<{
|
|
|
45101
45237
|
enable_client_connections?: boolean | undefined;
|
|
45102
45238
|
enable_custom_domain_in_emails?: boolean | undefined;
|
|
45103
45239
|
enable_dynamic_client_registration?: boolean | undefined;
|
|
45240
|
+
dcr_require_initial_access_token?: boolean | undefined;
|
|
45241
|
+
dcr_allowed_grant_types?: string[] | undefined;
|
|
45242
|
+
dcr_allowed_integration_types?: string[] | undefined;
|
|
45243
|
+
allow_http_return_to?: string[] | undefined;
|
|
45104
45244
|
enable_idtoken_api2?: boolean | undefined;
|
|
45105
45245
|
enable_legacy_logs_search_v2?: boolean | undefined;
|
|
45106
45246
|
enable_legacy_profile?: boolean | undefined;
|
|
@@ -45227,6 +45367,10 @@ export declare const tenantSchema: z.ZodObject<{
|
|
|
45227
45367
|
enable_client_connections?: boolean | undefined;
|
|
45228
45368
|
enable_custom_domain_in_emails?: boolean | undefined;
|
|
45229
45369
|
enable_dynamic_client_registration?: boolean | undefined;
|
|
45370
|
+
dcr_require_initial_access_token?: boolean | undefined;
|
|
45371
|
+
dcr_allowed_grant_types?: string[] | undefined;
|
|
45372
|
+
dcr_allowed_integration_types?: string[] | undefined;
|
|
45373
|
+
allow_http_return_to?: string[] | undefined;
|
|
45230
45374
|
enable_idtoken_api2?: boolean | undefined;
|
|
45231
45375
|
enable_legacy_logs_search_v2?: boolean | undefined;
|
|
45232
45376
|
enable_legacy_profile?: boolean | undefined;
|
|
@@ -48753,6 +48897,7 @@ export interface IdentifierConfig {
|
|
|
48753
48897
|
* options.attributes.username.validation.{min_length,max_length}
|
|
48754
48898
|
*/
|
|
48755
48899
|
export declare function getConnectionIdentifierConfig(connection: ConnectionLike | null | undefined): IdentifierConfig;
|
|
48900
|
+
export declare function isPlainObject(value: unknown): value is Record<string, unknown>;
|
|
48756
48901
|
export interface ListActionsResponse extends Totals {
|
|
48757
48902
|
actions: Action[];
|
|
48758
48903
|
}
|
|
@@ -48866,6 +49011,16 @@ export interface ClientGrantsAdapter {
|
|
|
48866
49011
|
update(tenant_id: string, id: string, clientGrant: Partial<ClientGrantInsert>): Promise<boolean>;
|
|
48867
49012
|
remove(tenant_id: string, id: string): Promise<boolean>;
|
|
48868
49013
|
}
|
|
49014
|
+
export interface ClientRegistrationTokensAdapter {
|
|
49015
|
+
create: (tenant_id: string, token: ClientRegistrationTokenInsert) => Promise<ClientRegistrationToken>;
|
|
49016
|
+
get: (tenant_id: string, id: string) => Promise<ClientRegistrationToken | null>;
|
|
49017
|
+
getByHash: (tenant_id: string, token_hash: string) => Promise<ClientRegistrationToken | null>;
|
|
49018
|
+
listByClient: (tenant_id: string, client_id: string) => Promise<ClientRegistrationToken[]>;
|
|
49019
|
+
markUsed: (tenant_id: string, id: string, used_at: string) => Promise<boolean>;
|
|
49020
|
+
revoke: (tenant_id: string, id: string, revoked_at: string) => Promise<boolean>;
|
|
49021
|
+
revokeByClient: (tenant_id: string, client_id: string, revoked_at: string) => Promise<number>;
|
|
49022
|
+
remove: (tenant_id: string, id: string) => Promise<boolean>;
|
|
49023
|
+
}
|
|
48869
49024
|
export interface ListCodesResponse extends Totals {
|
|
48870
49025
|
codes: Code[];
|
|
48871
49026
|
}
|
|
@@ -49328,6 +49483,7 @@ export interface DataAdapters {
|
|
|
49328
49483
|
clients: ClientsAdapter;
|
|
49329
49484
|
clientConnections: ClientConnectionsAdapter;
|
|
49330
49485
|
clientGrants: ClientGrantsAdapter;
|
|
49486
|
+
clientRegistrationTokens?: ClientRegistrationTokensAdapter;
|
|
49331
49487
|
codes: CodesAdapter;
|
|
49332
49488
|
connections: ConnectionsAdapter;
|
|
49333
49489
|
customDomains: CustomDomainsAdapter;
|
|
@@ -49517,6 +49673,10 @@ declare const enrichedClientSchema: z.ZodObject<{
|
|
|
49517
49673
|
enable_client_connections: z.ZodOptional<z.ZodBoolean>;
|
|
49518
49674
|
enable_custom_domain_in_emails: z.ZodOptional<z.ZodBoolean>;
|
|
49519
49675
|
enable_dynamic_client_registration: z.ZodOptional<z.ZodBoolean>;
|
|
49676
|
+
dcr_require_initial_access_token: z.ZodOptional<z.ZodBoolean>;
|
|
49677
|
+
dcr_allowed_grant_types: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
49678
|
+
dcr_allowed_integration_types: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
49679
|
+
allow_http_return_to: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">>;
|
|
49520
49680
|
enable_idtoken_api2: z.ZodOptional<z.ZodBoolean>;
|
|
49521
49681
|
enable_legacy_logs_search_v2: z.ZodOptional<z.ZodBoolean>;
|
|
49522
49682
|
enable_legacy_profile: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -49551,6 +49711,10 @@ declare const enrichedClientSchema: z.ZodObject<{
|
|
|
49551
49711
|
enable_client_connections?: boolean | undefined;
|
|
49552
49712
|
enable_custom_domain_in_emails?: boolean | undefined;
|
|
49553
49713
|
enable_dynamic_client_registration?: boolean | undefined;
|
|
49714
|
+
dcr_require_initial_access_token?: boolean | undefined;
|
|
49715
|
+
dcr_allowed_grant_types?: string[] | undefined;
|
|
49716
|
+
dcr_allowed_integration_types?: string[] | undefined;
|
|
49717
|
+
allow_http_return_to?: string[] | undefined;
|
|
49554
49718
|
enable_idtoken_api2?: boolean | undefined;
|
|
49555
49719
|
enable_legacy_logs_search_v2?: boolean | undefined;
|
|
49556
49720
|
enable_legacy_profile?: boolean | undefined;
|
|
@@ -49585,6 +49749,10 @@ declare const enrichedClientSchema: z.ZodObject<{
|
|
|
49585
49749
|
enable_client_connections?: boolean | undefined;
|
|
49586
49750
|
enable_custom_domain_in_emails?: boolean | undefined;
|
|
49587
49751
|
enable_dynamic_client_registration?: boolean | undefined;
|
|
49752
|
+
dcr_require_initial_access_token?: boolean | undefined;
|
|
49753
|
+
dcr_allowed_grant_types?: string[] | undefined;
|
|
49754
|
+
dcr_allowed_integration_types?: string[] | undefined;
|
|
49755
|
+
allow_http_return_to?: string[] | undefined;
|
|
49588
49756
|
enable_idtoken_api2?: boolean | undefined;
|
|
49589
49757
|
enable_legacy_logs_search_v2?: boolean | undefined;
|
|
49590
49758
|
enable_legacy_profile?: boolean | undefined;
|
|
@@ -49864,6 +50032,10 @@ declare const enrichedClientSchema: z.ZodObject<{
|
|
|
49864
50032
|
enable_client_connections?: boolean | undefined;
|
|
49865
50033
|
enable_custom_domain_in_emails?: boolean | undefined;
|
|
49866
50034
|
enable_dynamic_client_registration?: boolean | undefined;
|
|
50035
|
+
dcr_require_initial_access_token?: boolean | undefined;
|
|
50036
|
+
dcr_allowed_grant_types?: string[] | undefined;
|
|
50037
|
+
dcr_allowed_integration_types?: string[] | undefined;
|
|
50038
|
+
allow_http_return_to?: string[] | undefined;
|
|
49867
50039
|
enable_idtoken_api2?: boolean | undefined;
|
|
49868
50040
|
enable_legacy_logs_search_v2?: boolean | undefined;
|
|
49869
50041
|
enable_legacy_profile?: boolean | undefined;
|
|
@@ -49990,6 +50162,10 @@ declare const enrichedClientSchema: z.ZodObject<{
|
|
|
49990
50162
|
enable_client_connections?: boolean | undefined;
|
|
49991
50163
|
enable_custom_domain_in_emails?: boolean | undefined;
|
|
49992
50164
|
enable_dynamic_client_registration?: boolean | undefined;
|
|
50165
|
+
dcr_require_initial_access_token?: boolean | undefined;
|
|
50166
|
+
dcr_allowed_grant_types?: string[] | undefined;
|
|
50167
|
+
dcr_allowed_integration_types?: string[] | undefined;
|
|
50168
|
+
allow_http_return_to?: string[] | undefined;
|
|
49993
50169
|
enable_idtoken_api2?: boolean | undefined;
|
|
49994
50170
|
enable_legacy_logs_search_v2?: boolean | undefined;
|
|
49995
50171
|
enable_legacy_profile?: boolean | undefined;
|
|
@@ -51038,6 +51214,13 @@ declare const enrichedClientSchema: z.ZodObject<{
|
|
|
51038
51214
|
]>>;
|
|
51039
51215
|
par_request_expiry: z.ZodOptional<z.ZodNumber>;
|
|
51040
51216
|
token_quota: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
|
51217
|
+
owner_user_id: z.ZodOptional<z.ZodString>;
|
|
51218
|
+
registration_type: z.ZodOptional<z.ZodEnum<[
|
|
51219
|
+
"manual",
|
|
51220
|
+
"open_dcr",
|
|
51221
|
+
"iat_dcr"
|
|
51222
|
+
]>>;
|
|
51223
|
+
registration_metadata: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
|
51041
51224
|
created_at: z.ZodString;
|
|
51042
51225
|
updated_at: z.ZodString;
|
|
51043
51226
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -51091,6 +51274,10 @@ declare const enrichedClientSchema: z.ZodObject<{
|
|
|
51091
51274
|
enable_client_connections?: boolean | undefined;
|
|
51092
51275
|
enable_custom_domain_in_emails?: boolean | undefined;
|
|
51093
51276
|
enable_dynamic_client_registration?: boolean | undefined;
|
|
51277
|
+
dcr_require_initial_access_token?: boolean | undefined;
|
|
51278
|
+
dcr_allowed_grant_types?: string[] | undefined;
|
|
51279
|
+
dcr_allowed_integration_types?: string[] | undefined;
|
|
51280
|
+
allow_http_return_to?: string[] | undefined;
|
|
51094
51281
|
enable_idtoken_api2?: boolean | undefined;
|
|
51095
51282
|
enable_legacy_logs_search_v2?: boolean | undefined;
|
|
51096
51283
|
enable_legacy_profile?: boolean | undefined;
|
|
@@ -51336,6 +51523,9 @@ declare const enrichedClientSchema: z.ZodObject<{
|
|
|
51336
51523
|
compliance_level?: "none" | "fapi1_adv_pkj_par" | "fapi1_adv_mtls_par" | "fapi2_sp_pkj_mtls" | "fapi2_sp_mtls_mtls" | undefined;
|
|
51337
51524
|
par_request_expiry?: number | undefined;
|
|
51338
51525
|
token_quota?: Record<string, any> | undefined;
|
|
51526
|
+
owner_user_id?: string | undefined;
|
|
51527
|
+
registration_type?: "manual" | "open_dcr" | "iat_dcr" | undefined;
|
|
51528
|
+
registration_metadata?: Record<string, any> | undefined;
|
|
51339
51529
|
}, {
|
|
51340
51530
|
name: string;
|
|
51341
51531
|
tenant: {
|
|
@@ -51387,6 +51577,10 @@ declare const enrichedClientSchema: z.ZodObject<{
|
|
|
51387
51577
|
enable_client_connections?: boolean | undefined;
|
|
51388
51578
|
enable_custom_domain_in_emails?: boolean | undefined;
|
|
51389
51579
|
enable_dynamic_client_registration?: boolean | undefined;
|
|
51580
|
+
dcr_require_initial_access_token?: boolean | undefined;
|
|
51581
|
+
dcr_allowed_grant_types?: string[] | undefined;
|
|
51582
|
+
dcr_allowed_integration_types?: string[] | undefined;
|
|
51583
|
+
allow_http_return_to?: string[] | undefined;
|
|
51390
51584
|
enable_idtoken_api2?: boolean | undefined;
|
|
51391
51585
|
enable_legacy_logs_search_v2?: boolean | undefined;
|
|
51392
51586
|
enable_legacy_profile?: boolean | undefined;
|
|
@@ -51632,6 +51826,9 @@ declare const enrichedClientSchema: z.ZodObject<{
|
|
|
51632
51826
|
compliance_level?: "none" | "fapi1_adv_pkj_par" | "fapi1_adv_mtls_par" | "fapi2_sp_pkj_mtls" | "fapi2_sp_mtls_mtls" | undefined;
|
|
51633
51827
|
par_request_expiry?: number | undefined;
|
|
51634
51828
|
token_quota?: Record<string, any> | undefined;
|
|
51829
|
+
owner_user_id?: string | undefined;
|
|
51830
|
+
registration_type?: "manual" | "open_dcr" | "iat_dcr" | undefined;
|
|
51831
|
+
registration_metadata?: Record<string, any> | undefined;
|
|
51635
51832
|
}>;
|
|
51636
51833
|
export type EnrichedClient = z.infer<typeof enrichedClientSchema>;
|
|
51637
51834
|
/** Context passed to entity hooks */
|
|
@@ -61234,6 +61431,35 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
61234
61431
|
};
|
|
61235
61432
|
};
|
|
61236
61433
|
}, "/logs"> & import("hono/types").MergeSchemaPath<{
|
|
61434
|
+
"/": {
|
|
61435
|
+
$post: {
|
|
61436
|
+
input: {
|
|
61437
|
+
header: {
|
|
61438
|
+
"tenant-id"?: string | undefined;
|
|
61439
|
+
};
|
|
61440
|
+
} & {
|
|
61441
|
+
json: {
|
|
61442
|
+
sub?: string | undefined;
|
|
61443
|
+
single_use?: boolean | undefined;
|
|
61444
|
+
constraints?: Record<string, unknown> | undefined;
|
|
61445
|
+
expires_in_seconds?: number | undefined;
|
|
61446
|
+
};
|
|
61447
|
+
};
|
|
61448
|
+
output: {
|
|
61449
|
+
id: string;
|
|
61450
|
+
expires_at: string;
|
|
61451
|
+
token: string;
|
|
61452
|
+
single_use: boolean;
|
|
61453
|
+
sub?: string | undefined;
|
|
61454
|
+
constraints?: {
|
|
61455
|
+
[x: string]: import("hono/utils/types").JSONValue;
|
|
61456
|
+
} | undefined;
|
|
61457
|
+
};
|
|
61458
|
+
outputFormat: "json";
|
|
61459
|
+
status: 201;
|
|
61460
|
+
};
|
|
61461
|
+
};
|
|
61462
|
+
}, "/client-registration-tokens"> & import("hono/types").MergeSchemaPath<{
|
|
61237
61463
|
"/": {
|
|
61238
61464
|
$get: {
|
|
61239
61465
|
input: {
|
|
@@ -61507,6 +61733,11 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
61507
61733
|
token_quota?: {
|
|
61508
61734
|
[x: string]: any;
|
|
61509
61735
|
} | undefined;
|
|
61736
|
+
owner_user_id?: string | undefined | undefined;
|
|
61737
|
+
registration_type?: "manual" | "open_dcr" | "iat_dcr" | undefined | undefined;
|
|
61738
|
+
registration_metadata?: {
|
|
61739
|
+
[x: string]: any;
|
|
61740
|
+
} | undefined;
|
|
61510
61741
|
}[] | {
|
|
61511
61742
|
length: number;
|
|
61512
61743
|
start: number;
|
|
@@ -61590,6 +61821,11 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
61590
61821
|
token_quota?: {
|
|
61591
61822
|
[x: string]: any;
|
|
61592
61823
|
} | undefined;
|
|
61824
|
+
owner_user_id?: string | undefined | undefined;
|
|
61825
|
+
registration_type?: "manual" | "open_dcr" | "iat_dcr" | undefined | undefined;
|
|
61826
|
+
registration_metadata?: {
|
|
61827
|
+
[x: string]: any;
|
|
61828
|
+
} | undefined;
|
|
61593
61829
|
}[];
|
|
61594
61830
|
total?: number | undefined;
|
|
61595
61831
|
};
|
|
@@ -61688,6 +61924,11 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
61688
61924
|
token_quota?: {
|
|
61689
61925
|
[x: string]: any;
|
|
61690
61926
|
} | undefined;
|
|
61927
|
+
owner_user_id?: string | undefined | undefined;
|
|
61928
|
+
registration_type?: "manual" | "open_dcr" | "iat_dcr" | undefined | undefined;
|
|
61929
|
+
registration_metadata?: {
|
|
61930
|
+
[x: string]: any;
|
|
61931
|
+
} | undefined;
|
|
61691
61932
|
};
|
|
61692
61933
|
outputFormat: "json";
|
|
61693
61934
|
status: 200;
|
|
@@ -61771,6 +62012,9 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
61771
62012
|
compliance_level?: "none" | "fapi1_adv_pkj_par" | "fapi1_adv_mtls_par" | "fapi2_sp_pkj_mtls" | "fapi2_sp_mtls_mtls" | undefined;
|
|
61772
62013
|
par_request_expiry?: number | undefined;
|
|
61773
62014
|
token_quota?: Record<string, any> | undefined;
|
|
62015
|
+
owner_user_id?: string | undefined;
|
|
62016
|
+
registration_type?: "manual" | "open_dcr" | "iat_dcr" | undefined;
|
|
62017
|
+
registration_metadata?: Record<string, any> | undefined;
|
|
61774
62018
|
};
|
|
61775
62019
|
};
|
|
61776
62020
|
output: {
|
|
@@ -61852,6 +62096,11 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
61852
62096
|
token_quota?: {
|
|
61853
62097
|
[x: string]: any;
|
|
61854
62098
|
} | undefined;
|
|
62099
|
+
owner_user_id?: string | undefined | undefined;
|
|
62100
|
+
registration_type?: "manual" | "open_dcr" | "iat_dcr" | undefined | undefined;
|
|
62101
|
+
registration_metadata?: {
|
|
62102
|
+
[x: string]: any;
|
|
62103
|
+
} | undefined;
|
|
61855
62104
|
};
|
|
61856
62105
|
outputFormat: "json";
|
|
61857
62106
|
status: 200;
|
|
@@ -61914,6 +62163,9 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
61914
62163
|
compliance_level?: "none" | "fapi1_adv_pkj_par" | "fapi1_adv_mtls_par" | "fapi2_sp_pkj_mtls" | "fapi2_sp_mtls_mtls" | undefined;
|
|
61915
62164
|
par_request_expiry?: number | undefined;
|
|
61916
62165
|
token_quota?: Record<string, any> | undefined;
|
|
62166
|
+
owner_user_id?: string | undefined;
|
|
62167
|
+
registration_type?: "manual" | "open_dcr" | "iat_dcr" | undefined;
|
|
62168
|
+
registration_metadata?: Record<string, any> | undefined;
|
|
61917
62169
|
};
|
|
61918
62170
|
};
|
|
61919
62171
|
output: {
|
|
@@ -61995,6 +62247,11 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
61995
62247
|
token_quota?: {
|
|
61996
62248
|
[x: string]: any;
|
|
61997
62249
|
} | undefined;
|
|
62250
|
+
owner_user_id?: string | undefined;
|
|
62251
|
+
registration_type?: "manual" | "open_dcr" | "iat_dcr" | undefined;
|
|
62252
|
+
registration_metadata?: {
|
|
62253
|
+
[x: string]: any;
|
|
62254
|
+
} | undefined;
|
|
61998
62255
|
};
|
|
61999
62256
|
outputFormat: "json";
|
|
62000
62257
|
status: 201;
|
|
@@ -62968,6 +63225,59 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
62968
63225
|
status: 200;
|
|
62969
63226
|
};
|
|
62970
63227
|
};
|
|
63228
|
+
} & {
|
|
63229
|
+
"/:user_id/connected-clients": {
|
|
63230
|
+
$get: {
|
|
63231
|
+
input: {
|
|
63232
|
+
param: {
|
|
63233
|
+
user_id: string;
|
|
63234
|
+
};
|
|
63235
|
+
} & {
|
|
63236
|
+
query: {
|
|
63237
|
+
sort?: string | undefined;
|
|
63238
|
+
page?: string | undefined;
|
|
63239
|
+
per_page?: string | undefined;
|
|
63240
|
+
include_totals?: string | undefined;
|
|
63241
|
+
from?: string | undefined;
|
|
63242
|
+
take?: string | undefined;
|
|
63243
|
+
q?: string | undefined;
|
|
63244
|
+
};
|
|
63245
|
+
} & {
|
|
63246
|
+
header: {
|
|
63247
|
+
"tenant-id"?: string | undefined;
|
|
63248
|
+
};
|
|
63249
|
+
};
|
|
63250
|
+
output: {
|
|
63251
|
+
name: string;
|
|
63252
|
+
client_id: string;
|
|
63253
|
+
logo_uri?: string | undefined;
|
|
63254
|
+
registration_type?: "manual" | "open_dcr" | "iat_dcr" | undefined;
|
|
63255
|
+
registration_metadata?: {
|
|
63256
|
+
[x: string]: any;
|
|
63257
|
+
} | undefined;
|
|
63258
|
+
created_at?: string | undefined;
|
|
63259
|
+
updated_at?: string | undefined;
|
|
63260
|
+
}[] | {
|
|
63261
|
+
length: number;
|
|
63262
|
+
start: number;
|
|
63263
|
+
limit: number;
|
|
63264
|
+
connected_clients: {
|
|
63265
|
+
name: string;
|
|
63266
|
+
client_id: string;
|
|
63267
|
+
logo_uri?: string | undefined;
|
|
63268
|
+
registration_type?: "manual" | "open_dcr" | "iat_dcr" | undefined;
|
|
63269
|
+
registration_metadata?: {
|
|
63270
|
+
[x: string]: any;
|
|
63271
|
+
} | undefined;
|
|
63272
|
+
created_at?: string | undefined;
|
|
63273
|
+
updated_at?: string | undefined;
|
|
63274
|
+
}[];
|
|
63275
|
+
total?: number | undefined;
|
|
63276
|
+
};
|
|
63277
|
+
outputFormat: "json";
|
|
63278
|
+
status: 200;
|
|
63279
|
+
};
|
|
63280
|
+
};
|
|
62971
63281
|
} & {
|
|
62972
63282
|
"/:user_id/sessions": {
|
|
62973
63283
|
$get: {
|
|
@@ -64763,6 +65073,200 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
64763
65073
|
};
|
|
64764
65074
|
};
|
|
64765
65075
|
}, "/callback"> & import("hono/types").MergeSchemaPath<{
|
|
65076
|
+
"/": {
|
|
65077
|
+
$get: {
|
|
65078
|
+
input: {
|
|
65079
|
+
query: {
|
|
65080
|
+
domain: string;
|
|
65081
|
+
state: string;
|
|
65082
|
+
integration_type: string;
|
|
65083
|
+
return_to: string;
|
|
65084
|
+
scope?: string | undefined;
|
|
65085
|
+
};
|
|
65086
|
+
};
|
|
65087
|
+
output: {};
|
|
65088
|
+
outputFormat: string;
|
|
65089
|
+
status: 302;
|
|
65090
|
+
} | {
|
|
65091
|
+
input: {
|
|
65092
|
+
query: {
|
|
65093
|
+
domain: string;
|
|
65094
|
+
state: string;
|
|
65095
|
+
integration_type: string;
|
|
65096
|
+
return_to: string;
|
|
65097
|
+
scope?: string | undefined;
|
|
65098
|
+
};
|
|
65099
|
+
};
|
|
65100
|
+
output: {};
|
|
65101
|
+
outputFormat: "json";
|
|
65102
|
+
status: 400;
|
|
65103
|
+
} | {
|
|
65104
|
+
input: {
|
|
65105
|
+
query: {
|
|
65106
|
+
domain: string;
|
|
65107
|
+
state: string;
|
|
65108
|
+
integration_type: string;
|
|
65109
|
+
return_to: string;
|
|
65110
|
+
scope?: string | undefined;
|
|
65111
|
+
};
|
|
65112
|
+
};
|
|
65113
|
+
output: {};
|
|
65114
|
+
outputFormat: "json";
|
|
65115
|
+
status: 404;
|
|
65116
|
+
};
|
|
65117
|
+
};
|
|
65118
|
+
}, "/connect/start"> & import("hono/types").MergeSchemaPath<{
|
|
65119
|
+
"/": {
|
|
65120
|
+
$post: {
|
|
65121
|
+
input: {
|
|
65122
|
+
json: {
|
|
65123
|
+
client_id?: string | undefined;
|
|
65124
|
+
client_secret?: string | undefined;
|
|
65125
|
+
logo_uri?: string | undefined;
|
|
65126
|
+
grant_types?: string[] | undefined;
|
|
65127
|
+
token_endpoint_auth_method?: "none" | "client_secret_post" | "client_secret_basic" | undefined;
|
|
65128
|
+
scope?: string | undefined;
|
|
65129
|
+
client_name?: string | undefined;
|
|
65130
|
+
jwks_uri?: string | undefined;
|
|
65131
|
+
redirect_uris?: string[] | undefined;
|
|
65132
|
+
client_uri?: string | undefined;
|
|
65133
|
+
tos_uri?: string | undefined;
|
|
65134
|
+
policy_uri?: string | undefined;
|
|
65135
|
+
contacts?: string[] | undefined;
|
|
65136
|
+
response_types?: string[] | undefined;
|
|
65137
|
+
jwks?: Record<string, unknown> | undefined;
|
|
65138
|
+
software_id?: string | undefined;
|
|
65139
|
+
software_version?: string | undefined;
|
|
65140
|
+
};
|
|
65141
|
+
};
|
|
65142
|
+
output: {
|
|
65143
|
+
client_id: string;
|
|
65144
|
+
registration_client_uri: string;
|
|
65145
|
+
client_secret?: string | undefined;
|
|
65146
|
+
logo_uri?: string | undefined;
|
|
65147
|
+
grant_types?: string[] | undefined;
|
|
65148
|
+
token_endpoint_auth_method?: string | undefined;
|
|
65149
|
+
scope?: string | undefined;
|
|
65150
|
+
client_name?: string | undefined;
|
|
65151
|
+
jwks_uri?: string | undefined;
|
|
65152
|
+
redirect_uris?: string[] | undefined;
|
|
65153
|
+
client_uri?: string | undefined;
|
|
65154
|
+
tos_uri?: string | undefined;
|
|
65155
|
+
policy_uri?: string | undefined;
|
|
65156
|
+
contacts?: string[] | undefined;
|
|
65157
|
+
response_types?: string[] | undefined;
|
|
65158
|
+
software_id?: string | undefined;
|
|
65159
|
+
software_version?: string | undefined;
|
|
65160
|
+
client_id_issued_at?: number | undefined;
|
|
65161
|
+
client_secret_expires_at?: number | undefined;
|
|
65162
|
+
registration_access_token?: string | undefined;
|
|
65163
|
+
};
|
|
65164
|
+
outputFormat: "json";
|
|
65165
|
+
status: 201;
|
|
65166
|
+
};
|
|
65167
|
+
};
|
|
65168
|
+
} & {
|
|
65169
|
+
"/:client_id": {
|
|
65170
|
+
$get: {
|
|
65171
|
+
input: {
|
|
65172
|
+
param: {
|
|
65173
|
+
client_id: string;
|
|
65174
|
+
};
|
|
65175
|
+
};
|
|
65176
|
+
output: {
|
|
65177
|
+
client_id: string;
|
|
65178
|
+
registration_client_uri: string;
|
|
65179
|
+
client_secret?: string | undefined;
|
|
65180
|
+
logo_uri?: string | undefined;
|
|
65181
|
+
grant_types?: string[] | undefined;
|
|
65182
|
+
token_endpoint_auth_method?: string | undefined;
|
|
65183
|
+
scope?: string | undefined;
|
|
65184
|
+
client_name?: string | undefined;
|
|
65185
|
+
jwks_uri?: string | undefined;
|
|
65186
|
+
redirect_uris?: string[] | undefined;
|
|
65187
|
+
client_uri?: string | undefined;
|
|
65188
|
+
tos_uri?: string | undefined;
|
|
65189
|
+
policy_uri?: string | undefined;
|
|
65190
|
+
contacts?: string[] | undefined;
|
|
65191
|
+
response_types?: string[] | undefined;
|
|
65192
|
+
software_id?: string | undefined;
|
|
65193
|
+
software_version?: string | undefined;
|
|
65194
|
+
client_id_issued_at?: number | undefined;
|
|
65195
|
+
client_secret_expires_at?: number | undefined;
|
|
65196
|
+
registration_access_token?: string | undefined;
|
|
65197
|
+
};
|
|
65198
|
+
outputFormat: "json";
|
|
65199
|
+
status: 200;
|
|
65200
|
+
};
|
|
65201
|
+
};
|
|
65202
|
+
} & {
|
|
65203
|
+
"/:client_id": {
|
|
65204
|
+
$put: {
|
|
65205
|
+
input: {
|
|
65206
|
+
param: {
|
|
65207
|
+
client_id: string;
|
|
65208
|
+
};
|
|
65209
|
+
} & {
|
|
65210
|
+
json: {
|
|
65211
|
+
client_id?: string | undefined;
|
|
65212
|
+
client_secret?: string | undefined;
|
|
65213
|
+
logo_uri?: string | undefined;
|
|
65214
|
+
grant_types?: string[] | undefined;
|
|
65215
|
+
token_endpoint_auth_method?: "none" | "client_secret_post" | "client_secret_basic" | undefined;
|
|
65216
|
+
scope?: string | undefined;
|
|
65217
|
+
client_name?: string | undefined;
|
|
65218
|
+
jwks_uri?: string | undefined;
|
|
65219
|
+
redirect_uris?: string[] | undefined;
|
|
65220
|
+
client_uri?: string | undefined;
|
|
65221
|
+
tos_uri?: string | undefined;
|
|
65222
|
+
policy_uri?: string | undefined;
|
|
65223
|
+
contacts?: string[] | undefined;
|
|
65224
|
+
response_types?: string[] | undefined;
|
|
65225
|
+
jwks?: Record<string, unknown> | undefined;
|
|
65226
|
+
software_id?: string | undefined;
|
|
65227
|
+
software_version?: string | undefined;
|
|
65228
|
+
};
|
|
65229
|
+
};
|
|
65230
|
+
output: {
|
|
65231
|
+
client_id: string;
|
|
65232
|
+
registration_client_uri: string;
|
|
65233
|
+
client_secret?: string | undefined;
|
|
65234
|
+
logo_uri?: string | undefined;
|
|
65235
|
+
grant_types?: string[] | undefined;
|
|
65236
|
+
token_endpoint_auth_method?: string | undefined;
|
|
65237
|
+
scope?: string | undefined;
|
|
65238
|
+
client_name?: string | undefined;
|
|
65239
|
+
jwks_uri?: string | undefined;
|
|
65240
|
+
redirect_uris?: string[] | undefined;
|
|
65241
|
+
client_uri?: string | undefined;
|
|
65242
|
+
tos_uri?: string | undefined;
|
|
65243
|
+
policy_uri?: string | undefined;
|
|
65244
|
+
contacts?: string[] | undefined;
|
|
65245
|
+
response_types?: string[] | undefined;
|
|
65246
|
+
software_id?: string | undefined;
|
|
65247
|
+
software_version?: string | undefined;
|
|
65248
|
+
client_id_issued_at?: number | undefined;
|
|
65249
|
+
client_secret_expires_at?: number | undefined;
|
|
65250
|
+
registration_access_token?: string | undefined;
|
|
65251
|
+
};
|
|
65252
|
+
outputFormat: "json";
|
|
65253
|
+
status: 200;
|
|
65254
|
+
};
|
|
65255
|
+
};
|
|
65256
|
+
} & {
|
|
65257
|
+
"/:client_id": {
|
|
65258
|
+
$delete: {
|
|
65259
|
+
input: {
|
|
65260
|
+
param: {
|
|
65261
|
+
client_id: string;
|
|
65262
|
+
};
|
|
65263
|
+
};
|
|
65264
|
+
output: {};
|
|
65265
|
+
outputFormat: string;
|
|
65266
|
+
status: 204;
|
|
65267
|
+
};
|
|
65268
|
+
};
|
|
65269
|
+
}, "/oidc/register"> & import("hono/types").MergeSchemaPath<{
|
|
64766
65270
|
"/": {
|
|
64767
65271
|
$get: {
|
|
64768
65272
|
input: {
|
|
@@ -65637,7 +66141,6 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
65637
66141
|
issuer: string;
|
|
65638
66142
|
device_authorization_endpoint: string;
|
|
65639
66143
|
mfa_challenge_endpoint: string;
|
|
65640
|
-
registration_endpoint: string;
|
|
65641
66144
|
revocation_endpoint: string;
|
|
65642
66145
|
scopes_supported: string[];
|
|
65643
66146
|
response_types_supported: string[];
|
|
@@ -65650,6 +66153,7 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
65650
66153
|
request_uri_parameter_supported: boolean;
|
|
65651
66154
|
request_parameter_supported: boolean;
|
|
65652
66155
|
token_endpoint_auth_signing_alg_values_supported: string[];
|
|
66156
|
+
registration_endpoint?: string | undefined | undefined;
|
|
65653
66157
|
};
|
|
65654
66158
|
outputFormat: "json";
|
|
65655
66159
|
status: 200;
|