Session Storage Provider
ISessionProviderService
in assembly SanteDB.Core.Api version 2.1.151.0
Summary
Represents a service which is responsible for the storage and retrieval of sessions
Events
Event | Type | Description |
---|---|---|
Established | EventHandler<SessionEstablishedEventArgs> | Fired when the session provider service has established |
Abandoned | EventHandler<SessionEstablishedEventArgs> | Fired when the session provider service has ended by the user's decision |
Operations
Operation | Response/Return | Input/Parameter | Description |
---|---|---|---|
Establish | ISession | IPrincipal principal String remoteEp Boolean isOverride String purpose String[] scope String lang | Establishes a session for the specified principal |
Get | ISession | Byte[] sessionToken Boolean allowExpired | Authenticates the session identifier as evidence of session |
Extend | ISession | Byte[] refreshToken | Extend the session with the specified refresh token |
Abandon | void | ISession session | Abandons the session |
Implementations
ADO.NET Session Storage - (SanteDB.Persistence.Data.ADO)
Represents a session provider for ADO based sessions
Service Registration
Example Implementation
References
Last updated