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
-
Method Summary
-
Constructor Details
-
Session
Creates a newSession
instance.- Parameters:
id
- the session IDusername
- the name of the user which belongs to this sessionsessionValidDuration
- theDuration
that this session is valid
-
Session
public Session(String id, String username, Instant creationTime, Instant expirationTime, @Nullable Serializable rawSession) Creates a newSession
instance.
-
-
Method Details