Session

org.beangle.security.session.Session
See theSession companion object
trait Session extends Externalizable

Attributes

Companion
object
Graph
Supertypes
trait Externalizable
trait Serializable
class Object
trait Matchable
class Any
Known subtypes

Members list

Value members

Abstract methods

def access(accessAt: Instant): Long

访问session

访问session

Attributes

Returns

据上一次的间隔秒数,-1 表示已经过期

def agent: Agent
def expired: Boolean
def id: String
def lastAccessAt: Instant
def loginAt: Instant
def principal: Principal
def ttiSeconds: Int
def ttiSeconds_=(seconds: Int): Unit

Inherited methods

def readExternal(x$0: ObjectInput): Unit

Attributes

Inherited from:
Externalizable
def writeExternal(x$0: ObjectOutput): Unit

Attributes

Inherited from:
Externalizable