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