Class Session
java.lang.Object
com.linecorp.centraldogma.server.auth.Session
An authenticated session which can be replicated to the other Central Dogma replicas as a serialized form.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the created timeInstant.@Nullable StringReturns the CSRF token.booleanReturns the timeInstantthat this session is to be expired at.inthashCode()id()Returns the session ID.toString()username()Returns the name of the user which belongs to this session.
-
Constructor Details
-
Session
-
Session
-
-
Method Details
-
id
Returns the session ID. -
csrfToken
Returns the CSRF token. -
username
Returns the name of the user which belongs to this session. -
creationTime
-
expirationTime
-
hashCode
-
equals
-
toString
-