diff --git a/src/BasicAbility/Masa.BuildingBlocks.BasicAbility.Auth.Contracts/Model/DisableUserModel.cs b/src/BasicAbility/Masa.BuildingBlocks.BasicAbility.Auth.Contracts/Model/DisableUserModel.cs new file mode 100644 index 0000000..87fc89d --- /dev/null +++ b/src/BasicAbility/Masa.BuildingBlocks.BasicAbility.Auth.Contracts/Model/DisableUserModel.cs @@ -0,0 +1,14 @@ +// Copyright (c) MASA Stack All rights reserved. +// Licensed under the MIT License. See LICENSE.txt in the project root for license information. + +namespace Masa.BuildingBlocks.BasicAbility.Auth.Contracts.Model; + +public class DisableUserModel +{ + public string Account { get; set; } + + public DisableUserModel(string account) + { + Account = account; + } +} diff --git a/src/BasicAbility/Masa.BuildingBlocks.BasicAbility.Auth/Service/IUserService.cs b/src/BasicAbility/Masa.BuildingBlocks.BasicAbility.Auth/Service/IUserService.cs index ceb3603..c1944a9 100644 --- a/src/BasicAbility/Masa.BuildingBlocks.BasicAbility.Auth/Service/IUserService.cs +++ b/src/BasicAbility/Masa.BuildingBlocks.BasicAbility.Auth/Service/IUserService.cs @@ -44,5 +44,7 @@ public interface IUserService Task SaveUserSystemDataAsync(string systemId, T data); Task GetUserSystemDataAsync(string systemId); + + Task DisableUserAsync(DisableUserModel user); }