using Bit.Core.Tools.Models.Data; using Duende.IdentityServer.Validation; namespace Bit.Identity.IdentityServer.RequestValidators.SendAccess; public interface ISendPasswordRequestValidator { /// /// Validates the send password hash against the client hashed password. /// If this method fails then it will automatically set the context.Result to an invalid grant result. /// /// request context /// resource password authentication method containing the hash of the Send being retrieved /// returns the result of the validation; A failed result will be an error a successful will contain the claims and a success GrantValidationResult ValidateSendPassword(ExtensionGrantValidationContext context, ResourcePassword resourcePassword, Guid sendId); }