-
-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
move Settings from domain to identity
- Loading branch information
1 parent
e06154a
commit 7562558
Showing
7 changed files
with
24 additions
and
28 deletions.
There are no files selected for viewing
12 changes: 0 additions & 12 deletions
12
Source/Src/Core/CleanArchitecture.Domain/Settings/IdentitySettings.cs
This file was deleted.
Oops, something went wrong.
12 changes: 0 additions & 12 deletions
12
Source/Src/Core/CleanArchitecture.Domain/Settings/JWTSettings.cs
This file was deleted.
Oops, something went wrong.
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
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
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
11 changes: 11 additions & 0 deletions
11
...Src/Infrastructure/CleanArchitecture.Infrastructure.Identity/Settings/IdentitySettings.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,11 @@ | ||
namespace CleanArchitecture.Infrastructure.Identity.Settings; | ||
|
||
public class IdentitySettings | ||
{ | ||
public bool PasswordRequireDigit { get; set; } | ||
public int PasswordRequiredLength { get; set; } | ||
public bool PasswordRequireNonAlphanumic { get; set; } | ||
public bool PasswordRequireUppercase { get; set; } | ||
public bool PasswordRequireLowercase { get; set; } | ||
public bool RequireUniqueEmail { get; set; } | ||
} |
11 changes: 11 additions & 0 deletions
11
Source/Src/Infrastructure/CleanArchitecture.Infrastructure.Identity/Settings/JWTSettings.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,11 @@ | ||
namespace CleanArchitecture.Infrastructure.Identity.Settings; | ||
|
||
#pragma warning disable | ||
public class JWTSettings | ||
{ | ||
public string Key { get; set; } | ||
public string Issuer { get; set; } | ||
public string Audience { get; set; } | ||
public double DurationInMinutes { get; set; } | ||
} | ||
#pragma warning disable |