diff options
author | 2016-12-26 14:54:53 +0300 | |
---|---|---|
committer | 2016-12-26 15:11:38 +0300 | |
commit | f7931604be50db929e90a9bbed194d2d7014fd98 (patch) | |
tree | 95be0c3b5c7099ae4ed3968feda35b15c4a4dd04 /juick-www/src/main/java/com/juick/www/vk/Token.java | |
parent | 75fb7fd203746aa24669e084ac4de5a30c36ff32 (diff) |
juick-www: add missing properties of vk Token object
Diffstat (limited to 'juick-www/src/main/java/com/juick/www/vk/Token.java')
-rw-r--r-- | juick-www/src/main/java/com/juick/www/vk/Token.java | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/juick-www/src/main/java/com/juick/www/vk/Token.java b/juick-www/src/main/java/com/juick/www/vk/Token.java index abeb7c96..88f98622 100644 --- a/juick-www/src/main/java/com/juick/www/vk/Token.java +++ b/juick-www/src/main/java/com/juick/www/vk/Token.java @@ -8,6 +8,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; public class Token { private Long userId; private String accessToken; + private String expiresIn; @JsonProperty("user_id") public Long getUserId() { @@ -26,4 +27,13 @@ public class Token { public void setAccessToken(String accessToken) { this.accessToken = accessToken; } + + @JsonProperty("expires_in") + public String getExpiresIn() { + return expiresIn; + } + + public void setExpiresIn(String expiresIn) { + this.expiresIn = expiresIn; + } } |