ISecureSessionFactory
Namespace: Meshmakers.Octo.Runtime.Contracts
Factory for caller-scoped sessions. Implemented next to the parameterless session factories;
resolved via the GetSession(RtSecurityContext) extension methods so existing factory
contracts stay unchanged.
public interface ISecureSessionFactory
Methods
GetSession(RtSecurityContext)
Gets a new session acting for the given caller.
IOctoSession GetSession(RtSecurityContext securityContext)
Parameters
securityContext RtSecurityContext
Identity of the caller the session acts for
Returns
GetSessionAsync(RtSecurityContext)
Gets a new session acting for the given caller.
Task<IOctoSession> GetSessionAsync(RtSecurityContext securityContext)
Parameters
securityContext RtSecurityContext
Identity of the caller the session acts for