public class AccessGrant extends Object implements Serializable
Constructor and Description |
---|
AccessGrant(String accessToken) |
AccessGrant(String accessToken,
String scope,
String refreshToken,
Long expiresIn) |
Modifier and Type | Method and Description |
---|---|
String |
getAccessToken()
The access token value.
|
Long |
getExpireTime()
The time (in milliseconds since Jan 1, 1970 UTC) when this access grant will expire.
|
String |
getRefreshToken()
The refresh token that can be used to renew the access token.
|
String |
getScope()
The scope of the access grant.
|
public AccessGrant(String accessToken)
public String getAccessToken()
public String getScope()
public String getRefreshToken()
public Long getExpireTime()