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; +}