aboutsummaryrefslogtreecommitdiff
path: root/juick-www/src/main/java
diff options
context:
space:
mode:
Diffstat (limited to 'juick-www/src/main/java')
-rw-r--r--juick-www/src/main/java/com/juick/www/vk/Token.java10
-rw-r--r--juick-www/src/main/java/com/juick/www/vk/User.java9
2 files changed, 19 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;
+ }
}
diff --git a/juick-www/src/main/java/com/juick/www/vk/User.java b/juick-www/src/main/java/com/juick/www/vk/User.java
index c197da2e..8c6ff0ac 100644
--- a/juick-www/src/main/java/com/juick/www/vk/User.java
+++ b/juick-www/src/main/java/com/juick/www/vk/User.java
@@ -6,6 +6,7 @@ import com.fasterxml.jackson.annotation.JsonProperty;
* Created by vitalyster on 28.11.2016.
*/
public class User {
+ private String uid;
private String firstName;
private String lastName;
private String screenName;
@@ -36,4 +37,12 @@ public class User {
public void setScreenName(String screenName) {
this.screenName = screenName;
}
+
+ public String getUid() {
+ return uid;
+ }
+
+ public void setUid(String uid) {
+ this.uid = uid;
+ }
}