CookieAuthenticationMiddleware Class¶
- Namespace
Microsoft.AspNetCore.Authentication.Cookies
- Assemblies
- Microsoft.AspNetCore.Authentication.Cookies
Inheritance Hierarchy¶
System.Object
Microsoft.AspNetCore.Authentication.AuthenticationMiddleware{Microsoft.AspNetCore.Builder.CookieAuthenticationOptions}
Microsoft.AspNetCore.Authentication.Cookies.CookieAuthenticationMiddleware
Syntax¶
public class CookieAuthenticationMiddleware : AuthenticationMiddleware<CookieAuthenticationOptions>
-
class
Microsoft.AspNetCore.Authentication.Cookies.
CookieAuthenticationMiddleware
Constructors¶
-
CookieAuthenticationMiddleware
(Microsoft.AspNetCore.Http.RequestDelegate, Microsoft.AspNetCore.DataProtection.IDataProtectionProvider, Microsoft.Extensions.Logging.ILoggerFactory, System.Text.Encodings.Web.UrlEncoder, Microsoft.Extensions.Options.IOptions<Microsoft.AspNetCore.Builder.CookieAuthenticationOptions>)¶ public CookieAuthenticationMiddleware(RequestDelegate next, IDataProtectionProvider dataProtectionProvider, ILoggerFactory loggerFactory, UrlEncoder urlEncoder, IOptions<CookieAuthenticationOptions> options)
-
Methods¶
-
CreateHandler
()¶ Return type: Microsoft.AspNetCore.Authentication.AuthenticationHandler<Microsoft.AspNetCore.Builder.CookieAuthenticationOptions> protected override AuthenticationHandler<CookieAuthenticationOptions> CreateHandler()
-