SessionKey

data class SessionKey(val appName: String, val userId: String, val id: String?)

Composite identifier for a Session.

Constructors

Link copied to clipboard
constructor(appName: String, userId: String, id: String?)

Properties

Link copied to clipboard

Name of the application that owns the session.

Link copied to clipboard
val id: String?

Unique session identifier within the (appName, userId) namespace. May be null when passed to SessionService.createSession to request that the service generate one. Methods that address an existing session (SessionService.getSession, SessionService.deleteSession, SessionService.listEvents) require a non-null id.

Link copied to clipboard

Identifier of the end user the session belongs to.