aboutsummaryrefslogtreecommitdiff
path: root/Timeline/Entities/Token.cs
diff options
context:
space:
mode:
authorcrupest <crupest@outlook.com>2019-04-12 23:34:40 +0800
committercrupest <crupest@outlook.com>2019-04-12 23:34:40 +0800
commit1d184c3f41da806803c1ee792395eabcd155077d (patch)
tree0fa205ca1c58766101ae7f6c78be5ff2d77a0f28 /Timeline/Entities/Token.cs
parent19cae15eba2bcede41b818e1b8ab7fd5ac92eb05 (diff)
downloadtimeline-1d184c3f41da806803c1ee792395eabcd155077d.tar.gz
timeline-1d184c3f41da806803c1ee792395eabcd155077d.tar.bz2
timeline-1d184c3f41da806803c1ee792395eabcd155077d.zip
Add database connection.
Diffstat (limited to 'Timeline/Entities/Token.cs')
-rw-r--r--Timeline/Entities/Token.cs26
1 files changed, 0 insertions, 26 deletions
diff --git a/Timeline/Entities/Token.cs b/Timeline/Entities/Token.cs
deleted file mode 100644
index ce5b92ff..00000000
--- a/Timeline/Entities/Token.cs
+++ /dev/null
@@ -1,26 +0,0 @@
-namespace Timeline.Entities
-{
- public class CreateTokenRequest
- {
- public string Username { get; set; }
- public string Password { get; set; }
- }
-
- public class CreateTokenResponse
- {
- public bool Success { get; set; }
- public string Token { get; set; }
- public UserInfo UserInfo { get; set; }
- }
-
- public class TokenValidationRequest
- {
- public string Token { get; set; }
- }
-
- public class TokenValidationResponse
- {
- public bool IsValid { get; set; }
- public UserInfo UserInfo { get; set; }
- }
-}