Share via


CookieSignedInContext Class

Definition

Context object passed to the ICookieAuthenticationEvents method SignedIn.

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

Constructors

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

Creates a new instance of the context object.

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

Creates a new instance of the context object.

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