Class OAuthSessionEntity
java.lang.Object
com.peterphi.usermanager.db.entity.OAuthSessionEntity
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionorg.joda.time.DateTime
org.joda.time.DateTime
getId()
getToken()
org.joda.time.DateTime
boolean
isAlive()
void
setAlive
(boolean alive) void
setAuthorisationCode
(String authorisationCode) void
setContext
(OAuthSessionContextEntity context) void
setCreated
(org.joda.time.DateTime created) void
setExpires
(org.joda.time.DateTime expires) void
void
setInitiator
(String initiator) void
void
setUpdated
(org.joda.time.DateTime updated)
-
Constructor Details
-
OAuthSessionEntity
public OAuthSessionEntity()
-
-
Method Details
-
getId
-
getContext
-
getInitiator
-
isAlive
public boolean isAlive() -
getAuthorisationCode
-
getToken
-
getExpires
public org.joda.time.DateTime getExpires() -
getCreated
public org.joda.time.DateTime getCreated() -
getUpdated
public org.joda.time.DateTime getUpdated() -
setId
-
setContext
-
setInitiator
-
setAlive
public void setAlive(boolean alive) -
setAuthorisationCode
-
setToken
-
setExpires
public void setExpires(org.joda.time.DateTime expires) -
setCreated
public void setCreated(org.joda.time.DateTime created) -
setUpdated
public void setUpdated(org.joda.time.DateTime updated)
-