CookieSignedInContext Class

Definition

Context object passed to the ICookieAuthenticationEvents method SignedIn.

C#
public class CookieSignedInContext : Microsoft.AspNetCore.Authentication.Cookies.BaseCookieContext
C#
public class CookieSignedInContext : Microsoft.AspNetCore.Authentication.PrincipalContext<Microsoft.AspNetCore.Authentication.Cookies.CookieAuthenticationOptions>
Inheritance
CookieSignedInContext
Inheritance

Constructors

Properties

AuthenticationScheme

The name of the AuthenticationScheme creating a cookie

HttpContext (Inherited from BaseContext)
HttpContext

The context.

(Inherited from BaseContext<TOptions>)
Options (Inherited from BaseCookieContext)
Options

Gets the authentication options associated with the scheme.

(Inherited from BaseContext<TOptions>)
Principal

Contains the claims that were converted into the outgoing cookie.

Principal

Gets the ClaimsPrincipal containing the user claims.

(Inherited from PrincipalContext<TOptions>)
Properties

Contains the extra data that was contained in the outgoing cookie.

Properties

Gets or sets the AuthenticationProperties.

(Inherited from PropertiesContext<TOptions>)
Request (Inherited from BaseContext)
Request

The request.

(Inherited from BaseContext<TOptions>)
Response (Inherited from BaseContext)
Response

The response.

(Inherited from BaseContext<TOptions>)
Scheme

The authentication scheme.

(Inherited from BaseContext<TOptions>)

Applies to

Produkt Versioner
ASP.NET Core 1.0, 1.1, 2.0, 2.1, 2.2, 3.0, 3.1, 5.0, 6.0, 7.0, 8.0, 9.0