// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System.Threading; using System.Threading.Tasks; namespace Microsoft.AspNet.Identity { /// /// Used to validate passwords /// public interface IPasswordValidator where TUser : class { /// /// Validate the item /// /// Task ValidateAsync(string password, UserManager manager, CancellationToken cancellationToken = default(CancellationToken)); } }