CookieAppBuilderExtensions Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for