class SessionId : Id<String>
Represents id and timestamp of a session.
<init> |
Represents id and timestamp of a session. SessionId(value: String, timestamp: Instant) |
newInstance |
Creates a session id using a java.util.UUID as value and Instant.now as timestamp. fun newInstance(value: String = UuidGenerator.next().toString(), timestamp: Instant = Instant.now()): SessionId |