Class OAuthSessionContextEntity
java.lang.Object
com.peterphi.usermanager.db.entity.OAuthSessionContextEntity
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 Summary
-
Method Summary
Modifier and TypeMethodDescriptionorg.joda.time.DateTime
getId()
getScope()
org.joda.time.DateTime
getUser()
boolean
isActive()
void
setActive
(boolean active) void
setCreated
(org.joda.time.DateTime created) void
void
void
setService
(OAuthServiceEntity service) void
setUpdated
(org.joda.time.DateTime updated) void
setUser
(UserEntity user)
-
Constructor Details
-
OAuthSessionContextEntity
public OAuthSessionContextEntity()
-
-
Method Details
-
getId
-
getUser
-
getService
-
getScope
-
isActive
public boolean isActive() -
getCreated
public org.joda.time.DateTime getCreated() -
getUpdated
public org.joda.time.DateTime getUpdated() -
setId
-
setUser
-
setService
-
setScope
-
setActive
public void setActive(boolean active) -
setCreated
public void setCreated(org.joda.time.DateTime created) -
setUpdated
public void setUpdated(org.joda.time.DateTime updated)
-