CookieExtensions 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 configure cookie authentication.
public static class CookieExtensions
type CookieExtensions = class
Public Module CookieExtensions
- Inheritance
-
CookieExtensions
Methods
AddCookie(AuthenticationBuilder) |
Adds cookie authentication to AuthenticationBuilder using the default scheme. The default scheme is specified by AuthenticationScheme. Cookie authentication uses a HTTP cookie persisted in the client to perform authentication. |
AddCookie(AuthenticationBuilder, Action<CookieAuthenticationOptions>) |
Adds cookie authentication to AuthenticationBuilder using the default scheme. The default scheme is specified by AuthenticationScheme. Cookie authentication uses a HTTP cookie persisted in the client to perform authentication. |
AddCookie(AuthenticationBuilder, String) |
Adds cookie authentication to AuthenticationBuilder using the specified scheme. Cookie authentication uses a HTTP cookie persisted in the client to perform authentication. |
AddCookie(AuthenticationBuilder, String, Action<CookieAuthenticationOptions>) |
Adds cookie authentication to AuthenticationBuilder using the specified scheme. Cookie authentication uses a HTTP cookie persisted in the client to perform authentication. |
AddCookie(AuthenticationBuilder, String, String, Action<CookieAuthenticationOptions>) |
Adds cookie authentication to AuthenticationBuilder using the specified scheme. Cookie authentication uses a HTTP cookie persisted in the client to perform authentication. |
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