authhero 0.51.0 → 0.53.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.
@@ -2953,7 +2953,7 @@ export declare enum GrantType {
2953
2953
  Passwordless = "passwordless",
2954
2954
  Password = "password"
2955
2955
  }
2956
- declare const tokenResponseSchema: z.ZodObject<{
2956
+ export declare const tokenResponseSchema: z.ZodObject<{
2957
2957
  access_token: z.ZodString;
2958
2958
  id_token: z.ZodOptional<z.ZodString>;
2959
2959
  scope: z.ZodOptional<z.ZodString>;
@@ -6536,6 +6536,11 @@ export declare function init(config: AuthHeroConfig): {
6536
6536
  client_id?: string | undefined;
6537
6537
  client_secret?: string | undefined;
6538
6538
  redirect_uri?: string | undefined;
6539
+ } | {
6540
+ client_id: string;
6541
+ refresh_token: string;
6542
+ grant_type: "refresh_token";
6543
+ redirect_uri?: string | undefined;
6539
6544
  };
6540
6545
  };
6541
6546
  output: {
@@ -6543,6 +6548,8 @@ export declare function init(config: AuthHeroConfig): {
6543
6548
  token_type: string;
6544
6549
  expires_in: number;
6545
6550
  refresh_token?: string | undefined;
6551
+ state?: string | undefined;
6552
+ scope?: string | undefined;
6546
6553
  id_token?: string | undefined;
6547
6554
  };
6548
6555
  outputFormat: "json" | "text";