Class OAuthSessionContextEntity

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

@Entity(name="oauth_session_context") public class OAuthSessionContextEntity extends Object
Indicates a user has used a Service with a given Scope (and allows a user to revoke access to a Service at any time)
  • Constructor Details

    • OAuthSessionContextEntity

      public OAuthSessionContextEntity()
  • Method Details

    • getId

      public Integer getId()
    • getUser

      public UserEntity getUser()
    • getService

      public OAuthServiceEntity getService()
    • getScope

      public String getScope()
    • isActive

      public boolean isActive()
    • getCreated

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

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

      public void setId(Integer id)
    • setUser

      public void setUser(UserEntity user)
    • setService

      public void setService(OAuthServiceEntity service)
    • setScope

      public void setScope(String scope)
    • setActive

      public void setActive(boolean active)
    • setCreated

      public void setCreated(org.joda.time.DateTime created)
    • setUpdated

      public void setUpdated(org.joda.time.DateTime updated)