diff options
author | Vitaly Takmazov | 2016-12-14 17:49:08 +0300 |
---|---|---|
committer | Vitaly Takmazov | 2016-12-14 17:49:08 +0300 |
commit | 9ac4c8209b9699e78d0d5cd0753e2fe8edbec559 (patch) | |
tree | de05e83de89dad7319feff6dab0c198272c22d33 /juick-notifications/src/main/java/com | |
parent | 9383db80fbf0de88608fe6bfbe5edf62471f4abb (diff) |
juick-notifications: add missing field of MPNS token
Diffstat (limited to 'juick-notifications/src/main/java/com')
-rw-r--r-- | juick-notifications/src/main/java/com/juick/components/mpns/MPNSToken.java | 10 |
1 files changed, 10 insertions, 0 deletions
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; + } } |