Session

public class Session

The session is the value object for the session of a user.

Constructors

Link copied to clipboard
public void Session(String accessToken, Date expirationDate)

Functions

Link copied to clipboard
public static Session fromAPIResponse(SessionToken apiResponse)
Link copied to clipboard
The session's access token.
Link copied to clipboard
The expiration date of the access token.
Link copied to clipboard
public boolean hasExpired()
Uses the current locale's time to check whether or not this session has already expired.