Session Authentication Provider

ISessionIdentityProviderService in assembly SanteDB.Core.Api version 3.0.1980.0

Summary

Represents a session identity service that can provide identities

Operations

Operation
Response/Return
Input/Parameter
Description

Authenticate

IPrincipal

ISession session

Authenticate based on session

GetIdentities

IIdentity[]

ISession session

Gets an un-authenticated principal from the specified session

Implementations

MemorySessionManagerService - (SanteDB.Caching.Memory)

Represents a ISessionProviderService which uses RAM caching

Service Registration

...
<section xsi:type="ApplicationServiceContextConfigurationSection" threadPoolSize="4">
	<serviceProviders>
		...
		<add type="SanteDB.Caching.Memory.Session.MemorySessionManagerService, SanteDB.Caching.Memory, Version=3.0.1980.0, Culture=neutral, PublicKeyToken=null" />
		...
	</serviceProviders>

BridgedSessionManager - (SanteDB.Client)

Represents a bridged session provider manager

Description

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.

Service Registration

AdoSessionProvider - (SanteDB.Persistence.Data)

An identity provider service that uses the ADO session table

Service Registration

Example Implementation

References

Last updated

Was this helpful?