AuthenticationSettings | WebHare Platform SDK
WebHare Platform SDK
    Preparing search index...

    Class AuthenticationSettings

    Index

    Constructors

    Methods

    • Returns null | Instant

    • Returns number

    • Returns boolean

    • Returns boolean

    • Parameters

      • password: string
      • cutoff: Instant

      Returns Promise<boolean>

    • Returns string

    • Update the password in this setting

      Parameters

      • password: string

        The new password

      • Optionaloptions: { algorithm?: "PLAIN" | "WHBF"; inPlace?: boolean }

        Options for updating the password

        • Optionalalgorithm?: "PLAIN" | "WHBF"

          The hash algorithm to use. If not set, use best known method (may change in future versions)

        • OptionalinPlace?: boolean

          Update the last password in place (if it exists), otherwise add to the list. Used to upgrade passwords to a new algorithm without changing the password history and resetting the password age

      Returns Promise<void>

    • Parameters

      • password: string

      Returns Promise<boolean>