Hierarchy

  • User

Constructors

Properties

accepted_terms_and_conditions: boolean
connected_services: [ConnectedServices]
email: string
password: string
password_reset_code: null | number
receive_marketing_emails: boolean
role: "user" | "admin"
username: string
verification_code: number
verified: boolean

Methods

  • Check if the password is correct or not

    Parameters

    • password: string

      password to compare with the user password

    Returns Promise<boolean>

Generated using TypeDoc