authhero 4.106.1 → 4.108.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/js/client.js +1 -1
- package/dist/assets/u/widget/index.esm.js +1 -1
- package/dist/authhero.cjs +134 -114
- package/dist/authhero.d.ts +331 -82
- package/dist/authhero.mjs +14704 -12961
- package/dist/client.js +1 -1
- package/dist/stats.html +1 -1
- package/package.json +4 -4
package/dist/authhero.d.ts
CHANGED
|
@@ -42387,17 +42387,31 @@ export declare const hookInsertSchema: z.ZodUnion<[
|
|
|
42387
42387
|
synchronous: z.ZodDefault<z.ZodBoolean>;
|
|
42388
42388
|
priority: z.ZodOptional<z.ZodNumber>;
|
|
42389
42389
|
hook_id: z.ZodOptional<z.ZodString>;
|
|
42390
|
+
/**
|
|
42391
|
+
* Free-form key/value bag for hook properties. Two well-known keys:
|
|
42392
|
+
*
|
|
42393
|
+
* - `inheritable: true` — when set on a hook on the control-plane tenant,
|
|
42394
|
+
* the multi-tenancy sync surfaces this hook to sub-tenants (Phase 2).
|
|
42395
|
+
* - Template-specific options. Templates read their config here, e.g.
|
|
42396
|
+
* `account-linking` reads `copy_user_metadata: true` to merge secondary
|
|
42397
|
+
* user_metadata into the primary on link.
|
|
42398
|
+
*
|
|
42399
|
+
* Everything else is opaque to the runtime. Persisted as JSON.
|
|
42400
|
+
*/
|
|
42401
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
42390
42402
|
}, "strip", z.ZodTypeAny, {
|
|
42391
42403
|
url: string;
|
|
42392
42404
|
enabled: boolean;
|
|
42393
42405
|
trigger_id: "pre-user-registration" | "post-user-registration" | "post-user-login" | "post-user-update" | "validate-registration-username" | "pre-user-deletion" | "post-user-deletion";
|
|
42394
42406
|
synchronous: boolean;
|
|
42407
|
+
metadata?: Record<string, unknown> | undefined;
|
|
42395
42408
|
priority?: number | undefined;
|
|
42396
42409
|
hook_id?: string | undefined;
|
|
42397
42410
|
}, {
|
|
42398
42411
|
url: string;
|
|
42399
42412
|
trigger_id: "pre-user-registration" | "post-user-registration" | "post-user-login" | "post-user-update" | "validate-registration-username" | "pre-user-deletion" | "post-user-deletion";
|
|
42400
42413
|
enabled?: boolean | undefined;
|
|
42414
|
+
metadata?: Record<string, unknown> | undefined;
|
|
42401
42415
|
synchronous?: boolean | undefined;
|
|
42402
42416
|
priority?: number | undefined;
|
|
42403
42417
|
hook_id?: string | undefined;
|
|
@@ -42416,17 +42430,31 @@ export declare const hookInsertSchema: z.ZodUnion<[
|
|
|
42416
42430
|
synchronous: z.ZodDefault<z.ZodBoolean>;
|
|
42417
42431
|
priority: z.ZodOptional<z.ZodNumber>;
|
|
42418
42432
|
hook_id: z.ZodOptional<z.ZodString>;
|
|
42433
|
+
/**
|
|
42434
|
+
* Free-form key/value bag for hook properties. Two well-known keys:
|
|
42435
|
+
*
|
|
42436
|
+
* - `inheritable: true` — when set on a hook on the control-plane tenant,
|
|
42437
|
+
* the multi-tenancy sync surfaces this hook to sub-tenants (Phase 2).
|
|
42438
|
+
* - Template-specific options. Templates read their config here, e.g.
|
|
42439
|
+
* `account-linking` reads `copy_user_metadata: true` to merge secondary
|
|
42440
|
+
* user_metadata into the primary on link.
|
|
42441
|
+
*
|
|
42442
|
+
* Everything else is opaque to the runtime. Persisted as JSON.
|
|
42443
|
+
*/
|
|
42444
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
42419
42445
|
}, "strip", z.ZodTypeAny, {
|
|
42420
42446
|
enabled: boolean;
|
|
42421
42447
|
trigger_id: "pre-user-registration" | "post-user-registration" | "post-user-login" | "validate-registration-username" | "pre-user-deletion" | "post-user-deletion";
|
|
42422
42448
|
synchronous: boolean;
|
|
42423
42449
|
form_id: string;
|
|
42450
|
+
metadata?: Record<string, unknown> | undefined;
|
|
42424
42451
|
priority?: number | undefined;
|
|
42425
42452
|
hook_id?: string | undefined;
|
|
42426
42453
|
}, {
|
|
42427
42454
|
trigger_id: "pre-user-registration" | "post-user-registration" | "post-user-login" | "validate-registration-username" | "pre-user-deletion" | "post-user-deletion";
|
|
42428
42455
|
form_id: string;
|
|
42429
42456
|
enabled?: boolean | undefined;
|
|
42457
|
+
metadata?: Record<string, unknown> | undefined;
|
|
42430
42458
|
synchronous?: boolean | undefined;
|
|
42431
42459
|
priority?: number | undefined;
|
|
42432
42460
|
hook_id?: string | undefined;
|
|
@@ -42447,17 +42475,31 @@ export declare const hookInsertSchema: z.ZodUnion<[
|
|
|
42447
42475
|
synchronous: z.ZodDefault<z.ZodBoolean>;
|
|
42448
42476
|
priority: z.ZodOptional<z.ZodNumber>;
|
|
42449
42477
|
hook_id: z.ZodOptional<z.ZodString>;
|
|
42478
|
+
/**
|
|
42479
|
+
* Free-form key/value bag for hook properties. Two well-known keys:
|
|
42480
|
+
*
|
|
42481
|
+
* - `inheritable: true` — when set on a hook on the control-plane tenant,
|
|
42482
|
+
* the multi-tenancy sync surfaces this hook to sub-tenants (Phase 2).
|
|
42483
|
+
* - Template-specific options. Templates read their config here, e.g.
|
|
42484
|
+
* `account-linking` reads `copy_user_metadata: true` to merge secondary
|
|
42485
|
+
* user_metadata into the primary on link.
|
|
42486
|
+
*
|
|
42487
|
+
* Everything else is opaque to the runtime. Persisted as JSON.
|
|
42488
|
+
*/
|
|
42489
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
42450
42490
|
}, "strip", z.ZodTypeAny, {
|
|
42451
42491
|
enabled: boolean;
|
|
42452
42492
|
trigger_id: "post-user-registration" | "post-user-login" | "post-user-update" | "credentials-exchange";
|
|
42453
42493
|
synchronous: boolean;
|
|
42454
42494
|
template_id: "ensure-username" | "set-preferred-username" | "account-linking";
|
|
42495
|
+
metadata?: Record<string, unknown> | undefined;
|
|
42455
42496
|
priority?: number | undefined;
|
|
42456
42497
|
hook_id?: string | undefined;
|
|
42457
42498
|
}, {
|
|
42458
42499
|
trigger_id: "post-user-registration" | "post-user-login" | "post-user-update" | "credentials-exchange";
|
|
42459
42500
|
template_id: "ensure-username" | "set-preferred-username" | "account-linking";
|
|
42460
42501
|
enabled?: boolean | undefined;
|
|
42502
|
+
metadata?: Record<string, unknown> | undefined;
|
|
42461
42503
|
synchronous?: boolean | undefined;
|
|
42462
42504
|
priority?: number | undefined;
|
|
42463
42505
|
hook_id?: string | undefined;
|
|
@@ -42474,17 +42516,31 @@ export declare const hookInsertSchema: z.ZodUnion<[
|
|
|
42474
42516
|
synchronous: z.ZodDefault<z.ZodBoolean>;
|
|
42475
42517
|
priority: z.ZodOptional<z.ZodNumber>;
|
|
42476
42518
|
hook_id: z.ZodOptional<z.ZodString>;
|
|
42519
|
+
/**
|
|
42520
|
+
* Free-form key/value bag for hook properties. Two well-known keys:
|
|
42521
|
+
*
|
|
42522
|
+
* - `inheritable: true` — when set on a hook on the control-plane tenant,
|
|
42523
|
+
* the multi-tenancy sync surfaces this hook to sub-tenants (Phase 2).
|
|
42524
|
+
* - Template-specific options. Templates read their config here, e.g.
|
|
42525
|
+
* `account-linking` reads `copy_user_metadata: true` to merge secondary
|
|
42526
|
+
* user_metadata into the primary on link.
|
|
42527
|
+
*
|
|
42528
|
+
* Everything else is opaque to the runtime. Persisted as JSON.
|
|
42529
|
+
*/
|
|
42530
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
42477
42531
|
}, "strip", z.ZodTypeAny, {
|
|
42478
42532
|
code_id: string;
|
|
42479
42533
|
enabled: boolean;
|
|
42480
42534
|
trigger_id: "pre-user-registration" | "post-user-registration" | "post-user-login" | "credentials-exchange";
|
|
42481
42535
|
synchronous: boolean;
|
|
42536
|
+
metadata?: Record<string, unknown> | undefined;
|
|
42482
42537
|
priority?: number | undefined;
|
|
42483
42538
|
hook_id?: string | undefined;
|
|
42484
42539
|
}, {
|
|
42485
42540
|
code_id: string;
|
|
42486
42541
|
trigger_id: "pre-user-registration" | "post-user-registration" | "post-user-login" | "credentials-exchange";
|
|
42487
42542
|
enabled?: boolean | undefined;
|
|
42543
|
+
metadata?: Record<string, unknown> | undefined;
|
|
42488
42544
|
synchronous?: boolean | undefined;
|
|
42489
42545
|
priority?: number | undefined;
|
|
42490
42546
|
hook_id?: string | undefined;
|
|
@@ -42509,6 +42565,18 @@ export declare const hookSchema: z.ZodUnion<[
|
|
|
42509
42565
|
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
42510
42566
|
synchronous: z.ZodDefault<z.ZodBoolean>;
|
|
42511
42567
|
priority: z.ZodOptional<z.ZodNumber>;
|
|
42568
|
+
/**
|
|
42569
|
+
* Free-form key/value bag for hook properties. Two well-known keys:
|
|
42570
|
+
*
|
|
42571
|
+
* - `inheritable: true` — when set on a hook on the control-plane tenant,
|
|
42572
|
+
* the multi-tenancy sync surfaces this hook to sub-tenants (Phase 2).
|
|
42573
|
+
* - Template-specific options. Templates read their config here, e.g.
|
|
42574
|
+
* `account-linking` reads `copy_user_metadata: true` to merge secondary
|
|
42575
|
+
* user_metadata into the primary on link.
|
|
42576
|
+
*
|
|
42577
|
+
* Everything else is opaque to the runtime. Persisted as JSON.
|
|
42578
|
+
*/
|
|
42579
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
42512
42580
|
}, "strip", z.ZodTypeAny, {
|
|
42513
42581
|
created_at: string;
|
|
42514
42582
|
updated_at: string;
|
|
@@ -42517,6 +42585,7 @@ export declare const hookSchema: z.ZodUnion<[
|
|
|
42517
42585
|
trigger_id: "pre-user-registration" | "post-user-registration" | "post-user-login" | "post-user-update" | "validate-registration-username" | "pre-user-deletion" | "post-user-deletion";
|
|
42518
42586
|
synchronous: boolean;
|
|
42519
42587
|
hook_id: string;
|
|
42588
|
+
metadata?: Record<string, unknown> | undefined;
|
|
42520
42589
|
priority?: number | undefined;
|
|
42521
42590
|
}, {
|
|
42522
42591
|
created_at: string;
|
|
@@ -42525,6 +42594,7 @@ export declare const hookSchema: z.ZodUnion<[
|
|
|
42525
42594
|
trigger_id: "pre-user-registration" | "post-user-registration" | "post-user-login" | "post-user-update" | "validate-registration-username" | "pre-user-deletion" | "post-user-deletion";
|
|
42526
42595
|
hook_id: string;
|
|
42527
42596
|
enabled?: boolean | undefined;
|
|
42597
|
+
metadata?: Record<string, unknown> | undefined;
|
|
42528
42598
|
synchronous?: boolean | undefined;
|
|
42529
42599
|
priority?: number | undefined;
|
|
42530
42600
|
}>,
|
|
@@ -42544,6 +42614,18 @@ export declare const hookSchema: z.ZodUnion<[
|
|
|
42544
42614
|
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
42545
42615
|
synchronous: z.ZodDefault<z.ZodBoolean>;
|
|
42546
42616
|
priority: z.ZodOptional<z.ZodNumber>;
|
|
42617
|
+
/**
|
|
42618
|
+
* Free-form key/value bag for hook properties. Two well-known keys:
|
|
42619
|
+
*
|
|
42620
|
+
* - `inheritable: true` — when set on a hook on the control-plane tenant,
|
|
42621
|
+
* the multi-tenancy sync surfaces this hook to sub-tenants (Phase 2).
|
|
42622
|
+
* - Template-specific options. Templates read their config here, e.g.
|
|
42623
|
+
* `account-linking` reads `copy_user_metadata: true` to merge secondary
|
|
42624
|
+
* user_metadata into the primary on link.
|
|
42625
|
+
*
|
|
42626
|
+
* Everything else is opaque to the runtime. Persisted as JSON.
|
|
42627
|
+
*/
|
|
42628
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
42547
42629
|
}, "strip", z.ZodTypeAny, {
|
|
42548
42630
|
created_at: string;
|
|
42549
42631
|
updated_at: string;
|
|
@@ -42552,6 +42634,7 @@ export declare const hookSchema: z.ZodUnion<[
|
|
|
42552
42634
|
synchronous: boolean;
|
|
42553
42635
|
hook_id: string;
|
|
42554
42636
|
form_id: string;
|
|
42637
|
+
metadata?: Record<string, unknown> | undefined;
|
|
42555
42638
|
priority?: number | undefined;
|
|
42556
42639
|
}, {
|
|
42557
42640
|
created_at: string;
|
|
@@ -42560,6 +42643,7 @@ export declare const hookSchema: z.ZodUnion<[
|
|
|
42560
42643
|
hook_id: string;
|
|
42561
42644
|
form_id: string;
|
|
42562
42645
|
enabled?: boolean | undefined;
|
|
42646
|
+
metadata?: Record<string, unknown> | undefined;
|
|
42563
42647
|
synchronous?: boolean | undefined;
|
|
42564
42648
|
priority?: number | undefined;
|
|
42565
42649
|
}>,
|
|
@@ -42581,6 +42665,18 @@ export declare const hookSchema: z.ZodUnion<[
|
|
|
42581
42665
|
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
42582
42666
|
synchronous: z.ZodDefault<z.ZodBoolean>;
|
|
42583
42667
|
priority: z.ZodOptional<z.ZodNumber>;
|
|
42668
|
+
/**
|
|
42669
|
+
* Free-form key/value bag for hook properties. Two well-known keys:
|
|
42670
|
+
*
|
|
42671
|
+
* - `inheritable: true` — when set on a hook on the control-plane tenant,
|
|
42672
|
+
* the multi-tenancy sync surfaces this hook to sub-tenants (Phase 2).
|
|
42673
|
+
* - Template-specific options. Templates read their config here, e.g.
|
|
42674
|
+
* `account-linking` reads `copy_user_metadata: true` to merge secondary
|
|
42675
|
+
* user_metadata into the primary on link.
|
|
42676
|
+
*
|
|
42677
|
+
* Everything else is opaque to the runtime. Persisted as JSON.
|
|
42678
|
+
*/
|
|
42679
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
42584
42680
|
}, "strip", z.ZodTypeAny, {
|
|
42585
42681
|
created_at: string;
|
|
42586
42682
|
updated_at: string;
|
|
@@ -42589,6 +42685,7 @@ export declare const hookSchema: z.ZodUnion<[
|
|
|
42589
42685
|
synchronous: boolean;
|
|
42590
42686
|
hook_id: string;
|
|
42591
42687
|
template_id: "ensure-username" | "set-preferred-username" | "account-linking";
|
|
42688
|
+
metadata?: Record<string, unknown> | undefined;
|
|
42592
42689
|
priority?: number | undefined;
|
|
42593
42690
|
}, {
|
|
42594
42691
|
created_at: string;
|
|
@@ -42597,6 +42694,7 @@ export declare const hookSchema: z.ZodUnion<[
|
|
|
42597
42694
|
hook_id: string;
|
|
42598
42695
|
template_id: "ensure-username" | "set-preferred-username" | "account-linking";
|
|
42599
42696
|
enabled?: boolean | undefined;
|
|
42697
|
+
metadata?: Record<string, unknown> | undefined;
|
|
42600
42698
|
synchronous?: boolean | undefined;
|
|
42601
42699
|
priority?: number | undefined;
|
|
42602
42700
|
}>,
|
|
@@ -42614,6 +42712,18 @@ export declare const hookSchema: z.ZodUnion<[
|
|
|
42614
42712
|
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
42615
42713
|
synchronous: z.ZodDefault<z.ZodBoolean>;
|
|
42616
42714
|
priority: z.ZodOptional<z.ZodNumber>;
|
|
42715
|
+
/**
|
|
42716
|
+
* Free-form key/value bag for hook properties. Two well-known keys:
|
|
42717
|
+
*
|
|
42718
|
+
* - `inheritable: true` — when set on a hook on the control-plane tenant,
|
|
42719
|
+
* the multi-tenancy sync surfaces this hook to sub-tenants (Phase 2).
|
|
42720
|
+
* - Template-specific options. Templates read their config here, e.g.
|
|
42721
|
+
* `account-linking` reads `copy_user_metadata: true` to merge secondary
|
|
42722
|
+
* user_metadata into the primary on link.
|
|
42723
|
+
*
|
|
42724
|
+
* Everything else is opaque to the runtime. Persisted as JSON.
|
|
42725
|
+
*/
|
|
42726
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
42617
42727
|
}, "strip", z.ZodTypeAny, {
|
|
42618
42728
|
created_at: string;
|
|
42619
42729
|
updated_at: string;
|
|
@@ -42622,6 +42732,7 @@ export declare const hookSchema: z.ZodUnion<[
|
|
|
42622
42732
|
trigger_id: "pre-user-registration" | "post-user-registration" | "post-user-login" | "credentials-exchange";
|
|
42623
42733
|
synchronous: boolean;
|
|
42624
42734
|
hook_id: string;
|
|
42735
|
+
metadata?: Record<string, unknown> | undefined;
|
|
42625
42736
|
priority?: number | undefined;
|
|
42626
42737
|
}, {
|
|
42627
42738
|
created_at: string;
|
|
@@ -42630,6 +42741,7 @@ export declare const hookSchema: z.ZodUnion<[
|
|
|
42630
42741
|
trigger_id: "pre-user-registration" | "post-user-registration" | "post-user-login" | "credentials-exchange";
|
|
42631
42742
|
hook_id: string;
|
|
42632
42743
|
enabled?: boolean | undefined;
|
|
42744
|
+
metadata?: Record<string, unknown> | undefined;
|
|
42633
42745
|
synchronous?: boolean | undefined;
|
|
42634
42746
|
priority?: number | undefined;
|
|
42635
42747
|
}>
|
|
@@ -43056,8 +43168,10 @@ export declare const openIDConfigurationSchema: z.ZodObject<{
|
|
|
43056
43168
|
jwks_uri: z.ZodString;
|
|
43057
43169
|
registration_endpoint: z.ZodOptional<z.ZodString>;
|
|
43058
43170
|
revocation_endpoint: z.ZodString;
|
|
43171
|
+
end_session_endpoint: z.ZodOptional<z.ZodString>;
|
|
43059
43172
|
scopes_supported: z.ZodArray<z.ZodString, "many">;
|
|
43060
43173
|
response_types_supported: z.ZodArray<z.ZodString, "many">;
|
|
43174
|
+
grant_types_supported: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
43061
43175
|
code_challenge_methods_supported: z.ZodArray<z.ZodString, "many">;
|
|
43062
43176
|
response_modes_supported: z.ZodArray<z.ZodString, "many">;
|
|
43063
43177
|
subject_types_supported: z.ZodArray<z.ZodString, "many">;
|
|
@@ -43088,6 +43202,8 @@ export declare const openIDConfigurationSchema: z.ZodObject<{
|
|
|
43088
43202
|
request_parameter_supported: boolean;
|
|
43089
43203
|
token_endpoint_auth_signing_alg_values_supported: string[];
|
|
43090
43204
|
registration_endpoint?: string | undefined;
|
|
43205
|
+
end_session_endpoint?: string | undefined;
|
|
43206
|
+
grant_types_supported?: string[] | undefined;
|
|
43091
43207
|
}, {
|
|
43092
43208
|
authorization_endpoint: string;
|
|
43093
43209
|
token_endpoint: string;
|
|
@@ -43109,6 +43225,8 @@ export declare const openIDConfigurationSchema: z.ZodObject<{
|
|
|
43109
43225
|
request_parameter_supported: boolean;
|
|
43110
43226
|
token_endpoint_auth_signing_alg_values_supported: string[];
|
|
43111
43227
|
registration_endpoint?: string | undefined;
|
|
43228
|
+
end_session_endpoint?: string | undefined;
|
|
43229
|
+
grant_types_supported?: string[] | undefined;
|
|
43112
43230
|
}>;
|
|
43113
43231
|
export interface ListParams {
|
|
43114
43232
|
page?: number;
|
|
@@ -53288,6 +53406,18 @@ export interface AccountLinkingOptions {
|
|
|
53288
53406
|
* @default true
|
|
53289
53407
|
*/
|
|
53290
53408
|
requireVerifiedEmail?: boolean;
|
|
53409
|
+
/**
|
|
53410
|
+
* When the link is performed, merge the secondary user's `user_metadata`
|
|
53411
|
+
* into the primary's. Existing keys on the primary are NOT overwritten —
|
|
53412
|
+
* only keys absent from the primary are filled in from the secondary, so
|
|
53413
|
+
* the primary remains the source of truth for any conflicting values.
|
|
53414
|
+
*
|
|
53415
|
+
* `app_metadata` is intentionally never copied to avoid auto-merging into
|
|
53416
|
+
* the admin-only namespace.
|
|
53417
|
+
*
|
|
53418
|
+
* @default false
|
|
53419
|
+
*/
|
|
53420
|
+
copyUserMetadata?: boolean;
|
|
53291
53421
|
}
|
|
53292
53422
|
/**
|
|
53293
53423
|
* Trigger-agnostic event handler used by all `account-linking` template
|
|
@@ -60884,6 +61014,9 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
60884
61014
|
trigger_id: "pre-user-registration" | "post-user-registration" | "post-user-login" | "post-user-update" | "validate-registration-username" | "pre-user-deletion" | "post-user-deletion";
|
|
60885
61015
|
synchronous: boolean;
|
|
60886
61016
|
hook_id: string;
|
|
61017
|
+
metadata?: {
|
|
61018
|
+
[x: string]: import("hono/utils/types").JSONValue;
|
|
61019
|
+
} | undefined;
|
|
60887
61020
|
priority?: number | undefined | undefined;
|
|
60888
61021
|
} | {
|
|
60889
61022
|
created_at: string;
|
|
@@ -60893,6 +61026,9 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
60893
61026
|
synchronous: boolean;
|
|
60894
61027
|
hook_id: string;
|
|
60895
61028
|
form_id: string;
|
|
61029
|
+
metadata?: {
|
|
61030
|
+
[x: string]: import("hono/utils/types").JSONValue;
|
|
61031
|
+
} | undefined;
|
|
60896
61032
|
priority?: number | undefined | undefined;
|
|
60897
61033
|
} | {
|
|
60898
61034
|
created_at: string;
|
|
@@ -60902,6 +61038,9 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
60902
61038
|
synchronous: boolean;
|
|
60903
61039
|
hook_id: string;
|
|
60904
61040
|
template_id: "ensure-username" | "set-preferred-username" | "account-linking";
|
|
61041
|
+
metadata?: {
|
|
61042
|
+
[x: string]: import("hono/utils/types").JSONValue;
|
|
61043
|
+
} | undefined;
|
|
60905
61044
|
priority?: number | undefined | undefined;
|
|
60906
61045
|
} | {
|
|
60907
61046
|
created_at: string;
|
|
@@ -60911,6 +61050,9 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
60911
61050
|
trigger_id: "pre-user-registration" | "post-user-registration" | "post-user-login" | "credentials-exchange";
|
|
60912
61051
|
synchronous: boolean;
|
|
60913
61052
|
hook_id: string;
|
|
61053
|
+
metadata?: {
|
|
61054
|
+
[x: string]: import("hono/utils/types").JSONValue;
|
|
61055
|
+
} | undefined;
|
|
60914
61056
|
priority?: number | undefined | undefined;
|
|
60915
61057
|
})[] | {
|
|
60916
61058
|
length: number;
|
|
@@ -60924,6 +61066,9 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
60924
61066
|
trigger_id: "pre-user-registration" | "post-user-registration" | "post-user-login" | "post-user-update" | "validate-registration-username" | "pre-user-deletion" | "post-user-deletion";
|
|
60925
61067
|
synchronous: boolean;
|
|
60926
61068
|
hook_id: string;
|
|
61069
|
+
metadata?: {
|
|
61070
|
+
[x: string]: import("hono/utils/types").JSONValue;
|
|
61071
|
+
} | undefined;
|
|
60927
61072
|
priority?: number | undefined | undefined;
|
|
60928
61073
|
} | {
|
|
60929
61074
|
created_at: string;
|
|
@@ -60933,6 +61078,9 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
60933
61078
|
synchronous: boolean;
|
|
60934
61079
|
hook_id: string;
|
|
60935
61080
|
form_id: string;
|
|
61081
|
+
metadata?: {
|
|
61082
|
+
[x: string]: import("hono/utils/types").JSONValue;
|
|
61083
|
+
} | undefined;
|
|
60936
61084
|
priority?: number | undefined | undefined;
|
|
60937
61085
|
} | {
|
|
60938
61086
|
created_at: string;
|
|
@@ -60942,6 +61090,9 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
60942
61090
|
synchronous: boolean;
|
|
60943
61091
|
hook_id: string;
|
|
60944
61092
|
template_id: "ensure-username" | "set-preferred-username" | "account-linking";
|
|
61093
|
+
metadata?: {
|
|
61094
|
+
[x: string]: import("hono/utils/types").JSONValue;
|
|
61095
|
+
} | undefined;
|
|
60945
61096
|
priority?: number | undefined | undefined;
|
|
60946
61097
|
} | {
|
|
60947
61098
|
created_at: string;
|
|
@@ -60951,6 +61102,9 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
60951
61102
|
trigger_id: "pre-user-registration" | "post-user-registration" | "post-user-login" | "credentials-exchange";
|
|
60952
61103
|
synchronous: boolean;
|
|
60953
61104
|
hook_id: string;
|
|
61105
|
+
metadata?: {
|
|
61106
|
+
[x: string]: import("hono/utils/types").JSONValue;
|
|
61107
|
+
} | undefined;
|
|
60954
61108
|
priority?: number | undefined | undefined;
|
|
60955
61109
|
})[];
|
|
60956
61110
|
total?: number | undefined;
|
|
@@ -60971,6 +61125,7 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
60971
61125
|
url: string;
|
|
60972
61126
|
trigger_id: "pre-user-registration" | "post-user-registration" | "post-user-login" | "post-user-update" | "validate-registration-username" | "pre-user-deletion" | "post-user-deletion";
|
|
60973
61127
|
enabled?: boolean | undefined;
|
|
61128
|
+
metadata?: Record<string, unknown> | undefined;
|
|
60974
61129
|
synchronous?: boolean | undefined;
|
|
60975
61130
|
priority?: number | undefined;
|
|
60976
61131
|
hook_id?: string | undefined;
|
|
@@ -60978,6 +61133,7 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
60978
61133
|
trigger_id: "pre-user-registration" | "post-user-registration" | "post-user-login" | "validate-registration-username" | "pre-user-deletion" | "post-user-deletion";
|
|
60979
61134
|
form_id: string;
|
|
60980
61135
|
enabled?: boolean | undefined;
|
|
61136
|
+
metadata?: Record<string, unknown> | undefined;
|
|
60981
61137
|
synchronous?: boolean | undefined;
|
|
60982
61138
|
priority?: number | undefined;
|
|
60983
61139
|
hook_id?: string | undefined;
|
|
@@ -60985,6 +61141,7 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
60985
61141
|
trigger_id: "post-user-registration" | "post-user-login" | "post-user-update" | "credentials-exchange";
|
|
60986
61142
|
template_id: "ensure-username" | "set-preferred-username" | "account-linking";
|
|
60987
61143
|
enabled?: boolean | undefined;
|
|
61144
|
+
metadata?: Record<string, unknown> | undefined;
|
|
60988
61145
|
synchronous?: boolean | undefined;
|
|
60989
61146
|
priority?: number | undefined;
|
|
60990
61147
|
hook_id?: string | undefined;
|
|
@@ -60992,6 +61149,7 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
60992
61149
|
code_id: string;
|
|
60993
61150
|
trigger_id: "pre-user-registration" | "post-user-registration" | "post-user-login" | "credentials-exchange";
|
|
60994
61151
|
enabled?: boolean | undefined;
|
|
61152
|
+
metadata?: Record<string, unknown> | undefined;
|
|
60995
61153
|
synchronous?: boolean | undefined;
|
|
60996
61154
|
priority?: number | undefined;
|
|
60997
61155
|
hook_id?: string | undefined;
|
|
@@ -61005,6 +61163,9 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
61005
61163
|
trigger_id: "pre-user-registration" | "post-user-registration" | "post-user-login" | "post-user-update" | "validate-registration-username" | "pre-user-deletion" | "post-user-deletion";
|
|
61006
61164
|
synchronous: boolean;
|
|
61007
61165
|
hook_id: string;
|
|
61166
|
+
metadata?: {
|
|
61167
|
+
[x: string]: import("hono/utils/types").JSONValue;
|
|
61168
|
+
} | undefined;
|
|
61008
61169
|
priority?: number | undefined | undefined;
|
|
61009
61170
|
} | {
|
|
61010
61171
|
created_at: string;
|
|
@@ -61014,6 +61175,9 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
61014
61175
|
synchronous: boolean;
|
|
61015
61176
|
hook_id: string;
|
|
61016
61177
|
form_id: string;
|
|
61178
|
+
metadata?: {
|
|
61179
|
+
[x: string]: import("hono/utils/types").JSONValue;
|
|
61180
|
+
} | undefined;
|
|
61017
61181
|
priority?: number | undefined | undefined;
|
|
61018
61182
|
} | {
|
|
61019
61183
|
created_at: string;
|
|
@@ -61023,6 +61187,9 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
61023
61187
|
synchronous: boolean;
|
|
61024
61188
|
hook_id: string;
|
|
61025
61189
|
template_id: "ensure-username" | "set-preferred-username" | "account-linking";
|
|
61190
|
+
metadata?: {
|
|
61191
|
+
[x: string]: import("hono/utils/types").JSONValue;
|
|
61192
|
+
} | undefined;
|
|
61026
61193
|
priority?: number | undefined | undefined;
|
|
61027
61194
|
} | {
|
|
61028
61195
|
created_at: string;
|
|
@@ -61032,6 +61199,9 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
61032
61199
|
trigger_id: "pre-user-registration" | "post-user-registration" | "post-user-login" | "credentials-exchange";
|
|
61033
61200
|
synchronous: boolean;
|
|
61034
61201
|
hook_id: string;
|
|
61202
|
+
metadata?: {
|
|
61203
|
+
[x: string]: import("hono/utils/types").JSONValue;
|
|
61204
|
+
} | undefined;
|
|
61035
61205
|
priority?: number | undefined | undefined;
|
|
61036
61206
|
};
|
|
61037
61207
|
outputFormat: "json";
|
|
@@ -61075,6 +61245,9 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
61075
61245
|
trigger_id: "pre-user-registration" | "post-user-registration" | "post-user-login" | "post-user-update" | "validate-registration-username" | "pre-user-deletion" | "post-user-deletion";
|
|
61076
61246
|
synchronous: boolean;
|
|
61077
61247
|
hook_id: string;
|
|
61248
|
+
metadata?: {
|
|
61249
|
+
[x: string]: import("hono/utils/types").JSONValue;
|
|
61250
|
+
} | undefined;
|
|
61078
61251
|
priority?: number | undefined | undefined;
|
|
61079
61252
|
} | {
|
|
61080
61253
|
created_at: string;
|
|
@@ -61084,6 +61257,9 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
61084
61257
|
synchronous: boolean;
|
|
61085
61258
|
hook_id: string;
|
|
61086
61259
|
form_id: string;
|
|
61260
|
+
metadata?: {
|
|
61261
|
+
[x: string]: import("hono/utils/types").JSONValue;
|
|
61262
|
+
} | undefined;
|
|
61087
61263
|
priority?: number | undefined | undefined;
|
|
61088
61264
|
} | {
|
|
61089
61265
|
created_at: string;
|
|
@@ -61093,6 +61269,9 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
61093
61269
|
synchronous: boolean;
|
|
61094
61270
|
hook_id: string;
|
|
61095
61271
|
template_id: "ensure-username" | "set-preferred-username" | "account-linking";
|
|
61272
|
+
metadata?: {
|
|
61273
|
+
[x: string]: import("hono/utils/types").JSONValue;
|
|
61274
|
+
} | undefined;
|
|
61096
61275
|
priority?: number | undefined | undefined;
|
|
61097
61276
|
} | {
|
|
61098
61277
|
created_at: string;
|
|
@@ -61102,6 +61281,9 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
61102
61281
|
trigger_id: "pre-user-registration" | "post-user-registration" | "post-user-login" | "credentials-exchange";
|
|
61103
61282
|
synchronous: boolean;
|
|
61104
61283
|
hook_id: string;
|
|
61284
|
+
metadata?: {
|
|
61285
|
+
[x: string]: import("hono/utils/types").JSONValue;
|
|
61286
|
+
} | undefined;
|
|
61105
61287
|
priority?: number | undefined | undefined;
|
|
61106
61288
|
};
|
|
61107
61289
|
outputFormat: "json";
|
|
@@ -61141,6 +61323,9 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
61141
61323
|
trigger_id: "pre-user-registration" | "post-user-registration" | "post-user-login" | "post-user-update" | "validate-registration-username" | "pre-user-deletion" | "post-user-deletion";
|
|
61142
61324
|
synchronous: boolean;
|
|
61143
61325
|
hook_id: string;
|
|
61326
|
+
metadata?: {
|
|
61327
|
+
[x: string]: import("hono/utils/types").JSONValue;
|
|
61328
|
+
} | undefined;
|
|
61144
61329
|
priority?: number | undefined | undefined;
|
|
61145
61330
|
} | {
|
|
61146
61331
|
created_at: string;
|
|
@@ -61150,6 +61335,9 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
61150
61335
|
synchronous: boolean;
|
|
61151
61336
|
hook_id: string;
|
|
61152
61337
|
form_id: string;
|
|
61338
|
+
metadata?: {
|
|
61339
|
+
[x: string]: import("hono/utils/types").JSONValue;
|
|
61340
|
+
} | undefined;
|
|
61153
61341
|
priority?: number | undefined | undefined;
|
|
61154
61342
|
} | {
|
|
61155
61343
|
created_at: string;
|
|
@@ -61159,6 +61347,9 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
61159
61347
|
synchronous: boolean;
|
|
61160
61348
|
hook_id: string;
|
|
61161
61349
|
template_id: "ensure-username" | "set-preferred-username" | "account-linking";
|
|
61350
|
+
metadata?: {
|
|
61351
|
+
[x: string]: import("hono/utils/types").JSONValue;
|
|
61352
|
+
} | undefined;
|
|
61162
61353
|
priority?: number | undefined | undefined;
|
|
61163
61354
|
} | {
|
|
61164
61355
|
created_at: string;
|
|
@@ -61168,6 +61359,9 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
61168
61359
|
trigger_id: "pre-user-registration" | "post-user-registration" | "post-user-login" | "credentials-exchange";
|
|
61169
61360
|
synchronous: boolean;
|
|
61170
61361
|
hook_id: string;
|
|
61362
|
+
metadata?: {
|
|
61363
|
+
[x: string]: import("hono/utils/types").JSONValue;
|
|
61364
|
+
} | undefined;
|
|
61171
61365
|
priority?: number | undefined | undefined;
|
|
61172
61366
|
};
|
|
61173
61367
|
outputFormat: "json";
|
|
@@ -65374,10 +65568,10 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
65374
65568
|
login_ticket?: string | undefined;
|
|
65375
65569
|
screen_hint?: string | undefined;
|
|
65376
65570
|
redirect_uri?: string | undefined;
|
|
65571
|
+
ui_locales?: string | undefined;
|
|
65377
65572
|
code_challenge?: string | undefined;
|
|
65378
|
-
code_challenge_method?: CodeChallengeMethod | undefined;
|
|
65379
65573
|
realm?: string | undefined;
|
|
65380
|
-
|
|
65574
|
+
code_challenge_method?: CodeChallengeMethod | undefined;
|
|
65381
65575
|
max_age?: string | undefined;
|
|
65382
65576
|
acr_values?: string | undefined;
|
|
65383
65577
|
vendor_id?: string | undefined;
|
|
@@ -65406,10 +65600,10 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
65406
65600
|
login_ticket?: string | undefined;
|
|
65407
65601
|
screen_hint?: string | undefined;
|
|
65408
65602
|
redirect_uri?: string | undefined;
|
|
65603
|
+
ui_locales?: string | undefined;
|
|
65409
65604
|
code_challenge?: string | undefined;
|
|
65410
|
-
code_challenge_method?: CodeChallengeMethod | undefined;
|
|
65411
65605
|
realm?: string | undefined;
|
|
65412
|
-
|
|
65606
|
+
code_challenge_method?: CodeChallengeMethod | undefined;
|
|
65413
65607
|
max_age?: string | undefined;
|
|
65414
65608
|
acr_values?: string | undefined;
|
|
65415
65609
|
vendor_id?: string | undefined;
|
|
@@ -65438,10 +65632,10 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
65438
65632
|
login_ticket?: string | undefined;
|
|
65439
65633
|
screen_hint?: string | undefined;
|
|
65440
65634
|
redirect_uri?: string | undefined;
|
|
65635
|
+
ui_locales?: string | undefined;
|
|
65441
65636
|
code_challenge?: string | undefined;
|
|
65442
|
-
code_challenge_method?: CodeChallengeMethod | undefined;
|
|
65443
65637
|
realm?: string | undefined;
|
|
65444
|
-
|
|
65638
|
+
code_challenge_method?: CodeChallengeMethod | undefined;
|
|
65445
65639
|
max_age?: string | undefined;
|
|
65446
65640
|
acr_values?: string | undefined;
|
|
65447
65641
|
vendor_id?: string | undefined;
|
|
@@ -65478,10 +65672,10 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
65478
65672
|
login_ticket?: string | undefined;
|
|
65479
65673
|
screen_hint?: string | undefined;
|
|
65480
65674
|
redirect_uri?: string | undefined;
|
|
65675
|
+
ui_locales?: string | undefined;
|
|
65481
65676
|
code_challenge?: string | undefined;
|
|
65482
|
-
code_challenge_method?: CodeChallengeMethod | undefined;
|
|
65483
65677
|
realm?: string | undefined;
|
|
65484
|
-
|
|
65678
|
+
code_challenge_method?: CodeChallengeMethod | undefined;
|
|
65485
65679
|
max_age?: string | undefined;
|
|
65486
65680
|
acr_values?: string | undefined;
|
|
65487
65681
|
vendor_id?: string | undefined;
|
|
@@ -65512,10 +65706,10 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
65512
65706
|
login_ticket?: string | undefined;
|
|
65513
65707
|
screen_hint?: string | undefined;
|
|
65514
65708
|
redirect_uri?: string | undefined;
|
|
65709
|
+
ui_locales?: string | undefined;
|
|
65515
65710
|
code_challenge?: string | undefined;
|
|
65516
|
-
code_challenge_method?: CodeChallengeMethod | undefined;
|
|
65517
65711
|
realm?: string | undefined;
|
|
65518
|
-
|
|
65712
|
+
code_challenge_method?: CodeChallengeMethod | undefined;
|
|
65519
65713
|
max_age?: string | undefined;
|
|
65520
65714
|
acr_values?: string | undefined;
|
|
65521
65715
|
vendor_id?: string | undefined;
|
|
@@ -65619,10 +65813,10 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
65619
65813
|
prompt?: string | undefined;
|
|
65620
65814
|
state?: string | undefined;
|
|
65621
65815
|
redirect_uri?: string | undefined;
|
|
65816
|
+
ui_locales?: string | undefined;
|
|
65622
65817
|
code_challenge?: string | undefined;
|
|
65623
65818
|
code_challenge_method?: CodeChallengeMethod | undefined;
|
|
65624
65819
|
act_as?: string | undefined;
|
|
65625
|
-
ui_locales?: string | undefined;
|
|
65626
65820
|
max_age?: number | undefined;
|
|
65627
65821
|
acr_values?: string | undefined;
|
|
65628
65822
|
vendor_id?: string | undefined;
|
|
@@ -65643,10 +65837,10 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
65643
65837
|
prompt?: string | undefined;
|
|
65644
65838
|
state?: string | undefined;
|
|
65645
65839
|
redirect_uri?: string | undefined;
|
|
65840
|
+
ui_locales?: string | undefined;
|
|
65646
65841
|
code_challenge?: string | undefined;
|
|
65647
65842
|
code_challenge_method?: CodeChallengeMethod | undefined;
|
|
65648
65843
|
act_as?: string | undefined;
|
|
65649
|
-
ui_locales?: string | undefined;
|
|
65650
65844
|
max_age?: number | undefined;
|
|
65651
65845
|
acr_values?: string | undefined;
|
|
65652
65846
|
vendor_id?: string | undefined;
|
|
@@ -65761,6 +65955,73 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
65761
65955
|
};
|
|
65762
65956
|
};
|
|
65763
65957
|
}, "/dbconnections"> & import("hono/types").MergeSchemaPath<{
|
|
65958
|
+
"/": {
|
|
65959
|
+
$post: {
|
|
65960
|
+
input: {
|
|
65961
|
+
form: {
|
|
65962
|
+
token: string;
|
|
65963
|
+
client_id?: string | undefined;
|
|
65964
|
+
client_secret?: string | undefined;
|
|
65965
|
+
token_type_hint?: "refresh_token" | "access_token" | undefined;
|
|
65966
|
+
};
|
|
65967
|
+
} & {
|
|
65968
|
+
json: {
|
|
65969
|
+
token: string;
|
|
65970
|
+
client_id?: string | undefined;
|
|
65971
|
+
client_secret?: string | undefined;
|
|
65972
|
+
token_type_hint?: "refresh_token" | "access_token" | undefined;
|
|
65973
|
+
};
|
|
65974
|
+
};
|
|
65975
|
+
output: {};
|
|
65976
|
+
outputFormat: string;
|
|
65977
|
+
status: 200;
|
|
65978
|
+
} | {
|
|
65979
|
+
input: {
|
|
65980
|
+
form: {
|
|
65981
|
+
token: string;
|
|
65982
|
+
client_id?: string | undefined;
|
|
65983
|
+
client_secret?: string | undefined;
|
|
65984
|
+
token_type_hint?: "refresh_token" | "access_token" | undefined;
|
|
65985
|
+
};
|
|
65986
|
+
} & {
|
|
65987
|
+
json: {
|
|
65988
|
+
token: string;
|
|
65989
|
+
client_id?: string | undefined;
|
|
65990
|
+
client_secret?: string | undefined;
|
|
65991
|
+
token_type_hint?: "refresh_token" | "access_token" | undefined;
|
|
65992
|
+
};
|
|
65993
|
+
};
|
|
65994
|
+
output: {
|
|
65995
|
+
error: string;
|
|
65996
|
+
error_description?: string | undefined;
|
|
65997
|
+
};
|
|
65998
|
+
outputFormat: "json";
|
|
65999
|
+
status: 400;
|
|
66000
|
+
} | {
|
|
66001
|
+
input: {
|
|
66002
|
+
form: {
|
|
66003
|
+
token: string;
|
|
66004
|
+
client_id?: string | undefined;
|
|
66005
|
+
client_secret?: string | undefined;
|
|
66006
|
+
token_type_hint?: "refresh_token" | "access_token" | undefined;
|
|
66007
|
+
};
|
|
66008
|
+
} & {
|
|
66009
|
+
json: {
|
|
66010
|
+
token: string;
|
|
66011
|
+
client_id?: string | undefined;
|
|
66012
|
+
client_secret?: string | undefined;
|
|
66013
|
+
token_type_hint?: "refresh_token" | "access_token" | undefined;
|
|
66014
|
+
};
|
|
66015
|
+
};
|
|
66016
|
+
output: {
|
|
66017
|
+
error: string;
|
|
66018
|
+
error_description?: string | undefined;
|
|
66019
|
+
};
|
|
66020
|
+
outputFormat: "json";
|
|
66021
|
+
status: 401;
|
|
66022
|
+
};
|
|
66023
|
+
};
|
|
66024
|
+
}, "/oauth/revoke"> & import("hono/types").MergeSchemaPath<{
|
|
65764
66025
|
"/": {
|
|
65765
66026
|
$post: {
|
|
65766
66027
|
input: {
|
|
@@ -65771,13 +66032,6 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
65771
66032
|
scope?: string | undefined;
|
|
65772
66033
|
audience?: string | undefined;
|
|
65773
66034
|
organization?: string | undefined;
|
|
65774
|
-
} | {
|
|
65775
|
-
code: string;
|
|
65776
|
-
client_id: string;
|
|
65777
|
-
grant_type: "authorization_code";
|
|
65778
|
-
redirect_uri: string;
|
|
65779
|
-
code_verifier: string;
|
|
65780
|
-
organization?: string | undefined;
|
|
65781
66035
|
} | {
|
|
65782
66036
|
code: string;
|
|
65783
66037
|
grant_type: "authorization_code";
|
|
@@ -65785,6 +66039,7 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
65785
66039
|
client_secret?: string | undefined;
|
|
65786
66040
|
organization?: string | undefined;
|
|
65787
66041
|
redirect_uri?: string | undefined;
|
|
66042
|
+
code_verifier?: string | undefined;
|
|
65788
66043
|
} | {
|
|
65789
66044
|
refresh_token: string;
|
|
65790
66045
|
grant_type: "refresh_token";
|
|
@@ -65807,13 +66062,6 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
65807
66062
|
scope?: string | undefined;
|
|
65808
66063
|
audience?: string | undefined;
|
|
65809
66064
|
organization?: string | undefined;
|
|
65810
|
-
} | {
|
|
65811
|
-
code: string;
|
|
65812
|
-
client_id: string;
|
|
65813
|
-
grant_type: "authorization_code";
|
|
65814
|
-
redirect_uri: string;
|
|
65815
|
-
code_verifier: string;
|
|
65816
|
-
organization?: string | undefined;
|
|
65817
66065
|
} | {
|
|
65818
66066
|
code: string;
|
|
65819
66067
|
grant_type: "authorization_code";
|
|
@@ -65821,6 +66069,7 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
65821
66069
|
client_secret?: string | undefined;
|
|
65822
66070
|
organization?: string | undefined;
|
|
65823
66071
|
redirect_uri?: string | undefined;
|
|
66072
|
+
code_verifier?: string | undefined;
|
|
65824
66073
|
} | {
|
|
65825
66074
|
refresh_token: string;
|
|
65826
66075
|
grant_type: "refresh_token";
|
|
@@ -65848,13 +66097,6 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
65848
66097
|
scope?: string | undefined;
|
|
65849
66098
|
audience?: string | undefined;
|
|
65850
66099
|
organization?: string | undefined;
|
|
65851
|
-
} | {
|
|
65852
|
-
code: string;
|
|
65853
|
-
client_id: string;
|
|
65854
|
-
grant_type: "authorization_code";
|
|
65855
|
-
redirect_uri: string;
|
|
65856
|
-
code_verifier: string;
|
|
65857
|
-
organization?: string | undefined;
|
|
65858
66100
|
} | {
|
|
65859
66101
|
code: string;
|
|
65860
66102
|
grant_type: "authorization_code";
|
|
@@ -65862,6 +66104,7 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
65862
66104
|
client_secret?: string | undefined;
|
|
65863
66105
|
organization?: string | undefined;
|
|
65864
66106
|
redirect_uri?: string | undefined;
|
|
66107
|
+
code_verifier?: string | undefined;
|
|
65865
66108
|
} | {
|
|
65866
66109
|
refresh_token: string;
|
|
65867
66110
|
grant_type: "refresh_token";
|
|
@@ -65884,13 +66127,6 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
65884
66127
|
scope?: string | undefined;
|
|
65885
66128
|
audience?: string | undefined;
|
|
65886
66129
|
organization?: string | undefined;
|
|
65887
|
-
} | {
|
|
65888
|
-
code: string;
|
|
65889
|
-
client_id: string;
|
|
65890
|
-
grant_type: "authorization_code";
|
|
65891
|
-
redirect_uri: string;
|
|
65892
|
-
code_verifier: string;
|
|
65893
|
-
organization?: string | undefined;
|
|
65894
66130
|
} | {
|
|
65895
66131
|
code: string;
|
|
65896
66132
|
grant_type: "authorization_code";
|
|
@@ -65898,6 +66134,7 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
65898
66134
|
client_secret?: string | undefined;
|
|
65899
66135
|
organization?: string | undefined;
|
|
65900
66136
|
redirect_uri?: string | undefined;
|
|
66137
|
+
code_verifier?: string | undefined;
|
|
65901
66138
|
} | {
|
|
65902
66139
|
refresh_token: string;
|
|
65903
66140
|
grant_type: "refresh_token";
|
|
@@ -65933,13 +66170,6 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
65933
66170
|
scope?: string | undefined;
|
|
65934
66171
|
audience?: string | undefined;
|
|
65935
66172
|
organization?: string | undefined;
|
|
65936
|
-
} | {
|
|
65937
|
-
code: string;
|
|
65938
|
-
client_id: string;
|
|
65939
|
-
grant_type: "authorization_code";
|
|
65940
|
-
redirect_uri: string;
|
|
65941
|
-
code_verifier: string;
|
|
65942
|
-
organization?: string | undefined;
|
|
65943
66173
|
} | {
|
|
65944
66174
|
code: string;
|
|
65945
66175
|
grant_type: "authorization_code";
|
|
@@ -65947,6 +66177,7 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
65947
66177
|
client_secret?: string | undefined;
|
|
65948
66178
|
organization?: string | undefined;
|
|
65949
66179
|
redirect_uri?: string | undefined;
|
|
66180
|
+
code_verifier?: string | undefined;
|
|
65950
66181
|
} | {
|
|
65951
66182
|
refresh_token: string;
|
|
65952
66183
|
grant_type: "refresh_token";
|
|
@@ -65969,13 +66200,6 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
65969
66200
|
scope?: string | undefined;
|
|
65970
66201
|
audience?: string | undefined;
|
|
65971
66202
|
organization?: string | undefined;
|
|
65972
|
-
} | {
|
|
65973
|
-
code: string;
|
|
65974
|
-
client_id: string;
|
|
65975
|
-
grant_type: "authorization_code";
|
|
65976
|
-
redirect_uri: string;
|
|
65977
|
-
code_verifier: string;
|
|
65978
|
-
organization?: string | undefined;
|
|
65979
66203
|
} | {
|
|
65980
66204
|
code: string;
|
|
65981
66205
|
grant_type: "authorization_code";
|
|
@@ -65983,6 +66207,7 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
65983
66207
|
client_secret?: string | undefined;
|
|
65984
66208
|
organization?: string | undefined;
|
|
65985
66209
|
redirect_uri?: string | undefined;
|
|
66210
|
+
code_verifier?: string | undefined;
|
|
65986
66211
|
} | {
|
|
65987
66212
|
refresh_token: string;
|
|
65988
66213
|
grant_type: "refresh_token";
|
|
@@ -66013,13 +66238,6 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
66013
66238
|
scope?: string | undefined;
|
|
66014
66239
|
audience?: string | undefined;
|
|
66015
66240
|
organization?: string | undefined;
|
|
66016
|
-
} | {
|
|
66017
|
-
code: string;
|
|
66018
|
-
client_id: string;
|
|
66019
|
-
grant_type: "authorization_code";
|
|
66020
|
-
redirect_uri: string;
|
|
66021
|
-
code_verifier: string;
|
|
66022
|
-
organization?: string | undefined;
|
|
66023
66241
|
} | {
|
|
66024
66242
|
code: string;
|
|
66025
66243
|
grant_type: "authorization_code";
|
|
@@ -66027,6 +66245,7 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
66027
66245
|
client_secret?: string | undefined;
|
|
66028
66246
|
organization?: string | undefined;
|
|
66029
66247
|
redirect_uri?: string | undefined;
|
|
66248
|
+
code_verifier?: string | undefined;
|
|
66030
66249
|
} | {
|
|
66031
66250
|
refresh_token: string;
|
|
66032
66251
|
grant_type: "refresh_token";
|
|
@@ -66049,13 +66268,6 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
66049
66268
|
scope?: string | undefined;
|
|
66050
66269
|
audience?: string | undefined;
|
|
66051
66270
|
organization?: string | undefined;
|
|
66052
|
-
} | {
|
|
66053
|
-
code: string;
|
|
66054
|
-
client_id: string;
|
|
66055
|
-
grant_type: "authorization_code";
|
|
66056
|
-
redirect_uri: string;
|
|
66057
|
-
code_verifier: string;
|
|
66058
|
-
organization?: string | undefined;
|
|
66059
66271
|
} | {
|
|
66060
66272
|
code: string;
|
|
66061
66273
|
grant_type: "authorization_code";
|
|
@@ -66063,6 +66275,7 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
66063
66275
|
client_secret?: string | undefined;
|
|
66064
66276
|
organization?: string | undefined;
|
|
66065
66277
|
redirect_uri?: string | undefined;
|
|
66278
|
+
code_verifier?: string | undefined;
|
|
66066
66279
|
} | {
|
|
66067
66280
|
refresh_token: string;
|
|
66068
66281
|
grant_type: "refresh_token";
|
|
@@ -66093,13 +66306,6 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
66093
66306
|
scope?: string | undefined;
|
|
66094
66307
|
audience?: string | undefined;
|
|
66095
66308
|
organization?: string | undefined;
|
|
66096
|
-
} | {
|
|
66097
|
-
code: string;
|
|
66098
|
-
client_id: string;
|
|
66099
|
-
grant_type: "authorization_code";
|
|
66100
|
-
redirect_uri: string;
|
|
66101
|
-
code_verifier: string;
|
|
66102
|
-
organization?: string | undefined;
|
|
66103
66309
|
} | {
|
|
66104
66310
|
code: string;
|
|
66105
66311
|
grant_type: "authorization_code";
|
|
@@ -66107,6 +66313,7 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
66107
66313
|
client_secret?: string | undefined;
|
|
66108
66314
|
organization?: string | undefined;
|
|
66109
66315
|
redirect_uri?: string | undefined;
|
|
66316
|
+
code_verifier?: string | undefined;
|
|
66110
66317
|
} | {
|
|
66111
66318
|
refresh_token: string;
|
|
66112
66319
|
grant_type: "refresh_token";
|
|
@@ -66129,13 +66336,6 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
66129
66336
|
scope?: string | undefined;
|
|
66130
66337
|
audience?: string | undefined;
|
|
66131
66338
|
organization?: string | undefined;
|
|
66132
|
-
} | {
|
|
66133
|
-
code: string;
|
|
66134
|
-
client_id: string;
|
|
66135
|
-
grant_type: "authorization_code";
|
|
66136
|
-
redirect_uri: string;
|
|
66137
|
-
code_verifier: string;
|
|
66138
|
-
organization?: string | undefined;
|
|
66139
66339
|
} | {
|
|
66140
66340
|
code: string;
|
|
66141
66341
|
grant_type: "authorization_code";
|
|
@@ -66143,6 +66343,7 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
66143
66343
|
client_secret?: string | undefined;
|
|
66144
66344
|
organization?: string | undefined;
|
|
66145
66345
|
redirect_uri?: string | undefined;
|
|
66346
|
+
code_verifier?: string | undefined;
|
|
66146
66347
|
} | {
|
|
66147
66348
|
refresh_token: string;
|
|
66148
66349
|
grant_type: "refresh_token";
|
|
@@ -66211,6 +66412,8 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
66211
66412
|
request_parameter_supported: boolean;
|
|
66212
66413
|
token_endpoint_auth_signing_alg_values_supported: string[];
|
|
66213
66414
|
registration_endpoint?: string | undefined | undefined;
|
|
66415
|
+
end_session_endpoint?: string | undefined | undefined;
|
|
66416
|
+
grant_types_supported?: string[] | undefined | undefined;
|
|
66214
66417
|
};
|
|
66215
66418
|
outputFormat: "json";
|
|
66216
66419
|
status: 200;
|
|
@@ -66309,6 +66512,52 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
66309
66512
|
};
|
|
66310
66513
|
};
|
|
66311
66514
|
}, "/userinfo"> & import("hono/types").MergeSchemaPath<{
|
|
66515
|
+
"/": {
|
|
66516
|
+
$get: {
|
|
66517
|
+
input: {
|
|
66518
|
+
query: {
|
|
66519
|
+
client_id?: string | undefined;
|
|
66520
|
+
state?: string | undefined;
|
|
66521
|
+
id_token_hint?: string | undefined;
|
|
66522
|
+
post_logout_redirect_uri?: string | undefined;
|
|
66523
|
+
logout_hint?: string | undefined;
|
|
66524
|
+
ui_locales?: string | undefined;
|
|
66525
|
+
};
|
|
66526
|
+
};
|
|
66527
|
+
output: {};
|
|
66528
|
+
outputFormat: string;
|
|
66529
|
+
status: 200;
|
|
66530
|
+
} | {
|
|
66531
|
+
input: {
|
|
66532
|
+
query: {
|
|
66533
|
+
client_id?: string | undefined;
|
|
66534
|
+
state?: string | undefined;
|
|
66535
|
+
id_token_hint?: string | undefined;
|
|
66536
|
+
post_logout_redirect_uri?: string | undefined;
|
|
66537
|
+
logout_hint?: string | undefined;
|
|
66538
|
+
ui_locales?: string | undefined;
|
|
66539
|
+
};
|
|
66540
|
+
};
|
|
66541
|
+
output: {};
|
|
66542
|
+
outputFormat: string;
|
|
66543
|
+
status: 302;
|
|
66544
|
+
} | {
|
|
66545
|
+
input: {
|
|
66546
|
+
query: {
|
|
66547
|
+
client_id?: string | undefined;
|
|
66548
|
+
state?: string | undefined;
|
|
66549
|
+
id_token_hint?: string | undefined;
|
|
66550
|
+
post_logout_redirect_uri?: string | undefined;
|
|
66551
|
+
logout_hint?: string | undefined;
|
|
66552
|
+
ui_locales?: string | undefined;
|
|
66553
|
+
};
|
|
66554
|
+
};
|
|
66555
|
+
output: {};
|
|
66556
|
+
outputFormat: string;
|
|
66557
|
+
status: 400;
|
|
66558
|
+
};
|
|
66559
|
+
};
|
|
66560
|
+
}, "/oidc/logout"> & import("hono/types").MergeSchemaPath<{
|
|
66312
66561
|
"/": {
|
|
66313
66562
|
$get: {
|
|
66314
66563
|
input: {
|