Class OAuthSessionEntity

java.lang.Object
com.peterphi.usermanager.db.entity.OAuthSessionEntity

@Entity(name="oauth_session") public class OAuthSessionEntity extends Object
  • Constructor Details

    • OAuthSessionEntity

      public OAuthSessionEntity()
  • Method Details

    • getId

      public String getId()
    • getContext

      public OAuthSessionContextEntity getContext()
    • getInitiator

      public String getInitiator()
    • isAlive

      public boolean isAlive()
    • getAuthorisationCode

      public String getAuthorisationCode()
    • getToken

      public String getToken()
    • getExpires

      public org.joda.time.DateTime getExpires()
    • getCreated

      public org.joda.time.DateTime getCreated()
    • getUpdated

      public org.joda.time.DateTime getUpdated()
    • setId

      public void setId(String id)
    • setContext

      public void setContext(OAuthSessionContextEntity context)
    • setInitiator

      public void setInitiator(String initiator)
    • setAlive

      public void setAlive(boolean alive)
    • setAuthorisationCode

      public void setAuthorisationCode(String authorisationCode)
    • setToken

      public void setToken(String token)
    • 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)