SmartAPI
Open Source .NET RQL library for RedDot CMS / OpenText WSM Management Server
|
Utility class to create Session objects with given login data/login guid/session key and project guid. Useful for RedDot plugins. More...
Public Member Functions | |
SessionBuilder (ServerLogin login, Guid loginGuid, string sessionKey, Guid projectGuid) | |
SessionBuilder () | |
ISession | CreateSession () |
Create a new session initialized with the login guid, session key and project guid of this SessionBuilder. | |
Static Public Member Functions | |
static ISession | CreateOrReplaceOldestSession (ServerLogin login) |
static ISession | CreateOrReplaceSession (ServerLogin login, Func< IEnumerable< RunningSessionInfo >, RunningSessionInfo > sessionReplacementSelector) |
static ISession | CreateSession (ServerLogin login) |
Properties | |
ServerLogin | Login [get, set] |
Guid | LoginGuid [get, set] |
Guid | ProjectGuid [get, set] |
string | SessionKey [get, set] |
Utility class to create Session objects with given login data/login guid/session key and project guid. Useful for RedDot plugins.
Definition at line 26 of file SessionBuilder.cs.
erminas.SmartAPI.Utils.SessionBuilder.SessionBuilder | ( | ServerLogin | login, |
Guid | loginGuid, | ||
string | sessionKey, | ||
Guid | projectGuid | ||
) |
Definition at line 28 of file SessionBuilder.cs.
erminas.SmartAPI.Utils.SessionBuilder.SessionBuilder | ( | ) |
Definition at line 36 of file SessionBuilder.cs.
|
static |
Definition at line 40 of file SessionBuilder.cs.
|
static |
Definition at line 47 of file SessionBuilder.cs.
ISession erminas.SmartAPI.Utils.SessionBuilder.CreateSession | ( | ) |
Create a new session initialized with the login guid, session key and project guid of this SessionBuilder.
Definition at line 58 of file SessionBuilder.cs.
|
static |
Definition at line 63 of file SessionBuilder.cs.
|
getset |
Definition at line 68 of file SessionBuilder.cs.
|
getset |
Definition at line 69 of file SessionBuilder.cs.
|
getset |
Definition at line 70 of file SessionBuilder.cs.
|
getset |
Definition at line 71 of file SessionBuilder.cs.