authhero 4.103.2 → 4.104.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 -106
- package/dist/authhero.d.ts +501 -14
- package/dist/authhero.mjs +13759 -12669
- 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,9 @@ 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">>;
|
|
44154
44261
|
enable_idtoken_api2: z.ZodOptional<z.ZodBoolean>;
|
|
44155
44262
|
enable_legacy_logs_search_v2: z.ZodOptional<z.ZodBoolean>;
|
|
44156
44263
|
enable_legacy_profile: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -44185,6 +44292,9 @@ export declare const tenantInsertSchema: z.ZodObject<{
|
|
|
44185
44292
|
enable_client_connections?: boolean | undefined;
|
|
44186
44293
|
enable_custom_domain_in_emails?: boolean | undefined;
|
|
44187
44294
|
enable_dynamic_client_registration?: boolean | undefined;
|
|
44295
|
+
dcr_require_initial_access_token?: boolean | undefined;
|
|
44296
|
+
dcr_allowed_grant_types?: string[] | undefined;
|
|
44297
|
+
dcr_allowed_integration_types?: string[] | undefined;
|
|
44188
44298
|
enable_idtoken_api2?: boolean | undefined;
|
|
44189
44299
|
enable_legacy_logs_search_v2?: boolean | undefined;
|
|
44190
44300
|
enable_legacy_profile?: boolean | undefined;
|
|
@@ -44219,6 +44329,9 @@ export declare const tenantInsertSchema: z.ZodObject<{
|
|
|
44219
44329
|
enable_client_connections?: boolean | undefined;
|
|
44220
44330
|
enable_custom_domain_in_emails?: boolean | undefined;
|
|
44221
44331
|
enable_dynamic_client_registration?: boolean | undefined;
|
|
44332
|
+
dcr_require_initial_access_token?: boolean | undefined;
|
|
44333
|
+
dcr_allowed_grant_types?: string[] | undefined;
|
|
44334
|
+
dcr_allowed_integration_types?: string[] | undefined;
|
|
44222
44335
|
enable_idtoken_api2?: boolean | undefined;
|
|
44223
44336
|
enable_legacy_logs_search_v2?: boolean | undefined;
|
|
44224
44337
|
enable_legacy_profile?: boolean | undefined;
|
|
@@ -44494,6 +44607,9 @@ export declare const tenantInsertSchema: z.ZodObject<{
|
|
|
44494
44607
|
enable_client_connections?: boolean | undefined;
|
|
44495
44608
|
enable_custom_domain_in_emails?: boolean | undefined;
|
|
44496
44609
|
enable_dynamic_client_registration?: boolean | undefined;
|
|
44610
|
+
dcr_require_initial_access_token?: boolean | undefined;
|
|
44611
|
+
dcr_allowed_grant_types?: string[] | undefined;
|
|
44612
|
+
dcr_allowed_integration_types?: string[] | undefined;
|
|
44497
44613
|
enable_idtoken_api2?: boolean | undefined;
|
|
44498
44614
|
enable_legacy_logs_search_v2?: boolean | undefined;
|
|
44499
44615
|
enable_legacy_profile?: boolean | undefined;
|
|
@@ -44618,6 +44734,9 @@ export declare const tenantInsertSchema: z.ZodObject<{
|
|
|
44618
44734
|
enable_client_connections?: boolean | undefined;
|
|
44619
44735
|
enable_custom_domain_in_emails?: boolean | undefined;
|
|
44620
44736
|
enable_dynamic_client_registration?: boolean | undefined;
|
|
44737
|
+
dcr_require_initial_access_token?: boolean | undefined;
|
|
44738
|
+
dcr_allowed_grant_types?: string[] | undefined;
|
|
44739
|
+
dcr_allowed_integration_types?: string[] | undefined;
|
|
44621
44740
|
enable_idtoken_api2?: boolean | undefined;
|
|
44622
44741
|
enable_legacy_logs_search_v2?: boolean | undefined;
|
|
44623
44742
|
enable_legacy_profile?: boolean | undefined;
|
|
@@ -44754,6 +44873,9 @@ export declare const tenantSchema: z.ZodObject<{
|
|
|
44754
44873
|
enable_client_connections: z.ZodOptional<z.ZodBoolean>;
|
|
44755
44874
|
enable_custom_domain_in_emails: z.ZodOptional<z.ZodBoolean>;
|
|
44756
44875
|
enable_dynamic_client_registration: z.ZodOptional<z.ZodBoolean>;
|
|
44876
|
+
dcr_require_initial_access_token: z.ZodOptional<z.ZodBoolean>;
|
|
44877
|
+
dcr_allowed_grant_types: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
44878
|
+
dcr_allowed_integration_types: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
44757
44879
|
enable_idtoken_api2: z.ZodOptional<z.ZodBoolean>;
|
|
44758
44880
|
enable_legacy_logs_search_v2: z.ZodOptional<z.ZodBoolean>;
|
|
44759
44881
|
enable_legacy_profile: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -44788,6 +44910,9 @@ export declare const tenantSchema: z.ZodObject<{
|
|
|
44788
44910
|
enable_client_connections?: boolean | undefined;
|
|
44789
44911
|
enable_custom_domain_in_emails?: boolean | undefined;
|
|
44790
44912
|
enable_dynamic_client_registration?: boolean | undefined;
|
|
44913
|
+
dcr_require_initial_access_token?: boolean | undefined;
|
|
44914
|
+
dcr_allowed_grant_types?: string[] | undefined;
|
|
44915
|
+
dcr_allowed_integration_types?: string[] | undefined;
|
|
44791
44916
|
enable_idtoken_api2?: boolean | undefined;
|
|
44792
44917
|
enable_legacy_logs_search_v2?: boolean | undefined;
|
|
44793
44918
|
enable_legacy_profile?: boolean | undefined;
|
|
@@ -44822,6 +44947,9 @@ export declare const tenantSchema: z.ZodObject<{
|
|
|
44822
44947
|
enable_client_connections?: boolean | undefined;
|
|
44823
44948
|
enable_custom_domain_in_emails?: boolean | undefined;
|
|
44824
44949
|
enable_dynamic_client_registration?: boolean | undefined;
|
|
44950
|
+
dcr_require_initial_access_token?: boolean | undefined;
|
|
44951
|
+
dcr_allowed_grant_types?: string[] | undefined;
|
|
44952
|
+
dcr_allowed_integration_types?: string[] | undefined;
|
|
44825
44953
|
enable_idtoken_api2?: boolean | undefined;
|
|
44826
44954
|
enable_legacy_logs_search_v2?: boolean | undefined;
|
|
44827
44955
|
enable_legacy_profile?: boolean | undefined;
|
|
@@ -45101,6 +45229,9 @@ export declare const tenantSchema: z.ZodObject<{
|
|
|
45101
45229
|
enable_client_connections?: boolean | undefined;
|
|
45102
45230
|
enable_custom_domain_in_emails?: boolean | undefined;
|
|
45103
45231
|
enable_dynamic_client_registration?: boolean | undefined;
|
|
45232
|
+
dcr_require_initial_access_token?: boolean | undefined;
|
|
45233
|
+
dcr_allowed_grant_types?: string[] | undefined;
|
|
45234
|
+
dcr_allowed_integration_types?: string[] | undefined;
|
|
45104
45235
|
enable_idtoken_api2?: boolean | undefined;
|
|
45105
45236
|
enable_legacy_logs_search_v2?: boolean | undefined;
|
|
45106
45237
|
enable_legacy_profile?: boolean | undefined;
|
|
@@ -45227,6 +45358,9 @@ export declare const tenantSchema: z.ZodObject<{
|
|
|
45227
45358
|
enable_client_connections?: boolean | undefined;
|
|
45228
45359
|
enable_custom_domain_in_emails?: boolean | undefined;
|
|
45229
45360
|
enable_dynamic_client_registration?: boolean | undefined;
|
|
45361
|
+
dcr_require_initial_access_token?: boolean | undefined;
|
|
45362
|
+
dcr_allowed_grant_types?: string[] | undefined;
|
|
45363
|
+
dcr_allowed_integration_types?: string[] | undefined;
|
|
45230
45364
|
enable_idtoken_api2?: boolean | undefined;
|
|
45231
45365
|
enable_legacy_logs_search_v2?: boolean | undefined;
|
|
45232
45366
|
enable_legacy_profile?: boolean | undefined;
|
|
@@ -48753,6 +48887,7 @@ export interface IdentifierConfig {
|
|
|
48753
48887
|
* options.attributes.username.validation.{min_length,max_length}
|
|
48754
48888
|
*/
|
|
48755
48889
|
export declare function getConnectionIdentifierConfig(connection: ConnectionLike | null | undefined): IdentifierConfig;
|
|
48890
|
+
export declare function isPlainObject(value: unknown): value is Record<string, unknown>;
|
|
48756
48891
|
export interface ListActionsResponse extends Totals {
|
|
48757
48892
|
actions: Action[];
|
|
48758
48893
|
}
|
|
@@ -48866,6 +49001,16 @@ export interface ClientGrantsAdapter {
|
|
|
48866
49001
|
update(tenant_id: string, id: string, clientGrant: Partial<ClientGrantInsert>): Promise<boolean>;
|
|
48867
49002
|
remove(tenant_id: string, id: string): Promise<boolean>;
|
|
48868
49003
|
}
|
|
49004
|
+
export interface ClientRegistrationTokensAdapter {
|
|
49005
|
+
create: (tenant_id: string, token: ClientRegistrationTokenInsert) => Promise<ClientRegistrationToken>;
|
|
49006
|
+
get: (tenant_id: string, id: string) => Promise<ClientRegistrationToken | null>;
|
|
49007
|
+
getByHash: (tenant_id: string, token_hash: string) => Promise<ClientRegistrationToken | null>;
|
|
49008
|
+
listByClient: (tenant_id: string, client_id: string) => Promise<ClientRegistrationToken[]>;
|
|
49009
|
+
markUsed: (tenant_id: string, id: string, used_at: string) => Promise<boolean>;
|
|
49010
|
+
revoke: (tenant_id: string, id: string, revoked_at: string) => Promise<boolean>;
|
|
49011
|
+
revokeByClient: (tenant_id: string, client_id: string, revoked_at: string) => Promise<number>;
|
|
49012
|
+
remove: (tenant_id: string, id: string) => Promise<boolean>;
|
|
49013
|
+
}
|
|
48869
49014
|
export interface ListCodesResponse extends Totals {
|
|
48870
49015
|
codes: Code[];
|
|
48871
49016
|
}
|
|
@@ -49328,6 +49473,7 @@ export interface DataAdapters {
|
|
|
49328
49473
|
clients: ClientsAdapter;
|
|
49329
49474
|
clientConnections: ClientConnectionsAdapter;
|
|
49330
49475
|
clientGrants: ClientGrantsAdapter;
|
|
49476
|
+
clientRegistrationTokens?: ClientRegistrationTokensAdapter;
|
|
49331
49477
|
codes: CodesAdapter;
|
|
49332
49478
|
connections: ConnectionsAdapter;
|
|
49333
49479
|
customDomains: CustomDomainsAdapter;
|
|
@@ -49517,6 +49663,9 @@ declare const enrichedClientSchema: z.ZodObject<{
|
|
|
49517
49663
|
enable_client_connections: z.ZodOptional<z.ZodBoolean>;
|
|
49518
49664
|
enable_custom_domain_in_emails: z.ZodOptional<z.ZodBoolean>;
|
|
49519
49665
|
enable_dynamic_client_registration: z.ZodOptional<z.ZodBoolean>;
|
|
49666
|
+
dcr_require_initial_access_token: z.ZodOptional<z.ZodBoolean>;
|
|
49667
|
+
dcr_allowed_grant_types: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
49668
|
+
dcr_allowed_integration_types: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
49520
49669
|
enable_idtoken_api2: z.ZodOptional<z.ZodBoolean>;
|
|
49521
49670
|
enable_legacy_logs_search_v2: z.ZodOptional<z.ZodBoolean>;
|
|
49522
49671
|
enable_legacy_profile: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -49551,6 +49700,9 @@ declare const enrichedClientSchema: z.ZodObject<{
|
|
|
49551
49700
|
enable_client_connections?: boolean | undefined;
|
|
49552
49701
|
enable_custom_domain_in_emails?: boolean | undefined;
|
|
49553
49702
|
enable_dynamic_client_registration?: boolean | undefined;
|
|
49703
|
+
dcr_require_initial_access_token?: boolean | undefined;
|
|
49704
|
+
dcr_allowed_grant_types?: string[] | undefined;
|
|
49705
|
+
dcr_allowed_integration_types?: string[] | undefined;
|
|
49554
49706
|
enable_idtoken_api2?: boolean | undefined;
|
|
49555
49707
|
enable_legacy_logs_search_v2?: boolean | undefined;
|
|
49556
49708
|
enable_legacy_profile?: boolean | undefined;
|
|
@@ -49585,6 +49737,9 @@ declare const enrichedClientSchema: z.ZodObject<{
|
|
|
49585
49737
|
enable_client_connections?: boolean | undefined;
|
|
49586
49738
|
enable_custom_domain_in_emails?: boolean | undefined;
|
|
49587
49739
|
enable_dynamic_client_registration?: boolean | undefined;
|
|
49740
|
+
dcr_require_initial_access_token?: boolean | undefined;
|
|
49741
|
+
dcr_allowed_grant_types?: string[] | undefined;
|
|
49742
|
+
dcr_allowed_integration_types?: string[] | undefined;
|
|
49588
49743
|
enable_idtoken_api2?: boolean | undefined;
|
|
49589
49744
|
enable_legacy_logs_search_v2?: boolean | undefined;
|
|
49590
49745
|
enable_legacy_profile?: boolean | undefined;
|
|
@@ -49864,6 +50019,9 @@ declare const enrichedClientSchema: z.ZodObject<{
|
|
|
49864
50019
|
enable_client_connections?: boolean | undefined;
|
|
49865
50020
|
enable_custom_domain_in_emails?: boolean | undefined;
|
|
49866
50021
|
enable_dynamic_client_registration?: boolean | undefined;
|
|
50022
|
+
dcr_require_initial_access_token?: boolean | undefined;
|
|
50023
|
+
dcr_allowed_grant_types?: string[] | undefined;
|
|
50024
|
+
dcr_allowed_integration_types?: string[] | undefined;
|
|
49867
50025
|
enable_idtoken_api2?: boolean | undefined;
|
|
49868
50026
|
enable_legacy_logs_search_v2?: boolean | undefined;
|
|
49869
50027
|
enable_legacy_profile?: boolean | undefined;
|
|
@@ -49990,6 +50148,9 @@ declare const enrichedClientSchema: z.ZodObject<{
|
|
|
49990
50148
|
enable_client_connections?: boolean | undefined;
|
|
49991
50149
|
enable_custom_domain_in_emails?: boolean | undefined;
|
|
49992
50150
|
enable_dynamic_client_registration?: boolean | undefined;
|
|
50151
|
+
dcr_require_initial_access_token?: boolean | undefined;
|
|
50152
|
+
dcr_allowed_grant_types?: string[] | undefined;
|
|
50153
|
+
dcr_allowed_integration_types?: string[] | undefined;
|
|
49993
50154
|
enable_idtoken_api2?: boolean | undefined;
|
|
49994
50155
|
enable_legacy_logs_search_v2?: boolean | undefined;
|
|
49995
50156
|
enable_legacy_profile?: boolean | undefined;
|
|
@@ -51038,6 +51199,13 @@ declare const enrichedClientSchema: z.ZodObject<{
|
|
|
51038
51199
|
]>>;
|
|
51039
51200
|
par_request_expiry: z.ZodOptional<z.ZodNumber>;
|
|
51040
51201
|
token_quota: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
|
51202
|
+
owner_user_id: z.ZodOptional<z.ZodString>;
|
|
51203
|
+
registration_type: z.ZodOptional<z.ZodEnum<[
|
|
51204
|
+
"manual",
|
|
51205
|
+
"open_dcr",
|
|
51206
|
+
"iat_dcr"
|
|
51207
|
+
]>>;
|
|
51208
|
+
registration_metadata: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
|
51041
51209
|
created_at: z.ZodString;
|
|
51042
51210
|
updated_at: z.ZodString;
|
|
51043
51211
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -51091,6 +51259,9 @@ declare const enrichedClientSchema: z.ZodObject<{
|
|
|
51091
51259
|
enable_client_connections?: boolean | undefined;
|
|
51092
51260
|
enable_custom_domain_in_emails?: boolean | undefined;
|
|
51093
51261
|
enable_dynamic_client_registration?: boolean | undefined;
|
|
51262
|
+
dcr_require_initial_access_token?: boolean | undefined;
|
|
51263
|
+
dcr_allowed_grant_types?: string[] | undefined;
|
|
51264
|
+
dcr_allowed_integration_types?: string[] | undefined;
|
|
51094
51265
|
enable_idtoken_api2?: boolean | undefined;
|
|
51095
51266
|
enable_legacy_logs_search_v2?: boolean | undefined;
|
|
51096
51267
|
enable_legacy_profile?: boolean | undefined;
|
|
@@ -51336,6 +51507,9 @@ declare const enrichedClientSchema: z.ZodObject<{
|
|
|
51336
51507
|
compliance_level?: "none" | "fapi1_adv_pkj_par" | "fapi1_adv_mtls_par" | "fapi2_sp_pkj_mtls" | "fapi2_sp_mtls_mtls" | undefined;
|
|
51337
51508
|
par_request_expiry?: number | undefined;
|
|
51338
51509
|
token_quota?: Record<string, any> | undefined;
|
|
51510
|
+
owner_user_id?: string | undefined;
|
|
51511
|
+
registration_type?: "manual" | "open_dcr" | "iat_dcr" | undefined;
|
|
51512
|
+
registration_metadata?: Record<string, any> | undefined;
|
|
51339
51513
|
}, {
|
|
51340
51514
|
name: string;
|
|
51341
51515
|
tenant: {
|
|
@@ -51387,6 +51561,9 @@ declare const enrichedClientSchema: z.ZodObject<{
|
|
|
51387
51561
|
enable_client_connections?: boolean | undefined;
|
|
51388
51562
|
enable_custom_domain_in_emails?: boolean | undefined;
|
|
51389
51563
|
enable_dynamic_client_registration?: boolean | undefined;
|
|
51564
|
+
dcr_require_initial_access_token?: boolean | undefined;
|
|
51565
|
+
dcr_allowed_grant_types?: string[] | undefined;
|
|
51566
|
+
dcr_allowed_integration_types?: string[] | undefined;
|
|
51390
51567
|
enable_idtoken_api2?: boolean | undefined;
|
|
51391
51568
|
enable_legacy_logs_search_v2?: boolean | undefined;
|
|
51392
51569
|
enable_legacy_profile?: boolean | undefined;
|
|
@@ -51632,6 +51809,9 @@ declare const enrichedClientSchema: z.ZodObject<{
|
|
|
51632
51809
|
compliance_level?: "none" | "fapi1_adv_pkj_par" | "fapi1_adv_mtls_par" | "fapi2_sp_pkj_mtls" | "fapi2_sp_mtls_mtls" | undefined;
|
|
51633
51810
|
par_request_expiry?: number | undefined;
|
|
51634
51811
|
token_quota?: Record<string, any> | undefined;
|
|
51812
|
+
owner_user_id?: string | undefined;
|
|
51813
|
+
registration_type?: "manual" | "open_dcr" | "iat_dcr" | undefined;
|
|
51814
|
+
registration_metadata?: Record<string, any> | undefined;
|
|
51635
51815
|
}>;
|
|
51636
51816
|
export type EnrichedClient = z.infer<typeof enrichedClientSchema>;
|
|
51637
51817
|
/** Context passed to entity hooks */
|
|
@@ -61234,6 +61414,35 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
61234
61414
|
};
|
|
61235
61415
|
};
|
|
61236
61416
|
}, "/logs"> & import("hono/types").MergeSchemaPath<{
|
|
61417
|
+
"/": {
|
|
61418
|
+
$post: {
|
|
61419
|
+
input: {
|
|
61420
|
+
header: {
|
|
61421
|
+
"tenant-id"?: string | undefined;
|
|
61422
|
+
};
|
|
61423
|
+
} & {
|
|
61424
|
+
json: {
|
|
61425
|
+
sub?: string | undefined;
|
|
61426
|
+
single_use?: boolean | undefined;
|
|
61427
|
+
constraints?: Record<string, unknown> | undefined;
|
|
61428
|
+
expires_in_seconds?: number | undefined;
|
|
61429
|
+
};
|
|
61430
|
+
};
|
|
61431
|
+
output: {
|
|
61432
|
+
id: string;
|
|
61433
|
+
expires_at: string;
|
|
61434
|
+
token: string;
|
|
61435
|
+
single_use: boolean;
|
|
61436
|
+
sub?: string | undefined;
|
|
61437
|
+
constraints?: {
|
|
61438
|
+
[x: string]: import("hono/utils/types").JSONValue;
|
|
61439
|
+
} | undefined;
|
|
61440
|
+
};
|
|
61441
|
+
outputFormat: "json";
|
|
61442
|
+
status: 201;
|
|
61443
|
+
};
|
|
61444
|
+
};
|
|
61445
|
+
}, "/client-registration-tokens"> & import("hono/types").MergeSchemaPath<{
|
|
61237
61446
|
"/": {
|
|
61238
61447
|
$get: {
|
|
61239
61448
|
input: {
|
|
@@ -61507,6 +61716,11 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
61507
61716
|
token_quota?: {
|
|
61508
61717
|
[x: string]: any;
|
|
61509
61718
|
} | undefined;
|
|
61719
|
+
owner_user_id?: string | undefined | undefined;
|
|
61720
|
+
registration_type?: "manual" | "open_dcr" | "iat_dcr" | undefined | undefined;
|
|
61721
|
+
registration_metadata?: {
|
|
61722
|
+
[x: string]: any;
|
|
61723
|
+
} | undefined;
|
|
61510
61724
|
}[] | {
|
|
61511
61725
|
length: number;
|
|
61512
61726
|
start: number;
|
|
@@ -61590,6 +61804,11 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
61590
61804
|
token_quota?: {
|
|
61591
61805
|
[x: string]: any;
|
|
61592
61806
|
} | undefined;
|
|
61807
|
+
owner_user_id?: string | undefined | undefined;
|
|
61808
|
+
registration_type?: "manual" | "open_dcr" | "iat_dcr" | undefined | undefined;
|
|
61809
|
+
registration_metadata?: {
|
|
61810
|
+
[x: string]: any;
|
|
61811
|
+
} | undefined;
|
|
61593
61812
|
}[];
|
|
61594
61813
|
total?: number | undefined;
|
|
61595
61814
|
};
|
|
@@ -61688,6 +61907,11 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
61688
61907
|
token_quota?: {
|
|
61689
61908
|
[x: string]: any;
|
|
61690
61909
|
} | undefined;
|
|
61910
|
+
owner_user_id?: string | undefined | undefined;
|
|
61911
|
+
registration_type?: "manual" | "open_dcr" | "iat_dcr" | undefined | undefined;
|
|
61912
|
+
registration_metadata?: {
|
|
61913
|
+
[x: string]: any;
|
|
61914
|
+
} | undefined;
|
|
61691
61915
|
};
|
|
61692
61916
|
outputFormat: "json";
|
|
61693
61917
|
status: 200;
|
|
@@ -61771,6 +61995,9 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
61771
61995
|
compliance_level?: "none" | "fapi1_adv_pkj_par" | "fapi1_adv_mtls_par" | "fapi2_sp_pkj_mtls" | "fapi2_sp_mtls_mtls" | undefined;
|
|
61772
61996
|
par_request_expiry?: number | undefined;
|
|
61773
61997
|
token_quota?: Record<string, any> | undefined;
|
|
61998
|
+
owner_user_id?: string | undefined;
|
|
61999
|
+
registration_type?: "manual" | "open_dcr" | "iat_dcr" | undefined;
|
|
62000
|
+
registration_metadata?: Record<string, any> | undefined;
|
|
61774
62001
|
};
|
|
61775
62002
|
};
|
|
61776
62003
|
output: {
|
|
@@ -61852,6 +62079,11 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
61852
62079
|
token_quota?: {
|
|
61853
62080
|
[x: string]: any;
|
|
61854
62081
|
} | undefined;
|
|
62082
|
+
owner_user_id?: string | undefined | undefined;
|
|
62083
|
+
registration_type?: "manual" | "open_dcr" | "iat_dcr" | undefined | undefined;
|
|
62084
|
+
registration_metadata?: {
|
|
62085
|
+
[x: string]: any;
|
|
62086
|
+
} | undefined;
|
|
61855
62087
|
};
|
|
61856
62088
|
outputFormat: "json";
|
|
61857
62089
|
status: 200;
|
|
@@ -61914,6 +62146,9 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
61914
62146
|
compliance_level?: "none" | "fapi1_adv_pkj_par" | "fapi1_adv_mtls_par" | "fapi2_sp_pkj_mtls" | "fapi2_sp_mtls_mtls" | undefined;
|
|
61915
62147
|
par_request_expiry?: number | undefined;
|
|
61916
62148
|
token_quota?: Record<string, any> | undefined;
|
|
62149
|
+
owner_user_id?: string | undefined;
|
|
62150
|
+
registration_type?: "manual" | "open_dcr" | "iat_dcr" | undefined;
|
|
62151
|
+
registration_metadata?: Record<string, any> | undefined;
|
|
61917
62152
|
};
|
|
61918
62153
|
};
|
|
61919
62154
|
output: {
|
|
@@ -61995,6 +62230,11 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
61995
62230
|
token_quota?: {
|
|
61996
62231
|
[x: string]: any;
|
|
61997
62232
|
} | undefined;
|
|
62233
|
+
owner_user_id?: string | undefined;
|
|
62234
|
+
registration_type?: "manual" | "open_dcr" | "iat_dcr" | undefined;
|
|
62235
|
+
registration_metadata?: {
|
|
62236
|
+
[x: string]: any;
|
|
62237
|
+
} | undefined;
|
|
61998
62238
|
};
|
|
61999
62239
|
outputFormat: "json";
|
|
62000
62240
|
status: 201;
|
|
@@ -62968,6 +63208,59 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
62968
63208
|
status: 200;
|
|
62969
63209
|
};
|
|
62970
63210
|
};
|
|
63211
|
+
} & {
|
|
63212
|
+
"/:user_id/connected-clients": {
|
|
63213
|
+
$get: {
|
|
63214
|
+
input: {
|
|
63215
|
+
param: {
|
|
63216
|
+
user_id: string;
|
|
63217
|
+
};
|
|
63218
|
+
} & {
|
|
63219
|
+
query: {
|
|
63220
|
+
sort?: string | undefined;
|
|
63221
|
+
page?: string | undefined;
|
|
63222
|
+
per_page?: string | undefined;
|
|
63223
|
+
include_totals?: string | undefined;
|
|
63224
|
+
from?: string | undefined;
|
|
63225
|
+
take?: string | undefined;
|
|
63226
|
+
q?: string | undefined;
|
|
63227
|
+
};
|
|
63228
|
+
} & {
|
|
63229
|
+
header: {
|
|
63230
|
+
"tenant-id"?: string | undefined;
|
|
63231
|
+
};
|
|
63232
|
+
};
|
|
63233
|
+
output: {
|
|
63234
|
+
name: string;
|
|
63235
|
+
client_id: string;
|
|
63236
|
+
logo_uri?: string | undefined;
|
|
63237
|
+
registration_type?: "manual" | "open_dcr" | "iat_dcr" | undefined;
|
|
63238
|
+
registration_metadata?: {
|
|
63239
|
+
[x: string]: any;
|
|
63240
|
+
} | undefined;
|
|
63241
|
+
created_at?: string | undefined;
|
|
63242
|
+
updated_at?: string | undefined;
|
|
63243
|
+
}[] | {
|
|
63244
|
+
length: number;
|
|
63245
|
+
start: number;
|
|
63246
|
+
limit: number;
|
|
63247
|
+
connected_clients: {
|
|
63248
|
+
name: string;
|
|
63249
|
+
client_id: string;
|
|
63250
|
+
logo_uri?: string | undefined;
|
|
63251
|
+
registration_type?: "manual" | "open_dcr" | "iat_dcr" | undefined;
|
|
63252
|
+
registration_metadata?: {
|
|
63253
|
+
[x: string]: any;
|
|
63254
|
+
} | undefined;
|
|
63255
|
+
created_at?: string | undefined;
|
|
63256
|
+
updated_at?: string | undefined;
|
|
63257
|
+
}[];
|
|
63258
|
+
total?: number | undefined;
|
|
63259
|
+
};
|
|
63260
|
+
outputFormat: "json";
|
|
63261
|
+
status: 200;
|
|
63262
|
+
};
|
|
63263
|
+
};
|
|
62971
63264
|
} & {
|
|
62972
63265
|
"/:user_id/sessions": {
|
|
62973
63266
|
$get: {
|
|
@@ -64763,6 +65056,200 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
64763
65056
|
};
|
|
64764
65057
|
};
|
|
64765
65058
|
}, "/callback"> & import("hono/types").MergeSchemaPath<{
|
|
65059
|
+
"/": {
|
|
65060
|
+
$get: {
|
|
65061
|
+
input: {
|
|
65062
|
+
query: {
|
|
65063
|
+
domain: string;
|
|
65064
|
+
state: string;
|
|
65065
|
+
integration_type: string;
|
|
65066
|
+
return_to: string;
|
|
65067
|
+
scope?: string | undefined;
|
|
65068
|
+
};
|
|
65069
|
+
};
|
|
65070
|
+
output: {};
|
|
65071
|
+
outputFormat: string;
|
|
65072
|
+
status: 302;
|
|
65073
|
+
} | {
|
|
65074
|
+
input: {
|
|
65075
|
+
query: {
|
|
65076
|
+
domain: string;
|
|
65077
|
+
state: string;
|
|
65078
|
+
integration_type: string;
|
|
65079
|
+
return_to: string;
|
|
65080
|
+
scope?: string | undefined;
|
|
65081
|
+
};
|
|
65082
|
+
};
|
|
65083
|
+
output: {};
|
|
65084
|
+
outputFormat: "json";
|
|
65085
|
+
status: 400;
|
|
65086
|
+
} | {
|
|
65087
|
+
input: {
|
|
65088
|
+
query: {
|
|
65089
|
+
domain: string;
|
|
65090
|
+
state: string;
|
|
65091
|
+
integration_type: string;
|
|
65092
|
+
return_to: string;
|
|
65093
|
+
scope?: string | undefined;
|
|
65094
|
+
};
|
|
65095
|
+
};
|
|
65096
|
+
output: {};
|
|
65097
|
+
outputFormat: "json";
|
|
65098
|
+
status: 404;
|
|
65099
|
+
};
|
|
65100
|
+
};
|
|
65101
|
+
}, "/connect/start"> & import("hono/types").MergeSchemaPath<{
|
|
65102
|
+
"/": {
|
|
65103
|
+
$post: {
|
|
65104
|
+
input: {
|
|
65105
|
+
json: {
|
|
65106
|
+
client_id?: string | undefined;
|
|
65107
|
+
client_secret?: string | undefined;
|
|
65108
|
+
logo_uri?: string | undefined;
|
|
65109
|
+
grant_types?: string[] | undefined;
|
|
65110
|
+
token_endpoint_auth_method?: "none" | "client_secret_post" | "client_secret_basic" | undefined;
|
|
65111
|
+
scope?: string | undefined;
|
|
65112
|
+
client_name?: string | undefined;
|
|
65113
|
+
jwks_uri?: string | undefined;
|
|
65114
|
+
redirect_uris?: string[] | undefined;
|
|
65115
|
+
client_uri?: string | undefined;
|
|
65116
|
+
tos_uri?: string | undefined;
|
|
65117
|
+
policy_uri?: string | undefined;
|
|
65118
|
+
contacts?: string[] | undefined;
|
|
65119
|
+
response_types?: string[] | undefined;
|
|
65120
|
+
jwks?: Record<string, unknown> | undefined;
|
|
65121
|
+
software_id?: string | undefined;
|
|
65122
|
+
software_version?: string | undefined;
|
|
65123
|
+
};
|
|
65124
|
+
};
|
|
65125
|
+
output: {
|
|
65126
|
+
client_id: string;
|
|
65127
|
+
registration_client_uri: string;
|
|
65128
|
+
client_secret?: string | undefined;
|
|
65129
|
+
logo_uri?: string | undefined;
|
|
65130
|
+
grant_types?: string[] | undefined;
|
|
65131
|
+
token_endpoint_auth_method?: string | undefined;
|
|
65132
|
+
scope?: string | undefined;
|
|
65133
|
+
client_name?: string | undefined;
|
|
65134
|
+
jwks_uri?: string | undefined;
|
|
65135
|
+
redirect_uris?: string[] | undefined;
|
|
65136
|
+
client_uri?: string | undefined;
|
|
65137
|
+
tos_uri?: string | undefined;
|
|
65138
|
+
policy_uri?: string | undefined;
|
|
65139
|
+
contacts?: string[] | undefined;
|
|
65140
|
+
response_types?: string[] | undefined;
|
|
65141
|
+
software_id?: string | undefined;
|
|
65142
|
+
software_version?: string | undefined;
|
|
65143
|
+
client_id_issued_at?: number | undefined;
|
|
65144
|
+
client_secret_expires_at?: number | undefined;
|
|
65145
|
+
registration_access_token?: string | undefined;
|
|
65146
|
+
};
|
|
65147
|
+
outputFormat: "json";
|
|
65148
|
+
status: 201;
|
|
65149
|
+
};
|
|
65150
|
+
};
|
|
65151
|
+
} & {
|
|
65152
|
+
"/:client_id": {
|
|
65153
|
+
$get: {
|
|
65154
|
+
input: {
|
|
65155
|
+
param: {
|
|
65156
|
+
client_id: string;
|
|
65157
|
+
};
|
|
65158
|
+
};
|
|
65159
|
+
output: {
|
|
65160
|
+
client_id: string;
|
|
65161
|
+
registration_client_uri: string;
|
|
65162
|
+
client_secret?: string | undefined;
|
|
65163
|
+
logo_uri?: string | undefined;
|
|
65164
|
+
grant_types?: string[] | undefined;
|
|
65165
|
+
token_endpoint_auth_method?: string | undefined;
|
|
65166
|
+
scope?: string | undefined;
|
|
65167
|
+
client_name?: string | undefined;
|
|
65168
|
+
jwks_uri?: string | undefined;
|
|
65169
|
+
redirect_uris?: string[] | undefined;
|
|
65170
|
+
client_uri?: string | undefined;
|
|
65171
|
+
tos_uri?: string | undefined;
|
|
65172
|
+
policy_uri?: string | undefined;
|
|
65173
|
+
contacts?: string[] | undefined;
|
|
65174
|
+
response_types?: string[] | undefined;
|
|
65175
|
+
software_id?: string | undefined;
|
|
65176
|
+
software_version?: string | undefined;
|
|
65177
|
+
client_id_issued_at?: number | undefined;
|
|
65178
|
+
client_secret_expires_at?: number | undefined;
|
|
65179
|
+
registration_access_token?: string | undefined;
|
|
65180
|
+
};
|
|
65181
|
+
outputFormat: "json";
|
|
65182
|
+
status: 200;
|
|
65183
|
+
};
|
|
65184
|
+
};
|
|
65185
|
+
} & {
|
|
65186
|
+
"/:client_id": {
|
|
65187
|
+
$put: {
|
|
65188
|
+
input: {
|
|
65189
|
+
param: {
|
|
65190
|
+
client_id: string;
|
|
65191
|
+
};
|
|
65192
|
+
} & {
|
|
65193
|
+
json: {
|
|
65194
|
+
client_id?: string | undefined;
|
|
65195
|
+
client_secret?: string | undefined;
|
|
65196
|
+
logo_uri?: string | undefined;
|
|
65197
|
+
grant_types?: string[] | undefined;
|
|
65198
|
+
token_endpoint_auth_method?: "none" | "client_secret_post" | "client_secret_basic" | undefined;
|
|
65199
|
+
scope?: string | undefined;
|
|
65200
|
+
client_name?: string | undefined;
|
|
65201
|
+
jwks_uri?: string | undefined;
|
|
65202
|
+
redirect_uris?: string[] | undefined;
|
|
65203
|
+
client_uri?: string | undefined;
|
|
65204
|
+
tos_uri?: string | undefined;
|
|
65205
|
+
policy_uri?: string | undefined;
|
|
65206
|
+
contacts?: string[] | undefined;
|
|
65207
|
+
response_types?: string[] | undefined;
|
|
65208
|
+
jwks?: Record<string, unknown> | undefined;
|
|
65209
|
+
software_id?: string | undefined;
|
|
65210
|
+
software_version?: string | undefined;
|
|
65211
|
+
};
|
|
65212
|
+
};
|
|
65213
|
+
output: {
|
|
65214
|
+
client_id: string;
|
|
65215
|
+
registration_client_uri: string;
|
|
65216
|
+
client_secret?: string | undefined;
|
|
65217
|
+
logo_uri?: string | undefined;
|
|
65218
|
+
grant_types?: string[] | undefined;
|
|
65219
|
+
token_endpoint_auth_method?: string | undefined;
|
|
65220
|
+
scope?: string | undefined;
|
|
65221
|
+
client_name?: string | undefined;
|
|
65222
|
+
jwks_uri?: string | undefined;
|
|
65223
|
+
redirect_uris?: string[] | undefined;
|
|
65224
|
+
client_uri?: string | undefined;
|
|
65225
|
+
tos_uri?: string | undefined;
|
|
65226
|
+
policy_uri?: string | undefined;
|
|
65227
|
+
contacts?: string[] | undefined;
|
|
65228
|
+
response_types?: string[] | undefined;
|
|
65229
|
+
software_id?: string | undefined;
|
|
65230
|
+
software_version?: string | undefined;
|
|
65231
|
+
client_id_issued_at?: number | undefined;
|
|
65232
|
+
client_secret_expires_at?: number | undefined;
|
|
65233
|
+
registration_access_token?: string | undefined;
|
|
65234
|
+
};
|
|
65235
|
+
outputFormat: "json";
|
|
65236
|
+
status: 200;
|
|
65237
|
+
};
|
|
65238
|
+
};
|
|
65239
|
+
} & {
|
|
65240
|
+
"/:client_id": {
|
|
65241
|
+
$delete: {
|
|
65242
|
+
input: {
|
|
65243
|
+
param: {
|
|
65244
|
+
client_id: string;
|
|
65245
|
+
};
|
|
65246
|
+
};
|
|
65247
|
+
output: {};
|
|
65248
|
+
outputFormat: string;
|
|
65249
|
+
status: 204;
|
|
65250
|
+
};
|
|
65251
|
+
};
|
|
65252
|
+
}, "/oidc/register"> & import("hono/types").MergeSchemaPath<{
|
|
64766
65253
|
"/": {
|
|
64767
65254
|
$get: {
|
|
64768
65255
|
input: {
|
|
@@ -65637,7 +66124,6 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
65637
66124
|
issuer: string;
|
|
65638
66125
|
device_authorization_endpoint: string;
|
|
65639
66126
|
mfa_challenge_endpoint: string;
|
|
65640
|
-
registration_endpoint: string;
|
|
65641
66127
|
revocation_endpoint: string;
|
|
65642
66128
|
scopes_supported: string[];
|
|
65643
66129
|
response_types_supported: string[];
|
|
@@ -65650,6 +66136,7 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
65650
66136
|
request_uri_parameter_supported: boolean;
|
|
65651
66137
|
request_parameter_supported: boolean;
|
|
65652
66138
|
token_endpoint_auth_signing_alg_values_supported: string[];
|
|
66139
|
+
registration_endpoint?: string | undefined | undefined;
|
|
65653
66140
|
};
|
|
65654
66141
|
outputFormat: "json";
|
|
65655
66142
|
status: 200;
|