authhero 4.107.0 → 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.
@@ -43168,8 +43168,10 @@ export declare const openIDConfigurationSchema: z.ZodObject<{
43168
43168
  jwks_uri: z.ZodString;
43169
43169
  registration_endpoint: z.ZodOptional<z.ZodString>;
43170
43170
  revocation_endpoint: z.ZodString;
43171
+ end_session_endpoint: z.ZodOptional<z.ZodString>;
43171
43172
  scopes_supported: z.ZodArray<z.ZodString, "many">;
43172
43173
  response_types_supported: z.ZodArray<z.ZodString, "many">;
43174
+ grant_types_supported: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
43173
43175
  code_challenge_methods_supported: z.ZodArray<z.ZodString, "many">;
43174
43176
  response_modes_supported: z.ZodArray<z.ZodString, "many">;
43175
43177
  subject_types_supported: z.ZodArray<z.ZodString, "many">;
@@ -43200,6 +43202,8 @@ export declare const openIDConfigurationSchema: z.ZodObject<{
43200
43202
  request_parameter_supported: boolean;
43201
43203
  token_endpoint_auth_signing_alg_values_supported: string[];
43202
43204
  registration_endpoint?: string | undefined;
43205
+ end_session_endpoint?: string | undefined;
43206
+ grant_types_supported?: string[] | undefined;
43203
43207
  }, {
43204
43208
  authorization_endpoint: string;
43205
43209
  token_endpoint: string;
@@ -43221,6 +43225,8 @@ export declare const openIDConfigurationSchema: z.ZodObject<{
43221
43225
  request_parameter_supported: boolean;
43222
43226
  token_endpoint_auth_signing_alg_values_supported: string[];
43223
43227
  registration_endpoint?: string | undefined;
43228
+ end_session_endpoint?: string | undefined;
43229
+ grant_types_supported?: string[] | undefined;
43224
43230
  }>;
43225
43231
  export interface ListParams {
43226
43232
  page?: number;
@@ -65562,10 +65568,10 @@ export declare function init(config: AuthHeroConfig): {
65562
65568
  login_ticket?: string | undefined;
65563
65569
  screen_hint?: string | undefined;
65564
65570
  redirect_uri?: string | undefined;
65571
+ ui_locales?: string | undefined;
65565
65572
  code_challenge?: string | undefined;
65566
- code_challenge_method?: CodeChallengeMethod | undefined;
65567
65573
  realm?: string | undefined;
65568
- ui_locales?: string | undefined;
65574
+ code_challenge_method?: CodeChallengeMethod | undefined;
65569
65575
  max_age?: string | undefined;
65570
65576
  acr_values?: string | undefined;
65571
65577
  vendor_id?: string | undefined;
@@ -65594,10 +65600,10 @@ export declare function init(config: AuthHeroConfig): {
65594
65600
  login_ticket?: string | undefined;
65595
65601
  screen_hint?: string | undefined;
65596
65602
  redirect_uri?: string | undefined;
65603
+ ui_locales?: string | undefined;
65597
65604
  code_challenge?: string | undefined;
65598
- code_challenge_method?: CodeChallengeMethod | undefined;
65599
65605
  realm?: string | undefined;
65600
- ui_locales?: string | undefined;
65606
+ code_challenge_method?: CodeChallengeMethod | undefined;
65601
65607
  max_age?: string | undefined;
65602
65608
  acr_values?: string | undefined;
65603
65609
  vendor_id?: string | undefined;
@@ -65626,10 +65632,10 @@ export declare function init(config: AuthHeroConfig): {
65626
65632
  login_ticket?: string | undefined;
65627
65633
  screen_hint?: string | undefined;
65628
65634
  redirect_uri?: string | undefined;
65635
+ ui_locales?: string | undefined;
65629
65636
  code_challenge?: string | undefined;
65630
- code_challenge_method?: CodeChallengeMethod | undefined;
65631
65637
  realm?: string | undefined;
65632
- ui_locales?: string | undefined;
65638
+ code_challenge_method?: CodeChallengeMethod | undefined;
65633
65639
  max_age?: string | undefined;
65634
65640
  acr_values?: string | undefined;
65635
65641
  vendor_id?: string | undefined;
@@ -65666,10 +65672,10 @@ export declare function init(config: AuthHeroConfig): {
65666
65672
  login_ticket?: string | undefined;
65667
65673
  screen_hint?: string | undefined;
65668
65674
  redirect_uri?: string | undefined;
65675
+ ui_locales?: string | undefined;
65669
65676
  code_challenge?: string | undefined;
65670
- code_challenge_method?: CodeChallengeMethod | undefined;
65671
65677
  realm?: string | undefined;
65672
- ui_locales?: string | undefined;
65678
+ code_challenge_method?: CodeChallengeMethod | undefined;
65673
65679
  max_age?: string | undefined;
65674
65680
  acr_values?: string | undefined;
65675
65681
  vendor_id?: string | undefined;
@@ -65700,10 +65706,10 @@ export declare function init(config: AuthHeroConfig): {
65700
65706
  login_ticket?: string | undefined;
65701
65707
  screen_hint?: string | undefined;
65702
65708
  redirect_uri?: string | undefined;
65709
+ ui_locales?: string | undefined;
65703
65710
  code_challenge?: string | undefined;
65704
- code_challenge_method?: CodeChallengeMethod | undefined;
65705
65711
  realm?: string | undefined;
65706
- ui_locales?: string | undefined;
65712
+ code_challenge_method?: CodeChallengeMethod | undefined;
65707
65713
  max_age?: string | undefined;
65708
65714
  acr_values?: string | undefined;
65709
65715
  vendor_id?: string | undefined;
@@ -65807,10 +65813,10 @@ export declare function init(config: AuthHeroConfig): {
65807
65813
  prompt?: string | undefined;
65808
65814
  state?: string | undefined;
65809
65815
  redirect_uri?: string | undefined;
65816
+ ui_locales?: string | undefined;
65810
65817
  code_challenge?: string | undefined;
65811
65818
  code_challenge_method?: CodeChallengeMethod | undefined;
65812
65819
  act_as?: string | undefined;
65813
- ui_locales?: string | undefined;
65814
65820
  max_age?: number | undefined;
65815
65821
  acr_values?: string | undefined;
65816
65822
  vendor_id?: string | undefined;
@@ -65831,10 +65837,10 @@ export declare function init(config: AuthHeroConfig): {
65831
65837
  prompt?: string | undefined;
65832
65838
  state?: string | undefined;
65833
65839
  redirect_uri?: string | undefined;
65840
+ ui_locales?: string | undefined;
65834
65841
  code_challenge?: string | undefined;
65835
65842
  code_challenge_method?: CodeChallengeMethod | undefined;
65836
65843
  act_as?: string | undefined;
65837
- ui_locales?: string | undefined;
65838
65844
  max_age?: number | undefined;
65839
65845
  acr_values?: string | undefined;
65840
65846
  vendor_id?: string | undefined;
@@ -65949,6 +65955,73 @@ export declare function init(config: AuthHeroConfig): {
65949
65955
  };
65950
65956
  };
65951
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<{
65952
66025
  "/": {
65953
66026
  $post: {
65954
66027
  input: {
@@ -65959,13 +66032,6 @@ export declare function init(config: AuthHeroConfig): {
65959
66032
  scope?: string | undefined;
65960
66033
  audience?: string | undefined;
65961
66034
  organization?: string | undefined;
65962
- } | {
65963
- code: string;
65964
- client_id: string;
65965
- grant_type: "authorization_code";
65966
- redirect_uri: string;
65967
- code_verifier: string;
65968
- organization?: string | undefined;
65969
66035
  } | {
65970
66036
  code: string;
65971
66037
  grant_type: "authorization_code";
@@ -65973,6 +66039,7 @@ export declare function init(config: AuthHeroConfig): {
65973
66039
  client_secret?: string | undefined;
65974
66040
  organization?: string | undefined;
65975
66041
  redirect_uri?: string | undefined;
66042
+ code_verifier?: string | undefined;
65976
66043
  } | {
65977
66044
  refresh_token: string;
65978
66045
  grant_type: "refresh_token";
@@ -65995,13 +66062,6 @@ export declare function init(config: AuthHeroConfig): {
65995
66062
  scope?: string | undefined;
65996
66063
  audience?: string | undefined;
65997
66064
  organization?: string | undefined;
65998
- } | {
65999
- code: string;
66000
- client_id: string;
66001
- grant_type: "authorization_code";
66002
- redirect_uri: string;
66003
- code_verifier: string;
66004
- organization?: string | undefined;
66005
66065
  } | {
66006
66066
  code: string;
66007
66067
  grant_type: "authorization_code";
@@ -66009,6 +66069,7 @@ export declare function init(config: AuthHeroConfig): {
66009
66069
  client_secret?: string | undefined;
66010
66070
  organization?: string | undefined;
66011
66071
  redirect_uri?: string | undefined;
66072
+ code_verifier?: string | undefined;
66012
66073
  } | {
66013
66074
  refresh_token: string;
66014
66075
  grant_type: "refresh_token";
@@ -66036,13 +66097,6 @@ export declare function init(config: AuthHeroConfig): {
66036
66097
  scope?: string | undefined;
66037
66098
  audience?: string | undefined;
66038
66099
  organization?: string | undefined;
66039
- } | {
66040
- code: string;
66041
- client_id: string;
66042
- grant_type: "authorization_code";
66043
- redirect_uri: string;
66044
- code_verifier: string;
66045
- organization?: string | undefined;
66046
66100
  } | {
66047
66101
  code: string;
66048
66102
  grant_type: "authorization_code";
@@ -66050,6 +66104,7 @@ export declare function init(config: AuthHeroConfig): {
66050
66104
  client_secret?: string | undefined;
66051
66105
  organization?: string | undefined;
66052
66106
  redirect_uri?: string | undefined;
66107
+ code_verifier?: string | undefined;
66053
66108
  } | {
66054
66109
  refresh_token: string;
66055
66110
  grant_type: "refresh_token";
@@ -66072,13 +66127,6 @@ export declare function init(config: AuthHeroConfig): {
66072
66127
  scope?: string | undefined;
66073
66128
  audience?: string | undefined;
66074
66129
  organization?: string | undefined;
66075
- } | {
66076
- code: string;
66077
- client_id: string;
66078
- grant_type: "authorization_code";
66079
- redirect_uri: string;
66080
- code_verifier: string;
66081
- organization?: string | undefined;
66082
66130
  } | {
66083
66131
  code: string;
66084
66132
  grant_type: "authorization_code";
@@ -66086,6 +66134,7 @@ export declare function init(config: AuthHeroConfig): {
66086
66134
  client_secret?: string | undefined;
66087
66135
  organization?: string | undefined;
66088
66136
  redirect_uri?: string | undefined;
66137
+ code_verifier?: string | undefined;
66089
66138
  } | {
66090
66139
  refresh_token: string;
66091
66140
  grant_type: "refresh_token";
@@ -66121,13 +66170,6 @@ export declare function init(config: AuthHeroConfig): {
66121
66170
  scope?: string | undefined;
66122
66171
  audience?: string | undefined;
66123
66172
  organization?: string | undefined;
66124
- } | {
66125
- code: string;
66126
- client_id: string;
66127
- grant_type: "authorization_code";
66128
- redirect_uri: string;
66129
- code_verifier: string;
66130
- organization?: string | undefined;
66131
66173
  } | {
66132
66174
  code: string;
66133
66175
  grant_type: "authorization_code";
@@ -66135,6 +66177,7 @@ export declare function init(config: AuthHeroConfig): {
66135
66177
  client_secret?: string | undefined;
66136
66178
  organization?: string | undefined;
66137
66179
  redirect_uri?: string | undefined;
66180
+ code_verifier?: string | undefined;
66138
66181
  } | {
66139
66182
  refresh_token: string;
66140
66183
  grant_type: "refresh_token";
@@ -66157,13 +66200,6 @@ export declare function init(config: AuthHeroConfig): {
66157
66200
  scope?: string | undefined;
66158
66201
  audience?: string | undefined;
66159
66202
  organization?: string | undefined;
66160
- } | {
66161
- code: string;
66162
- client_id: string;
66163
- grant_type: "authorization_code";
66164
- redirect_uri: string;
66165
- code_verifier: string;
66166
- organization?: string | undefined;
66167
66203
  } | {
66168
66204
  code: string;
66169
66205
  grant_type: "authorization_code";
@@ -66171,6 +66207,7 @@ export declare function init(config: AuthHeroConfig): {
66171
66207
  client_secret?: string | undefined;
66172
66208
  organization?: string | undefined;
66173
66209
  redirect_uri?: string | undefined;
66210
+ code_verifier?: string | undefined;
66174
66211
  } | {
66175
66212
  refresh_token: string;
66176
66213
  grant_type: "refresh_token";
@@ -66201,13 +66238,6 @@ export declare function init(config: AuthHeroConfig): {
66201
66238
  scope?: string | undefined;
66202
66239
  audience?: string | undefined;
66203
66240
  organization?: string | undefined;
66204
- } | {
66205
- code: string;
66206
- client_id: string;
66207
- grant_type: "authorization_code";
66208
- redirect_uri: string;
66209
- code_verifier: string;
66210
- organization?: string | undefined;
66211
66241
  } | {
66212
66242
  code: string;
66213
66243
  grant_type: "authorization_code";
@@ -66215,6 +66245,7 @@ export declare function init(config: AuthHeroConfig): {
66215
66245
  client_secret?: string | undefined;
66216
66246
  organization?: string | undefined;
66217
66247
  redirect_uri?: string | undefined;
66248
+ code_verifier?: string | undefined;
66218
66249
  } | {
66219
66250
  refresh_token: string;
66220
66251
  grant_type: "refresh_token";
@@ -66237,13 +66268,6 @@ export declare function init(config: AuthHeroConfig): {
66237
66268
  scope?: string | undefined;
66238
66269
  audience?: string | undefined;
66239
66270
  organization?: string | undefined;
66240
- } | {
66241
- code: string;
66242
- client_id: string;
66243
- grant_type: "authorization_code";
66244
- redirect_uri: string;
66245
- code_verifier: string;
66246
- organization?: string | undefined;
66247
66271
  } | {
66248
66272
  code: string;
66249
66273
  grant_type: "authorization_code";
@@ -66251,6 +66275,7 @@ export declare function init(config: AuthHeroConfig): {
66251
66275
  client_secret?: string | undefined;
66252
66276
  organization?: string | undefined;
66253
66277
  redirect_uri?: string | undefined;
66278
+ code_verifier?: string | undefined;
66254
66279
  } | {
66255
66280
  refresh_token: string;
66256
66281
  grant_type: "refresh_token";
@@ -66281,13 +66306,6 @@ export declare function init(config: AuthHeroConfig): {
66281
66306
  scope?: string | undefined;
66282
66307
  audience?: string | undefined;
66283
66308
  organization?: string | undefined;
66284
- } | {
66285
- code: string;
66286
- client_id: string;
66287
- grant_type: "authorization_code";
66288
- redirect_uri: string;
66289
- code_verifier: string;
66290
- organization?: string | undefined;
66291
66309
  } | {
66292
66310
  code: string;
66293
66311
  grant_type: "authorization_code";
@@ -66295,6 +66313,7 @@ export declare function init(config: AuthHeroConfig): {
66295
66313
  client_secret?: string | undefined;
66296
66314
  organization?: string | undefined;
66297
66315
  redirect_uri?: string | undefined;
66316
+ code_verifier?: string | undefined;
66298
66317
  } | {
66299
66318
  refresh_token: string;
66300
66319
  grant_type: "refresh_token";
@@ -66317,13 +66336,6 @@ export declare function init(config: AuthHeroConfig): {
66317
66336
  scope?: string | undefined;
66318
66337
  audience?: string | undefined;
66319
66338
  organization?: string | undefined;
66320
- } | {
66321
- code: string;
66322
- client_id: string;
66323
- grant_type: "authorization_code";
66324
- redirect_uri: string;
66325
- code_verifier: string;
66326
- organization?: string | undefined;
66327
66339
  } | {
66328
66340
  code: string;
66329
66341
  grant_type: "authorization_code";
@@ -66331,6 +66343,7 @@ export declare function init(config: AuthHeroConfig): {
66331
66343
  client_secret?: string | undefined;
66332
66344
  organization?: string | undefined;
66333
66345
  redirect_uri?: string | undefined;
66346
+ code_verifier?: string | undefined;
66334
66347
  } | {
66335
66348
  refresh_token: string;
66336
66349
  grant_type: "refresh_token";
@@ -66399,6 +66412,8 @@ export declare function init(config: AuthHeroConfig): {
66399
66412
  request_parameter_supported: boolean;
66400
66413
  token_endpoint_auth_signing_alg_values_supported: string[];
66401
66414
  registration_endpoint?: string | undefined | undefined;
66415
+ end_session_endpoint?: string | undefined | undefined;
66416
+ grant_types_supported?: string[] | undefined | undefined;
66402
66417
  };
66403
66418
  outputFormat: "json";
66404
66419
  status: 200;
@@ -66497,6 +66512,52 @@ export declare function init(config: AuthHeroConfig): {
66497
66512
  };
66498
66513
  };
66499
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<{
66500
66561
  "/": {
66501
66562
  $get: {
66502
66563
  input: {