Skip to content

Commit

Permalink
reactor : Supports PasswordType And ThirdPartyUserClaimData (#710)
Browse files Browse the repository at this point in the history
  • Loading branch information
wzh425 authored Apr 7, 2024
1 parent dfc94fa commit 3a37a6d
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
// 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.StackSdks.Auth.Contracts.Enum;

public enum PasswordTypes
{
MD5 = 1,
HashPassword,
}
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,6 @@ public class AddThirdPartyUserModel
public string Scheme { get; set; }

public AddUserModel User { get; set; }

public Dictionary<string, string> ClaimData { get; set; } = new();
}
Original file line number Diff line number Diff line change
Expand Up @@ -28,5 +28,7 @@ public class AddUserModel
public string? Password { get; set; }

public GenderTypes Gender { get; set; }

public PasswordTypes PasswordType { get; set; } = PasswordTypes.MD5;
}

Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,6 @@ public class UpsertThirdPartyUserModel : UpsertUserModel
public object ExtendedData { get; set; }

public string Scheme { get; set; }

public Dictionary<string, string> ClaimData { get; set; } = new();
}

0 comments on commit 3a37a6d

Please sign in to comment.