/// <summary> /// Initializes a new instance of the <see cref="BCryptPasswordHasher{TUser}"/> class. /// </summary> /// <param name="options"></param> public BCryptPasswordHasher(IOptions <BCryptPasswordHasherOptions> options) { _options = options?.Value ?? new BCryptPasswordHasherOptions(); }
/// <summary> /// Initializes a new instance of the <see cref="BCryptPasswordHasher{TUser}"/> class. /// </summary> public BCryptPasswordHasher() { _options = new BCryptPasswordHasherOptions(); }