CookieAppBuilderExtensions Class

Definition

Extension methods to add cookie authentication capabilities to an HTTP application pipeline.

public ref class CookieAppBuilderExtensions abstract sealed
public static class CookieAppBuilderExtensions
type CookieAppBuilderExtensions = class
Public Module CookieAppBuilderExtensions
Inheritance
CookieAppBuilderExtensions

Methods

UseCookieAuthentication(IApplicationBuilder)
Obsolete.
Obsolete.

UseCookieAuthentication is obsolete. Configure Cookie authentication with AddAuthentication().AddCookie in ConfigureServices. See https://go.microsoft.com/fwlink/?linkid=845470 for more details.

UseCookieAuthentication(IApplicationBuilder, CookieAuthenticationOptions)
Obsolete.
Obsolete.

UseCookieAuthentication is obsolete. Configure Cookie authentication with AddAuthentication().AddCookie in ConfigureServices. See https://go.microsoft.com/fwlink/?linkid=845470 for more details.

UseCookieAuthentication(IApplicationBuilder, CookieAuthenticationOptions)

Adds the CookieAuthenticationMiddleware middleware to the specified IApplicationBuilder, which enables cookie authentication capabilities.

Applies to