Cell API
    Preparing search index...

    Interface UserService<R, U>

    interface UserService<R, U extends User> {
        load(userRequest: R): Promise<U>;
        updatePassword?(user: U, encodedPassword: string): Promise<void>;
    }

    Type Parameters

    Implemented by

    Index
    • Stores a new password hash of user. Optional: when a service has it, a login whose stored hash PasswordEncoder.needsUpgrade() saves the hash in the current format.

      Parameters

      • user: U
      • encodedPassword: string

      Returns Promise<void>