public override void Execute() { var infrastructure = this.CurrentElement.Root.As <IApplication>().Design.Infrastructure; var security = infrastructure.Security ?? infrastructure.CreateSecurity("Security"); var authentication = security.CreateAuthentication("Authentication"); AuthenticationFeature.InitializeAuthenticationValues(this.CurrentElement.Root.As <IApplication>(), Solution, this.ServiceProvider); }
public override void Execute() { AuthenticationFeature.GenerateAuthenticationCodeOnEndpoints(CurrentElement.Root.As <IApplication>(), ServiceProvider); }