Options
All
  • Public
  • Public/Protected
  • All
Menu

Module identity/interaction/email-password/EmailPasswordUtil

Index

Functions

assertPassword

  • assertPassword(password: any, confirmPassword: any): asserts password is string

throwIdpInteractionError

  • throwIdpInteractionError(error: unknown, prefilled?: Record<string, string>): never
  • Throws an IdpInteractionError with contents depending on the type of input error. Default status code is 500 and default error message is 'Unknown Error'.

    Parameters

    • error: unknown

      Error to create an IdPInteractionError from.

    • prefilled: Record<string, string> = {}

      Prefilled data for IdpInteractionError.

    Returns never