CookieSignedInContext CookieSignedInContext CookieSignedInContext Class

Definition

Context object passed to the ICookieAuthenticationEvents method SignedIn.

public class CookieSignedInContext : Microsoft.AspNetCore.Authentication.PrincipalContext<Microsoft.AspNetCore.Authentication.Cookies.CookieAuthenticationOptions>
type CookieSignedInContext = class
    inherit PrincipalContext<CookieAuthenticationOptions>
Public Class CookieSignedInContext
Inherits PrincipalContext(Of CookieAuthenticationOptions)
Inheritance

Constructors

CookieSignedInContext(HttpContext, AuthenticationScheme, ClaimsPrincipal, AuthenticationProperties, CookieAuthenticationOptions) CookieSignedInContext(HttpContext, AuthenticationScheme, ClaimsPrincipal, AuthenticationProperties, CookieAuthenticationOptions) CookieSignedInContext(HttpContext, AuthenticationScheme, ClaimsPrincipal, AuthenticationProperties, CookieAuthenticationOptions)

Creates a new instance of the context object.

CookieSignedInContext(HttpContext, CookieAuthenticationOptions, String, ClaimsPrincipal, AuthenticationProperties) CookieSignedInContext(HttpContext, CookieAuthenticationOptions, String, ClaimsPrincipal, AuthenticationProperties) CookieSignedInContext(HttpContext, CookieAuthenticationOptions, String, ClaimsPrincipal, AuthenticationProperties)

Creates a new instance of the context object.

Properties

AuthenticationScheme AuthenticationScheme AuthenticationScheme

The name of the AuthenticationScheme creating a cookie

HttpContext HttpContext HttpContext

The context.

(Inherited from BaseContext<TOptions>)
Options Options Options

Gets the authentication options associated with the scheme.

(Inherited from BaseContext<TOptions>)
Principal Principal Principal

Contains the claims that were converted into the outgoing cookie.

Properties Properties Properties

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

Request Request Request

The request.

(Inherited from BaseContext<TOptions>)
Response Response Response

The response.

(Inherited from BaseContext<TOptions>)
Scheme Scheme Scheme

The authentication scheme.

(Inherited from BaseContext<TOptions>)

Applies to