From 9ac4c8209b9699e78d0d5cd0753e2fe8edbec559 Mon Sep 17 00:00:00 2001 From: Vitaly Takmazov Date: Wed, 14 Dec 2016 17:49:08 +0300 Subject: juick-notifications: add missing field of MPNS token --- .../src/main/java/com/juick/components/mpns/MPNSToken.java | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'juick-notifications/src/main/java/com/juick/components') diff --git a/juick-notifications/src/main/java/com/juick/components/mpns/MPNSToken.java b/juick-notifications/src/main/java/com/juick/components/mpns/MPNSToken.java index 68baf9cd..cd36831e 100644 --- a/juick-notifications/src/main/java/com/juick/components/mpns/MPNSToken.java +++ b/juick-notifications/src/main/java/com/juick/components/mpns/MPNSToken.java @@ -8,6 +8,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; public class MPNSToken { private String tokenType; private String accessToken; + private String expiresIn; @JsonProperty("token_type") public String getTokenType() { @@ -26,4 +27,13 @@ public class MPNSToken { public void setAccessToken(String accessToken) { this.accessToken = accessToken; } + + @JsonProperty("expires_in") + public String getExpiresIn() { + return expiresIn; + } + + public void setExpiresIn(String expiresIn) { + this.expiresIn = expiresIn; + } } -- cgit v1.2.3