コード例 #1
0
 public CorsStartupDecorator(StartupTemplate template, IApplication application)
 {
     _template    = template;
     _application = application;
     _template.AddTemplateDependency(CorsConfigurationTemplate.TemplateId);
     Priority = -2;
 }
コード例 #2
0
 public StartupDefaultJWTDecorator(StartupTemplate template, IApplication application)
 {
     _template    = template;
     _application = application;
     Priority     = -10;
     _template.AddTemplateDependency(ConfigurationJWTAuthenticationTemplate.TemplateId);
 }
コード例 #3
0
 public IdentityServerStartupDecorator(StartupTemplate template, IApplication application)
 {
     _template    = template;
     _application = application;
     _template.AddTemplateDependency(IdentityServerConfigurationTemplate.TemplateId);
     Priority = -9;
 }
 public SwashbuckleCoreWebStartupDecorator(StartupTemplate template, IApplication application)
 {
     _template    = template;
     _application = application;
     _template.AddTemplateDependency(SwashbuckleConfigurationTemplate.TemplateId);
 }