public IdentityConfigurationAppSettingsDecorator(AppSettingsTemplate template, IApplication application) { _template = template; _application = application; _appName = application.Name; _application.EventDispatcher.Subscribe <HostingSettingsCreatedEvent>(Handle); // This is just temporary. Need to store these settings in a solution-wide accessible space for each app. }
private void TransformAppSettings(SmartAppInfo manifest) { var authenticationKeys = _context.DynamicContext.AuthenticationKeys as IDictionary <string, string>; var template = new AppSettingsTemplate(manifest, authenticationKeys); _writingService.WriteFile(Path.Combine(_context.BasePath, template.OutputPath), template.TransformText()); }
public InteropAppSettingsDecorator(AppSettingsTemplate template, IApplication application) { _template = template; _application = application; _application.EventDispatcher.Subscribe <SwaggerOAuth2SchemeEvent>(Handle); _application.EventDispatcher.Subscribe <SecureTokenServiceHostedEvent>(Handle); // This is just temporary. Need to store these settings in a solution-wide accessible space for each app. _swaggerSchemes = new List <SwaggerOAuth2SchemeEvent>(); }
public ConfigurationSettingsJWTDecorator(AppSettingsTemplate template, IApplication application) { _template = template; _application = application; application.EventDispatcher.Subscribe <OverrideBearerTokenConfigurationEvent>(evt => { _stsIsSelfHostedInThisApplication = true; }); _application.EventDispatcher.Subscribe <SecureTokenServiceHostedEvent>(Handle); // This is just temporary. Need to store these settings in a solution-wide accessible space for each app. }
public SwashbuckleAppSettingsDecorator(AppSettingsTemplate template, IApplication application) { _template = template; _application = application; }
public X509CertSigningAppSettingsDecorator(AppSettingsTemplate template, IApplication application) { _template = template; _application = application; }