Class CASession
java.lang.Object
com.io7m.cardant.server.service.sessions.CASession
A controller for a single user session.
-
Constructor Summary
ConstructorsConstructorDescriptionCASession(CASessionSecretIdentifier inSessionId, CAUser inUser) A controller for a single user session. -
Method Summary
-
Constructor Details
-
CASession
A controller for a single user session.- Parameters:
inSessionId- The session IDinUser- The user
-
-
Method Details
-
toString
-
subject
public com.io7m.medrina.api.MSubject subject()- Returns:
- The user subject
-
id
- Returns:
- The session identifier
-
userId
- Returns:
- The user ID
-
setProperty
Set the property.- Type Parameters:
T- The property type- Parameters:
clazz- The property classitem- The property value
-
property
Retrieve the value of a property.- Type Parameters:
T- The property type- Parameters:
clazz- The property class- Returns:
- The property value, if any
-