CookieExtensions Class

Definition

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