Method | Description | |
---|---|---|
CreateClientSession ( System.Guid sessionId, string ipAddress, string base64ClientModulus, System.Guid userClientGlobalId ) : |
||
CreateNewClientSession ( string ipAddress, string base64ClientModulus, System.Guid userClientGlobalId ) : |
Creates a new client session for the user.
|
|
GetClientSession ( System.Guid clientSessionId ) : |
||
GetClientSessionWithClientId ( System.Guid userClientId ) : |
||
HasExpired ( ) : bool |
Verifies this UserSession, removing any expired sessions. Returns true to keep the UserSession in the cache.
|
|
RemoveAllSessions ( ) : void | ||
RemoveClientSession ( System.Guid clientSessionId ) : void |
Removes the client session.
|
|
ToCacheKey ( ) : string | ||
ToCacheKey ( System.Guid userId ) : string | ||
UserSession ( ) : System | ||
UserSession ( System.Guid userId, string userName, string shardId ) : System |
Method | Description | |
---|---|---|
RemoveExpiredSessions ( UserClientSession>.IDictionary |
public CreateClientSession ( System.Guid sessionId, string ipAddress, string base64ClientModulus, System.Guid userClientGlobalId ) : |
||
sessionId | System.Guid | |
ipAddress | string | |
base64ClientModulus | string | |
userClientGlobalId | System.Guid | |
return |
public CreateNewClientSession ( string ipAddress, string base64ClientModulus, System.Guid userClientGlobalId ) : |
||
ipAddress | string | The ip address. |
base64ClientModulus | string | The base64 client modulus. |
userClientGlobalId | System.Guid | The user client global id. |
return |
public GetClientSession ( System.Guid clientSessionId ) : |
||
clientSessionId | System.Guid | |
return |
public GetClientSessionWithClientId ( System.Guid userClientId ) : |
||
userClientId | System.Guid | |
return |
public RemoveClientSession ( System.Guid clientSessionId ) : void | ||
clientSessionId | System.Guid | The client session id. |
return | void |
public static ToCacheKey ( System.Guid userId ) : string | ||
userId | System.Guid | |
return | string |
public UserSession ( System.Guid userId, string userName, string shardId ) : System | ||
userId | System.Guid | |
userName | string | |
shardId | string | |
return | System |