SBSession Class Reference
| Inherits from | NSObject |
| Declared in | SBSession.h SBSession.m |
Tasks
-
+ currentSessionReturns the active session.
-
+ setSessionUser:Sets the user field for current session.
-
+ invalidateSessionInvalidates the active session.
Class Methods
currentSession
Returns the active session.
+ (SBSession *)currentSessionReturn Value
Current session object.
Discussion
Returns the active session.
Declared In
SBSession.hinvalidateSession
Invalidates the active session.
+ (void)invalidateSessionDiscussion
Invalidates the active session.
Declared In
SBSession.hsetSessionUser:
Sets the user field for current session.
+ (void)setSessionUser:(User *)userParameters
- user
User object to be set.
Discussion
Sets the user field for current session.
Declared In
SBSession.h