authhero 0.76.0 → 0.78.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.
@@ -4509,7 +4509,7 @@ export interface CodesAdapter {
4509
4509
  export interface PasswordsAdapter {
4510
4510
  create: (tenant_id: string, params: PasswordInsert) => Promise<Password>;
4511
4511
  update: (tenant_id: string, params: PasswordInsert) => Promise<boolean>;
4512
- get: (tenant_id: string, user_id: string) => Promise<Password>;
4512
+ get: (tenant_id: string, user_id: string) => Promise<Password | null>;
4513
4513
  }
4514
4514
  export interface ListSesssionsResponse extends Totals {
4515
4515
  sessions: Session[];
@@ -5228,7 +5228,7 @@ export declare function init(config: AuthHeroConfig): {
5228
5228
  } & {
5229
5229
  json: {
5230
5230
  url: string;
5231
- trigger_id: "pre-user-signup" | "post-user-registration" | "post-user-login";
5231
+ trigger_id: "post-user-login" | "post-user-registration" | "pre-user-signup";
5232
5232
  enabled?: boolean | undefined;
5233
5233
  hook_id?: string | undefined;
5234
5234
  synchronous?: boolean | undefined;
@@ -5264,7 +5264,7 @@ export declare function init(config: AuthHeroConfig): {
5264
5264
  json: {
5265
5265
  enabled?: boolean | undefined;
5266
5266
  url?: string | undefined;
5267
- trigger_id?: "pre-user-signup" | "post-user-registration" | "post-user-login" | undefined;
5267
+ trigger_id?: "post-user-login" | "post-user-registration" | "pre-user-signup" | undefined;
5268
5268
  synchronous?: boolean | undefined;
5269
5269
  priority?: number | undefined;
5270
5270
  };
@@ -5285,7 +5285,7 @@ export declare function init(config: AuthHeroConfig): {
5285
5285
  json: {
5286
5286
  enabled?: boolean | undefined;
5287
5287
  url?: string | undefined;
5288
- trigger_id?: "pre-user-signup" | "post-user-registration" | "post-user-login" | undefined;
5288
+ trigger_id?: "post-user-login" | "post-user-registration" | "pre-user-signup" | undefined;
5289
5289
  synchronous?: boolean | undefined;
5290
5290
  priority?: number | undefined;
5291
5291
  };
@@ -6221,8 +6221,8 @@ export declare function init(config: AuthHeroConfig): {
6221
6221
  profileData?: string | undefined;
6222
6222
  app_metadata?: any;
6223
6223
  user_metadata?: any;
6224
- provider?: string | undefined;
6225
6224
  email_verified?: boolean | undefined;
6225
+ provider?: string | undefined;
6226
6226
  is_social?: boolean | undefined;
6227
6227
  };
6228
6228
  };
@@ -6306,8 +6306,8 @@ export declare function init(config: AuthHeroConfig): {
6306
6306
  profileData?: string | undefined;
6307
6307
  app_metadata?: any;
6308
6308
  user_metadata?: any;
6309
- provider?: string | undefined;
6310
6309
  email_verified?: boolean | undefined;
6310
+ provider?: string | undefined;
6311
6311
  is_social?: boolean | undefined;
6312
6312
  };
6313
6313
  };
@@ -6874,8 +6874,8 @@ export declare function init(config: AuthHeroConfig): {
6874
6874
  response_type?: AuthorizationResponseType | undefined;
6875
6875
  audience?: string | undefined;
6876
6876
  scope?: string | undefined;
6877
- auth0Client?: string | undefined;
6878
6877
  login_ticket?: string | undefined;
6878
+ auth0Client?: string | undefined;
6879
6879
  code_challenge_method?: CodeChallengeMethod | undefined;
6880
6880
  code_challenge?: string | undefined;
6881
6881
  vendor_id?: string | undefined;
@@ -6901,8 +6901,8 @@ export declare function init(config: AuthHeroConfig): {
6901
6901
  response_type?: AuthorizationResponseType | undefined;
6902
6902
  audience?: string | undefined;
6903
6903
  scope?: string | undefined;
6904
- auth0Client?: string | undefined;
6905
6904
  login_ticket?: string | undefined;
6905
+ auth0Client?: string | undefined;
6906
6906
  code_challenge_method?: CodeChallengeMethod | undefined;
6907
6907
  code_challenge?: string | undefined;
6908
6908
  vendor_id?: string | undefined;
@@ -6957,8 +6957,8 @@ export declare function init(config: AuthHeroConfig): {
6957
6957
  username?: string | undefined;
6958
6958
  response_type?: AuthorizationResponseType | undefined;
6959
6959
  audience?: string | undefined;
6960
- scope?: string | undefined;
6961
6960
  state?: string | undefined;
6961
+ scope?: string | undefined;
6962
6962
  redirect_uri?: string | undefined;
6963
6963
  code_challenge_method?: CodeChallengeMethod | undefined;
6964
6964
  code_challenge?: string | undefined;
@@ -6984,8 +6984,8 @@ export declare function init(config: AuthHeroConfig): {
6984
6984
  client_id: string;
6985
6985
  connection: string;
6986
6986
  response_type: AuthorizationResponseType;
6987
- scope: string;
6988
6987
  state: string;
6988
+ scope: string;
6989
6989
  redirect_uri: string;
6990
6990
  verification_code: string;
6991
6991
  nonce?: string | undefined;