Gini Bank SDK for Android
Gini Bank SDK for Android
/
net.gini.android.core.api.authorization
/
Session
Session
public
class
Session
The session is the value object for the session of a user.
Constructors
Functions
Constructors
Session
Link copied to clipboard
public
void
Session
(
String
accessToken
,
Date
expirationDate
)
Functions
from
APIResponse
Link copied to clipboard
public
static
Session
fromAPIResponse
(
SessionToken
apiResponse
)
get
Access
Token
Link copied to clipboard
public
String
getAccessToken
(
)
The session's access token.
get
Expiration
Date
Link copied to clipboard
public
Date
getExpirationDate
(
)
The expiration date of the access token.
has
Expired
Link copied to clipboard
public
boolean
hasExpired
(
)
Uses the current locale's time to check whether or not this session has already expired.