Skip to content
This repository has been archived by the owner on Aug 1, 2022. It is now read-only.

Commit

Permalink
feat(auth):add DisableUserAsync (#113)
Browse files Browse the repository at this point in the history
  • Loading branch information
wuweilaiya authored Jul 21, 2022
1 parent 7a108f6 commit a48e632
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -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;
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -44,5 +44,7 @@ public interface IUserService
Task SaveUserSystemDataAsync<T>(string systemId, T data);

Task<T?> GetUserSystemDataAsync<T>(string systemId);

Task<bool> DisableUserAsync(DisableUserModel user);
}

0 comments on commit a48e632

Please sign in to comment.