Options
All
  • Public
  • Public/Protected
  • All
Menu

Contains dangerous management functions. Requires reauthentication before usage.

namespace

Index

Functions

  • changeEmail(oldEmail: string, password: string, newEmail: string, sendVerificationEmail?: boolean, callbackStateVariable?: Variable): void
  • Changes the users email. Use this when using basic auth.

    Parameters

    • oldEmail: string

      Old email for reauthentication.

    • password: string

      Old password for reauthentication.

    • newEmail: string

      New email for the user.

    • sendVerificationEmail: boolean = true
    • Optional callbackStateVariable: Variable

    Returns void

  • changeEmailProvider(newEmail: string, sendVerificationEmail: boolean, callbackStateVariable?: Variable): void
  • Changes the users email. Use this when using an external provider.

    Parameters

    • newEmail: string

      New email for the user.

    • sendVerificationEmail: boolean

      Send a verification email to the old address before changing the email?

    • Optional callbackStateVariable: Variable

    Returns void

  • changePassword(email: string, oldPassword: string, newPassword: string, callbackStateVariable?: Variable): void
  • Changes the users password. Use this when using basic auth.

    Parameters

    • email: string

      Old email for reauthentication.

    • oldPassword: string

      Old password for reauthentication.

    • newPassword: string

      New password for the user.

    • Optional callbackStateVariable: Variable

    Returns void

  • changePasswordProvider(newPassword: string, callbackStateVariable?: Variable): void
  • deleteUser(email: string, password: string, callbackStateVariable?: Variable): void
  • deleteUserProvider(callbackStateVariable?: Variable): void

Generated using TypeDoc