This repository has been archived by the owner on Aug 1, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(auth):auth sdk add updateUserPassword updateUserBaseInfo (#88)
* feat(auth):add updateUserPassword updateUserBaseInfo * refactor:refactor code * refactor:refactor code
- Loading branch information
1 parent
49374b7
commit ede3b87
Showing
3 changed files
with
37 additions
and
1 deletion.
There are no files selected for viewing
19 changes: 19 additions & 0 deletions
19
...Ability/Masa.BuildingBlocks.BasicAbility.Auth.Contracts/Model/UpdateUserBasicInfoModel.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
// 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 UpdateUserBasicInfoModel | ||
{ | ||
public Guid Id { get; set; } | ||
|
||
public string DisplayName { get; set; } = ""; | ||
|
||
public string Avatar { get; set; } = ""; | ||
|
||
public string PhoneNumber { get; set; } = ""; | ||
|
||
public string Email { get; set; } = ""; | ||
|
||
public GenderTypes Gender { get; set; } | ||
} |
13 changes: 13 additions & 0 deletions
13
...cAbility/Masa.BuildingBlocks.BasicAbility.Auth.Contracts/Model/UpdateUserPasswordModel.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
// 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 UpdateUserPasswordModel | ||
{ | ||
public Guid Id { get; set; } | ||
|
||
public string OldPassword { get; set; } = ""; | ||
|
||
public string NewPassword { get; set; } = ""; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters