Click or drag to resize

BridgedSessionManager Class

Represents a bridged session provider manager
Inheritance Hierarchy
SystemObject
  SanteDB.Client.Upstream.SecurityBridgedSessionManager

Namespace: SanteDB.Client.Upstream.Security
Assembly: SanteDB.Client (in SanteDB.Client.dll) Version: 3.0.2081-alpha+027e4605b77f83de5445cbcd55717223932d2452
Syntax
public class BridgedSessionManager : ISessionProviderService, 
	IServiceImplementation, ISessionIdentityProviderService

The BridgedSessionManager type exposes the following members.

Constructors
 NameDescription
Public methodBridgedSessionManager DI CTOR
Top
Properties
 NameDescription
Public propertyServiceName Gets the service name
Top
Methods
 NameDescription
Public methodAbandon Abandons the session
Public methodAuthenticate Authenticate based on session
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 methodToStringReturns a string that represents the current object.
(Inherited from Object)
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
Remarks
This class is responsible for managing local sessions (via a synchronized pattern) as well as upstream sessions which need to interact with the upstream, as well as transitioning between the two.
See Also