Click or drag to resize

MemorySessionManagerService Class

Represents a ISessionProviderService which uses RAM caching
Inheritance Hierarchy
SystemObject
  SanteDB.Caching.Memory.SessionMemorySessionManagerService

Namespace: SanteDB.Caching.Memory.Session
Assembly: SanteDB.Caching.Memory (in SanteDB.Caching.Memory.dll) Version: 3.0.2081-alpha+73f4bcede15fc876f30607896483d7d817ecc787
Syntax
public class MemorySessionManagerService : ISessionProviderService, 
	IServiceImplementation, ISessionIdentityProviderService

The MemorySessionManagerService type exposes the following members.

Constructors
 NameDescription
Public methodMemorySessionManagerService DI Constructor
Top
Properties
 NameDescription
Public propertyCacheName 
Public propertyServiceName In-Memory Session Management
Top
Methods
 NameDescription
Public methodAbandon Abandons the session
Public methodAuthenticate Authenticate based on session
Public methodClear 
Public methodCount 
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Public methodEstablish Establishes a session for the specified principal
Public methodExtend Extend the session with the specified refresh token
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
Public methodGet Authenticates the session identifier as evidence of session
Public methodGetActiveSessions Get all active sessions for all users
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetIdentities Gets an un-authenticated principal from the specified session
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Public methodGetUserSessions Gets active sessions for the user.
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Public methodSize 
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Public methodTrim Trimming sessions is not really recommended but we can do it 🤷‍
Top
Events
 NameDescription
Public eventAbandoned Fired when the session provider service has ended by the user's decision
Public eventEstablished Fired when the session provider service has established
Public eventExtended Fired when the session provider service has been extended
Top
Extension Methods
 NameDescription
Public Extension MethodConvertTReturn The purpose of this method is to convert object me to TReturn. Why? Because if you have an instance of Act that actually needs to be a SubstanceAdministration we can't just cast so we have to copy.
(Defined by ExtensionMethods)
Public Extension MethodWithControl With control parameter is used as a wrapper for _ parameters
(Defined by QueryFilterExtensions)
Top
See Also