Package io.gs2.auth.model
Class AccessToken
java.lang.Object
io.gs2.auth.model.AccessToken
- All Implemented Interfaces:
IModel,Serializable
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic AccessTokenfromJson(com.fasterxml.jackson.databind.JsonNode data) getToken()inthashCode()voidvoidsetTimeOffset(Integer timeOffset) voidvoidcom.fasterxml.jackson.databind.JsonNodetoJson()withExpire(Long expire) withTimeOffset(Integer timeOffset) withUserId(String userId)
-
Constructor Details
-
AccessToken
public AccessToken()
-
-
Method Details
-
getToken
-
setToken
-
withToken
-
getUserId
-
setUserId
-
withUserId
-
getExpire
-
setExpire
-
withExpire
-
getTimeOffset
-
setTimeOffset
-
withTimeOffset
-
fromJson
-
toJson
public com.fasterxml.jackson.databind.JsonNode toJson() -
hashCode
public int hashCode() -
equals
-