authhero 5.1.1 → 5.3.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.
@@ -12452,16 +12452,19 @@ export declare const connectionOptionsSchema: z.ZodObject<{
12452
12452
  userinfo_endpoint: z.ZodOptional<z.ZodString>;
12453
12453
  client_id: z.ZodOptional<z.ZodString>;
12454
12454
  client_secret: z.ZodOptional<z.ZodString>;
12455
+ realm: z.ZodOptional<z.ZodString>;
12455
12456
  }, "strip", z.ZodTypeAny, {
12456
12457
  client_id?: string | undefined;
12457
12458
  client_secret?: string | undefined;
12458
12459
  token_endpoint?: string | undefined;
12459
12460
  userinfo_endpoint?: string | undefined;
12461
+ realm?: string | undefined;
12460
12462
  }, {
12461
12463
  client_id?: string | undefined;
12462
12464
  client_secret?: string | undefined;
12463
12465
  token_endpoint?: string | undefined;
12464
12466
  userinfo_endpoint?: string | undefined;
12467
+ realm?: string | undefined;
12465
12468
  }>>;
12466
12469
  attributes: z.ZodOptional<z.ZodObject<{
12467
12470
  email: z.ZodOptional<z.ZodObject<{
@@ -12871,6 +12874,7 @@ export declare const connectionOptionsSchema: z.ZodObject<{
12871
12874
  client_secret?: string | undefined;
12872
12875
  token_endpoint?: string | undefined;
12873
12876
  userinfo_endpoint?: string | undefined;
12877
+ realm?: string | undefined;
12874
12878
  } | undefined;
12875
12879
  attributes?: {
12876
12880
  email?: {
@@ -12983,6 +12987,7 @@ export declare const connectionOptionsSchema: z.ZodObject<{
12983
12987
  client_secret?: string | undefined;
12984
12988
  token_endpoint?: string | undefined;
12985
12989
  userinfo_endpoint?: string | undefined;
12990
+ realm?: string | undefined;
12986
12991
  } | undefined;
12987
12992
  attributes?: {
12988
12993
  email?: {
@@ -13124,16 +13129,19 @@ export declare const connectionInsertSchema: z.ZodObject<{
13124
13129
  userinfo_endpoint: z.ZodOptional<z.ZodString>;
13125
13130
  client_id: z.ZodOptional<z.ZodString>;
13126
13131
  client_secret: z.ZodOptional<z.ZodString>;
13132
+ realm: z.ZodOptional<z.ZodString>;
13127
13133
  }, "strip", z.ZodTypeAny, {
13128
13134
  client_id?: string | undefined;
13129
13135
  client_secret?: string | undefined;
13130
13136
  token_endpoint?: string | undefined;
13131
13137
  userinfo_endpoint?: string | undefined;
13138
+ realm?: string | undefined;
13132
13139
  }, {
13133
13140
  client_id?: string | undefined;
13134
13141
  client_secret?: string | undefined;
13135
13142
  token_endpoint?: string | undefined;
13136
13143
  userinfo_endpoint?: string | undefined;
13144
+ realm?: string | undefined;
13137
13145
  }>>;
13138
13146
  attributes: z.ZodOptional<z.ZodObject<{
13139
13147
  email: z.ZodOptional<z.ZodObject<{
@@ -13543,6 +13551,7 @@ export declare const connectionInsertSchema: z.ZodObject<{
13543
13551
  client_secret?: string | undefined;
13544
13552
  token_endpoint?: string | undefined;
13545
13553
  userinfo_endpoint?: string | undefined;
13554
+ realm?: string | undefined;
13546
13555
  } | undefined;
13547
13556
  attributes?: {
13548
13557
  email?: {
@@ -13655,6 +13664,7 @@ export declare const connectionInsertSchema: z.ZodObject<{
13655
13664
  client_secret?: string | undefined;
13656
13665
  token_endpoint?: string | undefined;
13657
13666
  userinfo_endpoint?: string | undefined;
13667
+ realm?: string | undefined;
13658
13668
  } | undefined;
13659
13669
  attributes?: {
13660
13670
  email?: {
@@ -13767,6 +13777,7 @@ export declare const connectionInsertSchema: z.ZodObject<{
13767
13777
  client_secret?: string | undefined;
13768
13778
  token_endpoint?: string | undefined;
13769
13779
  userinfo_endpoint?: string | undefined;
13780
+ realm?: string | undefined;
13770
13781
  } | undefined;
13771
13782
  attributes?: {
13772
13783
  email?: {
@@ -13888,6 +13899,7 @@ export declare const connectionInsertSchema: z.ZodObject<{
13888
13899
  client_secret?: string | undefined;
13889
13900
  token_endpoint?: string | undefined;
13890
13901
  userinfo_endpoint?: string | undefined;
13902
+ realm?: string | undefined;
13891
13903
  } | undefined;
13892
13904
  attributes?: {
13893
13905
  email?: {
@@ -14058,16 +14070,19 @@ export declare const connectionSchema: z.ZodObject<{
14058
14070
  userinfo_endpoint: z.ZodOptional<z.ZodString>;
14059
14071
  client_id: z.ZodOptional<z.ZodString>;
14060
14072
  client_secret: z.ZodOptional<z.ZodString>;
14073
+ realm: z.ZodOptional<z.ZodString>;
14061
14074
  }, "strip", z.ZodTypeAny, {
14062
14075
  client_id?: string | undefined;
14063
14076
  client_secret?: string | undefined;
14064
14077
  token_endpoint?: string | undefined;
14065
14078
  userinfo_endpoint?: string | undefined;
14079
+ realm?: string | undefined;
14066
14080
  }, {
14067
14081
  client_id?: string | undefined;
14068
14082
  client_secret?: string | undefined;
14069
14083
  token_endpoint?: string | undefined;
14070
14084
  userinfo_endpoint?: string | undefined;
14085
+ realm?: string | undefined;
14071
14086
  }>>;
14072
14087
  attributes: z.ZodOptional<z.ZodObject<{
14073
14088
  email: z.ZodOptional<z.ZodObject<{
@@ -14477,6 +14492,7 @@ export declare const connectionSchema: z.ZodObject<{
14477
14492
  client_secret?: string | undefined;
14478
14493
  token_endpoint?: string | undefined;
14479
14494
  userinfo_endpoint?: string | undefined;
14495
+ realm?: string | undefined;
14480
14496
  } | undefined;
14481
14497
  attributes?: {
14482
14498
  email?: {
@@ -14589,6 +14605,7 @@ export declare const connectionSchema: z.ZodObject<{
14589
14605
  client_secret?: string | undefined;
14590
14606
  token_endpoint?: string | undefined;
14591
14607
  userinfo_endpoint?: string | undefined;
14608
+ realm?: string | undefined;
14592
14609
  } | undefined;
14593
14610
  attributes?: {
14594
14611
  email?: {
@@ -14701,6 +14718,7 @@ export declare const connectionSchema: z.ZodObject<{
14701
14718
  client_secret?: string | undefined;
14702
14719
  token_endpoint?: string | undefined;
14703
14720
  userinfo_endpoint?: string | undefined;
14721
+ realm?: string | undefined;
14704
14722
  } | undefined;
14705
14723
  attributes?: {
14706
14724
  email?: {
@@ -14824,6 +14842,7 @@ export declare const connectionSchema: z.ZodObject<{
14824
14842
  client_secret?: string | undefined;
14825
14843
  token_endpoint?: string | undefined;
14826
14844
  userinfo_endpoint?: string | undefined;
14845
+ realm?: string | undefined;
14827
14846
  } | undefined;
14828
14847
  attributes?: {
14829
14848
  email?: {
@@ -53704,16 +53723,19 @@ declare const enrichedClientSchema: z.ZodObject<{
53704
53723
  userinfo_endpoint: z.ZodOptional<z.ZodString>;
53705
53724
  client_id: z.ZodOptional<z.ZodString>;
53706
53725
  client_secret: z.ZodOptional<z.ZodString>;
53726
+ realm: z.ZodOptional<z.ZodString>;
53707
53727
  }, "strip", z.ZodTypeAny, {
53708
53728
  client_id?: string | undefined;
53709
53729
  client_secret?: string | undefined;
53710
53730
  token_endpoint?: string | undefined;
53711
53731
  userinfo_endpoint?: string | undefined;
53732
+ realm?: string | undefined;
53712
53733
  }, {
53713
53734
  client_id?: string | undefined;
53714
53735
  client_secret?: string | undefined;
53715
53736
  token_endpoint?: string | undefined;
53716
53737
  userinfo_endpoint?: string | undefined;
53738
+ realm?: string | undefined;
53717
53739
  }>>;
53718
53740
  attributes: z.ZodOptional<z.ZodObject<{
53719
53741
  email: z.ZodOptional<z.ZodObject<{
@@ -54123,6 +54145,7 @@ declare const enrichedClientSchema: z.ZodObject<{
54123
54145
  client_secret?: string | undefined;
54124
54146
  token_endpoint?: string | undefined;
54125
54147
  userinfo_endpoint?: string | undefined;
54148
+ realm?: string | undefined;
54126
54149
  } | undefined;
54127
54150
  attributes?: {
54128
54151
  email?: {
@@ -54235,6 +54258,7 @@ declare const enrichedClientSchema: z.ZodObject<{
54235
54258
  client_secret?: string | undefined;
54236
54259
  token_endpoint?: string | undefined;
54237
54260
  userinfo_endpoint?: string | undefined;
54261
+ realm?: string | undefined;
54238
54262
  } | undefined;
54239
54263
  attributes?: {
54240
54264
  email?: {
@@ -54347,6 +54371,7 @@ declare const enrichedClientSchema: z.ZodObject<{
54347
54371
  client_secret?: string | undefined;
54348
54372
  token_endpoint?: string | undefined;
54349
54373
  userinfo_endpoint?: string | undefined;
54374
+ realm?: string | undefined;
54350
54375
  } | undefined;
54351
54376
  attributes?: {
54352
54377
  email?: {
@@ -54470,6 +54495,7 @@ declare const enrichedClientSchema: z.ZodObject<{
54470
54495
  client_secret?: string | undefined;
54471
54496
  token_endpoint?: string | undefined;
54472
54497
  userinfo_endpoint?: string | undefined;
54498
+ realm?: string | undefined;
54473
54499
  } | undefined;
54474
54500
  attributes?: {
54475
54501
  email?: {
@@ -54921,6 +54947,7 @@ declare const enrichedClientSchema: z.ZodObject<{
54921
54947
  client_secret?: string | undefined;
54922
54948
  token_endpoint?: string | undefined;
54923
54949
  userinfo_endpoint?: string | undefined;
54950
+ realm?: string | undefined;
54924
54951
  } | undefined;
54925
54952
  attributes?: {
54926
54953
  email?: {
@@ -56350,6 +56377,38 @@ export declare class MailgunEmailService implements EmailServiceAdapter {
56350
56377
  constructor(options?: MailgunEmailServiceOptions);
56351
56378
  send(params: EmailServiceSendParams): Promise<void>;
56352
56379
  }
56380
+ export declare const resendCredentialsSchema: z.ZodObject<{
56381
+ api_key: z.ZodString;
56382
+ }, "strip", z.ZodTypeAny, {
56383
+ api_key: string;
56384
+ }, {
56385
+ api_key: string;
56386
+ }>;
56387
+ export type ResendCredentials = z.infer<typeof resendCredentialsSchema>;
56388
+ export interface ResendEmailServiceOptions {
56389
+ fetchImpl?: typeof fetch;
56390
+ }
56391
+ export declare class ResendEmailService implements EmailServiceAdapter {
56392
+ private readonly options;
56393
+ constructor(options?: ResendEmailServiceOptions);
56394
+ send(params: EmailServiceSendParams): Promise<void>;
56395
+ }
56396
+ export declare const postmarkCredentialsSchema: z.ZodObject<{
56397
+ api_key: z.ZodString;
56398
+ }, "strip", z.ZodTypeAny, {
56399
+ api_key: string;
56400
+ }, {
56401
+ api_key: string;
56402
+ }>;
56403
+ export type PostmarkCredentials = z.infer<typeof postmarkCredentialsSchema>;
56404
+ export interface PostmarkEmailServiceOptions {
56405
+ fetchImpl?: typeof fetch;
56406
+ }
56407
+ export declare class PostmarkEmailService implements EmailServiceAdapter {
56408
+ private readonly options;
56409
+ constructor(options?: PostmarkEmailServiceOptions);
56410
+ send(params: EmailServiceSendParams): Promise<void>;
56411
+ }
56353
56412
  /**
56354
56413
  * Register a background promise tied to the current request.
56355
56414
  *
@@ -63569,6 +63628,7 @@ export declare function init(config: AuthHeroConfig): {
63569
63628
  client_secret?: string | undefined | undefined;
63570
63629
  token_endpoint?: string | undefined | undefined;
63571
63630
  userinfo_endpoint?: string | undefined | undefined;
63631
+ realm?: string | undefined | undefined;
63572
63632
  } | undefined;
63573
63633
  attributes?: {
63574
63634
  email?: {
@@ -63700,6 +63760,7 @@ export declare function init(config: AuthHeroConfig): {
63700
63760
  client_secret?: string | undefined | undefined;
63701
63761
  token_endpoint?: string | undefined | undefined;
63702
63762
  userinfo_endpoint?: string | undefined | undefined;
63763
+ realm?: string | undefined | undefined;
63703
63764
  } | undefined;
63704
63765
  attributes?: {
63705
63766
  email?: {
@@ -63850,6 +63911,7 @@ export declare function init(config: AuthHeroConfig): {
63850
63911
  client_secret?: string | undefined | undefined;
63851
63912
  token_endpoint?: string | undefined | undefined;
63852
63913
  userinfo_endpoint?: string | undefined | undefined;
63914
+ realm?: string | undefined | undefined;
63853
63915
  } | undefined;
63854
63916
  attributes?: {
63855
63917
  email?: {
@@ -64028,6 +64090,7 @@ export declare function init(config: AuthHeroConfig): {
64028
64090
  client_secret?: string | undefined | undefined;
64029
64091
  token_endpoint?: string | undefined | undefined;
64030
64092
  userinfo_endpoint?: string | undefined | undefined;
64093
+ realm?: string | undefined | undefined;
64031
64094
  } | undefined;
64032
64095
  attributes?: {
64033
64096
  email?: {
@@ -64185,6 +64248,7 @@ export declare function init(config: AuthHeroConfig): {
64185
64248
  client_secret?: string | undefined | undefined;
64186
64249
  token_endpoint?: string | undefined | undefined;
64187
64250
  userinfo_endpoint?: string | undefined | undefined;
64251
+ realm?: string | undefined | undefined;
64188
64252
  } | undefined;
64189
64253
  attributes?: {
64190
64254
  email?: {
@@ -66601,6 +66665,7 @@ export declare function init(config: AuthHeroConfig): {
66601
66665
  client_secret?: string | undefined | undefined;
66602
66666
  token_endpoint?: string | undefined | undefined;
66603
66667
  userinfo_endpoint?: string | undefined | undefined;
66668
+ realm?: string | undefined | undefined;
66604
66669
  } | undefined;
66605
66670
  attributes?: {
66606
66671
  email?: {
@@ -66754,6 +66819,7 @@ export declare function init(config: AuthHeroConfig): {
66754
66819
  client_secret?: string | undefined | undefined;
66755
66820
  token_endpoint?: string | undefined | undefined;
66756
66821
  userinfo_endpoint?: string | undefined | undefined;
66822
+ realm?: string | undefined | undefined;
66757
66823
  } | undefined;
66758
66824
  attributes?: {
66759
66825
  email?: {
@@ -70436,9 +70502,9 @@ export declare function init(config: AuthHeroConfig): {
70436
70502
  auth0Client?: string | undefined;
70437
70503
  login_ticket?: string | undefined;
70438
70504
  screen_hint?: string | undefined;
70505
+ realm?: string | undefined;
70439
70506
  ui_locales?: string | undefined;
70440
70507
  code_challenge?: string | undefined;
70441
- realm?: string | undefined;
70442
70508
  code_challenge_method?: CodeChallengeMethod | undefined;
70443
70509
  max_age?: string | undefined;
70444
70510
  acr_values?: string | undefined;
@@ -70470,9 +70536,9 @@ export declare function init(config: AuthHeroConfig): {
70470
70536
  auth0Client?: string | undefined;
70471
70537
  login_ticket?: string | undefined;
70472
70538
  screen_hint?: string | undefined;
70539
+ realm?: string | undefined;
70473
70540
  ui_locales?: string | undefined;
70474
70541
  code_challenge?: string | undefined;
70475
- realm?: string | undefined;
70476
70542
  code_challenge_method?: CodeChallengeMethod | undefined;
70477
70543
  max_age?: string | undefined;
70478
70544
  acr_values?: string | undefined;
@@ -70504,9 +70570,9 @@ export declare function init(config: AuthHeroConfig): {
70504
70570
  auth0Client?: string | undefined;
70505
70571
  login_ticket?: string | undefined;
70506
70572
  screen_hint?: string | undefined;
70573
+ realm?: string | undefined;
70507
70574
  ui_locales?: string | undefined;
70508
70575
  code_challenge?: string | undefined;
70509
- realm?: string | undefined;
70510
70576
  code_challenge_method?: CodeChallengeMethod | undefined;
70511
70577
  max_age?: string | undefined;
70512
70578
  acr_values?: string | undefined;
@@ -70546,9 +70612,9 @@ export declare function init(config: AuthHeroConfig): {
70546
70612
  auth0Client?: string | undefined;
70547
70613
  login_ticket?: string | undefined;
70548
70614
  screen_hint?: string | undefined;
70615
+ realm?: string | undefined;
70549
70616
  ui_locales?: string | undefined;
70550
70617
  code_challenge?: string | undefined;
70551
- realm?: string | undefined;
70552
70618
  code_challenge_method?: CodeChallengeMethod | undefined;
70553
70619
  max_age?: string | undefined;
70554
70620
  acr_values?: string | undefined;
@@ -70582,9 +70648,9 @@ export declare function init(config: AuthHeroConfig): {
70582
70648
  auth0Client?: string | undefined;
70583
70649
  login_ticket?: string | undefined;
70584
70650
  screen_hint?: string | undefined;
70651
+ realm?: string | undefined;
70585
70652
  ui_locales?: string | undefined;
70586
70653
  code_challenge?: string | undefined;
70587
- realm?: string | undefined;
70588
70654
  code_challenge_method?: CodeChallengeMethod | undefined;
70589
70655
  max_age?: string | undefined;
70590
70656
  acr_values?: string | undefined;
@@ -70654,15 +70720,15 @@ export declare function init(config: AuthHeroConfig): {
70654
70720
  client_id: string;
70655
70721
  username: string;
70656
70722
  otp: string;
70657
- credential_type: "http://auth0.com/oauth/grant-type/passwordless/otp";
70658
70723
  realm: "email";
70724
+ credential_type: "http://auth0.com/oauth/grant-type/passwordless/otp";
70659
70725
  scope?: string | undefined;
70660
70726
  } | {
70661
70727
  password: string;
70662
70728
  client_id: string;
70663
70729
  username: string;
70664
- credential_type: "http://auth0.com/oauth/grant-type/password-realm";
70665
70730
  realm: "Username-Password-Authentication";
70731
+ credential_type: "http://auth0.com/oauth/grant-type/password-realm";
70666
70732
  scope?: string | undefined;
70667
70733
  };
70668
70734
  };