public class OAuth2AnswerParameters extends Object
| Constructor and Description |
|---|
OAuth2AnswerParameters() |
| Modifier and Type | Method and Description |
|---|---|
static OAuth2AnswerParameters |
deserialize(String oauth2answer) |
String |
getAccessToken() |
String |
getExpiration() |
String |
getIdToken() |
java.time.LocalDateTime |
getReceivedAt() |
String |
getRefreshToken() |
String |
getTokenType() |
HashMap<String,String> |
getUserinfo() |
String |
serialize() |
void |
setAccessToken(String accessToken) |
void |
setExpiration(String expiration) |
void |
setIdToken(String idToken) |
void |
setReceivedAt(java.time.LocalDateTime receivedAt) |
void |
setRefreshToken(String refreshToken) |
void |
setTokenType(String tokenType) |
void |
setUserinfo(HashMap<String,String> userinfo) |
String |
toString() |
public String getAccessToken()
public void setAccessToken(String accessToken)
public String getIdToken()
public void setIdToken(String idToken)
public void setTokenType(String tokenType)
public String getTokenType()
public String serialize() throws com.fasterxml.jackson.core.JsonProcessingException, UnsupportedEncodingException
com.fasterxml.jackson.core.JsonProcessingExceptionUnsupportedEncodingExceptionpublic static OAuth2AnswerParameters deserialize(String oauth2answer) throws IOException
IOExceptionpublic void setExpiration(String expiration)
public String getExpiration()
public void setReceivedAt(java.time.LocalDateTime receivedAt)
public java.time.LocalDateTime getReceivedAt()
public String getRefreshToken()
public void setRefreshToken(String refreshToken)
Copyright © 2019. All Rights Reserved.