diff options
| author | Kamen Mladenov <kamen.d.mladenov@protonmail.com> | 2021-04-09 19:51:35 +0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-04-09 19:51:35 +0300 |
| commit | 233f38915ba0079079233eff55434ef349c05c45 (patch) | |
| tree | 6c5f69017865bcab87355e910c87339453da1406 /src/DevHive.Common/Models/Misc | |
| parent | f4a70c6430db923af9fa9958a11c2d6612cb52cc (diff) | |
| parent | a992357efcf1bc1ece81b95ecee5e05a0b73bfdc (diff) | |
| download | DevHive-main.tar DevHive-main.tar.gz DevHive-main.zip | |
Merge pull request #28 from Team-Kaleidoscope/devHEADv0.2mainheroku/main
Second stage: Complete
Diffstat (limited to 'src/DevHive.Common/Models/Misc')
| -rw-r--r-- | src/DevHive.Common/Models/Misc/IdModel.cs | 9 | ||||
| -rw-r--r-- | src/DevHive.Common/Models/Misc/PasswordModifications.cs | 13 | ||||
| -rw-r--r-- | src/DevHive.Common/Models/Misc/Patch.cs | 9 |
3 files changed, 0 insertions, 31 deletions
diff --git a/src/DevHive.Common/Models/Misc/IdModel.cs b/src/DevHive.Common/Models/Misc/IdModel.cs deleted file mode 100644 index a5c7b65..0000000 --- a/src/DevHive.Common/Models/Misc/IdModel.cs +++ /dev/null @@ -1,9 +0,0 @@ -using System; - -namespace DevHive.Common.Models.Misc -{ - public class IdModel - { - public Guid Id { get; set; } - } -}
\ No newline at end of file diff --git a/src/DevHive.Common/Models/Misc/PasswordModifications.cs b/src/DevHive.Common/Models/Misc/PasswordModifications.cs deleted file mode 100644 index f10a334..0000000 --- a/src/DevHive.Common/Models/Misc/PasswordModifications.cs +++ /dev/null @@ -1,13 +0,0 @@ -using System.Security.Cryptography; -using System.Text; - -namespace DevHive.Common.Models.Misc -{ - public static class PasswordModifications - { - public static string GeneratePasswordHash(string password) - { - return string.Join(string.Empty, SHA512.HashData(Encoding.ASCII.GetBytes(password))); - } - } -} diff --git a/src/DevHive.Common/Models/Misc/Patch.cs b/src/DevHive.Common/Models/Misc/Patch.cs deleted file mode 100644 index ea5a4f1..0000000 --- a/src/DevHive.Common/Models/Misc/Patch.cs +++ /dev/null @@ -1,9 +0,0 @@ -namespace DevHive.Common.Models.Misc -{ - public class Patch - { - public string Name { get; set; } - public object Value { get; set; } - public string Action { get; set; } - } -} |
