private void Handle(SolutionEvent @event) { Applications.Add(new AuthenticationClient( authenticationType: @event.GetValue("AuthenticationType"), applicationName: @event.GetValue("ApplicationName"), applicationUrl: @event.GetValue("ApplicationUrl"))); }
private void HandleIdentityServerAvailable(SolutionEvent @event) { _applicationEvents.Publish(ApplicationEvents.AngularJs_ConfigurationRequired, new Dictionary <string, string>() { { "Key", "identity_authority_url" }, { "Value", @event.GetValue("AuthorityUrl") }, }); // TODO: This is dubious _decoratorDispatcher.Dispatch(x => x.OnIdentityServerAvailable(@event.GetValue("BaseUrl"), @event.GetValue("AuthorityUrl"))); }
private void HandleIdentityServerAvailable(SolutionEvent @event) { _solutionEvents.Publish(ApplicationEvents.Config_AppSetting, new Dictionary <string, string>() { { "Key", "IdentityServer.Issuer.Name" }, { "Value", @event.GetValue("AuthorityUrl") } }); }