dotnet-core/release-notes/3.0/preview/api-diff/preview9/Asp.Net/3.0-preview9_Microsoft.AspNetCore.Components.Server.md
2019-09-03 11:43:51 -07:00

1.6 KiB

Microsoft.AspNetCore.Components.Server

 namespace Microsoft.AspNetCore.Components.Server {
     public sealed class CircuitOptions {
+        public int MaxBufferedUnacknowledgedRenderBatches { get; set; }
     }
-    public class ComponentPrerenderingContext {
 {
-        public ComponentPrerenderingContext();

-        public Type ComponentType { get; set; }

-        public HttpContext Context { get; set; }

-        public ParameterView Parameters { get; set; }

-    }
-    public sealed class ComponentPrerenderResult {
 {
-        public void WriteTo(TextWriter writer);

-    }
-    public interface IComponentPrerenderer {
 {
-        Task<ComponentPrerenderResult> PrerenderComponentAsync(ComponentPrerenderingContext context);

-    }
+    public abstract class RevalidatingServerAuthenticationStateProvider : ServerAuthenticationStateProvider, IDisposable {
+        public RevalidatingServerAuthenticationStateProvider(ILoggerFactory loggerFactory);
+        protected abstract TimeSpan RevalidationInterval { get; }
+        protected virtual void Dispose(bool disposing);
+        void System.IDisposable.Dispose();
+        protected abstract Task<bool> ValidateAuthenticationStateAsync(AuthenticationState authenticationState, CancellationToken cancellationToken);
+    }
+    public class ServerAuthenticationStateProvider : AuthenticationStateProvider, IHostEnvironmentAuthenticationStateProvider {
+        public ServerAuthenticationStateProvider();
+        public override Task<AuthenticationState> GetAuthenticationStateAsync();
+        public void SetAuthenticationState(Task<AuthenticationState> authenticationStateTask);
+    }
 }