diff options
Diffstat (limited to 'juick-notifications/src/main/java')
-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; + } } |