Esempio n. 1
0
 public IdentityServerOwinStartupDecorator(HostingConfigModel hostingConfig, IApplicationEventDispatcher applicationEvents, ISolutionEventDispatcher solutionEvents)
 {
     _hostingConfig = hostingConfig ?? new HostingConfigModel()
     {
         UseSsl = true, SslPort = "44399"
     };
     _applicationEvents = applicationEvents;
     _solutionEvents    = solutionEvents;
     Priority           = 10;
 }
Esempio n. 2
0
 public AngularImplicitAuthModuleTemplate(IProject project, HostingConfigModel hostingConfig, IApplicationEventDispatcher applicationEvents, ISolutionEventDispatcher solutionEvents)
     : base(Identifier, project, null)
 {
     _decoratorDispatcher = new DecoratorDispatcher <IAngularImplicitAuthModuleDecorator>(project.ResolveDecorators <IAngularImplicitAuthModuleDecorator>);
     _hostingConfig       = hostingConfig ?? new HostingConfigModel()
     {
         UseSsl = true, SslPort = "44399"
     };
     _applicationEvents = applicationEvents;
     _solutionEvents    = solutionEvents;
     _solutionEvents.Subscribe(SolutionEvents.ResourceAvailable_IdentityServer, HandleIdentityServerAvailable);
 }
Esempio n. 3
0
 public JwtAuthOwinStartupDecorator(ISolutionEventDispatcher solutionEvents)
 {
     _solutionEvents = solutionEvents;
     _solutionEvents.Subscribe(SolutionEvents.ResourceAvailable_IdentityServer, HandleIdentityServerAvailable);
 }
Esempio n. 4
0
 public IdentityServerClientsTemplate(IProject project, ISolutionEventDispatcher solutionEventDispatcher)
     : base(Identifier, project, null)
 {
     //solutionEventDispatcher.Subscribe(SolutionEvents.Authentication_ClientRequired, Handle);
 }