public class AccessToken extends Object
| Constructor and Description |
|---|
AccessToken(String token,
long expires)
Instantiates a new access token.
|
| Modifier and Type | Method and Description |
|---|---|
long |
getExpires()
Gets the expires.
|
String |
getToken()
Gets the token.
|
String |
toJSON()
Return this config as JSON string.
|
public AccessToken(String token, long expires)
token - the tokenexpires - the expirespublic String getToken()
public long getExpires()
public String toJSON() throws org.exoplatform.ws.frameworks.json.impl.JsonException
org.exoplatform.ws.frameworks.json.impl.JsonException - the json exceptionCopyright © 2003–2020 eXo Platform SAS. All rights reserved.