From 8e5c93fb044210e46d7085c29c568338b8364fb6 Mon Sep 17 00:00:00 2001 From: Umberto Furno Date: Thu, 14 Nov 2019 15:48:57 +0100 Subject: [PATCH] Add LoginToken --- .../java/wekan/wrapper/entity/LoginToken.java | 35 +++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 wrapper/src/main/java/wekan/wrapper/entity/LoginToken.java diff --git a/wrapper/src/main/java/wekan/wrapper/entity/LoginToken.java b/wrapper/src/main/java/wekan/wrapper/entity/LoginToken.java new file mode 100644 index 0000000..495a8d1 --- /dev/null +++ b/wrapper/src/main/java/wekan/wrapper/entity/LoginToken.java @@ -0,0 +1,35 @@ +package wekan.wrapper.entity; + +/** + * contains the hash code of the access token and the date of that access + */ + +public class LoginToken { + + public String getWhen() { + return when; + } + + public void setWhen(String when) { + this.when = when; + } + + public String getHashedToken() { + return hashedToken; + } + + public void setHashedToken(String hashedToken) { + this.hashedToken = hashedToken; + } + + @Override + public String toString() { + return "LoginToken{" + + "when='" + when + '\'' + + ", hashedToken='" + hashedToken + '\'' + + '}'; + } + + private String when; + private String hashedToken; +}