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); }
public JwtAuthOwinStartupDecorator(ISolutionEventDispatcher solutionEvents) { _solutionEvents = solutionEvents; _solutionEvents.Subscribe(SolutionEvents.ResourceAvailable_IdentityServer, HandleIdentityServerAvailable); }
public IdentityServerClientsTemplate(IProject project, ISolutionEventDispatcher solutionEventDispatcher) : base(Identifier, project, null) { solutionEventDispatcher.Subscribe(SolutionEvents.Authentication_ClientRequired, Handle); }