aboutsummaryrefslogtreecommitdiff
path: root/Timeline/Entities/User.cs
diff options
context:
space:
mode:
authorcrupest <crupest@outlook.com>2019-04-18 21:23:21 +0800
committercrupest <crupest@outlook.com>2019-04-18 21:23:21 +0800
commit325d4c7dbfba45e9c5a7518279831f54c4690d20 (patch)
tree5b5a3b8d524cfc5f81b5af98de83d5070df4b68c /Timeline/Entities/User.cs
parentae848e311b46a25ec1ed571432d55e800ac7595b (diff)
downloadtimeline-325d4c7dbfba45e9c5a7518279831f54c4690d20.tar.gz
timeline-325d4c7dbfba45e9c5a7518279831f54c4690d20.tar.bz2
timeline-325d4c7dbfba45e9c5a7518279831f54c4690d20.zip
Add user management REST api.
Diffstat (limited to 'Timeline/Entities/User.cs')
-rw-r--r--Timeline/Entities/User.cs15
1 files changed, 0 insertions, 15 deletions
diff --git a/Timeline/Entities/User.cs b/Timeline/Entities/User.cs
index b5664bb0..1b5a469d 100644
--- a/Timeline/Entities/User.cs
+++ b/Timeline/Entities/User.cs
@@ -23,19 +23,4 @@
public bool IsValid { get; set; }
public UserInfo UserInfo { get; set; }
}
-
- public class CreateUserRequest
- {
- public string Username { get; set; }
- public string Password { get; set; }
- public string[] Roles { get; set; }
- }
-
- public class CreateUserResponse
- {
- public const int SuccessCode = 0;
- public const int AlreadyExistsCode = 1;
-
- public int ReturnCode { get; set; }
- }
}