Esempio n. 1
0
 public static string FhirFacadeAddress(IFhirSmartAppContext context) => $"{context.LaunchContext}.fhir-facade.localhost";
Esempio n. 2
0
 public AuthProtocolSchemeHandler(SmartApplicationDetails app, IFhirSmartAppContext context, Func <SmartApplicationDetails, IFhirSmartAppContext, string> getIdToken)
 {
     _app        = app;
     _context    = context;
     _getIdToken = getIdToken;
 }
Esempio n. 3
0
 public static string AuthAddress(IFhirSmartAppContext context) => $"{context.LaunchContext}.identity.localhost";
Esempio n. 4
0
 public FhirFacadeProtocolSchemeHandler(SmartApplicationDetails app, IFhirSmartAppContext launchContext, IFhirSystemServiceR4 <IServiceProvider> facade)
 {
     _app           = app;
     _launchContext = launchContext;
     _facade        = facade;
 }
Esempio n. 5
0
 public FhirFacadeProtocolSchemeHandlerFactory(SmartApplicationDetails app, IFhirSmartAppContext launchContext, Func <IFhirSystemServiceR4 <IServiceProvider> > facadeFactory)
 {
     _app           = app;
     _launchContext = launchContext;
     _facadeFactory = facadeFactory;
 }
Esempio n. 6
0
 public FhirProxyProtocolSchemeHandler(SmartApplicationDetails app, IFhirSmartAppContext launchContext, string externalFhirServerBaseUrl)
 {
     _app                       = app;
     _launchContext             = launchContext;
     _externalFhirServerBaseUrl = externalFhirServerBaseUrl;
 }
Esempio n. 7
0
 internal void LoadSmartApp(SmartApplicationDetails application, IFhirSmartAppContext context)
 {
     _app     = application;
     _context = context;
     _url     = $"{application.Url}?iss=https://{AuthProtocolSchemeHandlerFactory.FhirFacadeAddress(_context)}&launch={context.LaunchContext}";
 }