CookieRedirectContext 类

定义

在质询、登录或注销导致 cookie 中间件发生重定向时传递上下文

public ref class CookieRedirectContext : Microsoft::AspNetCore::Authentication::Cookies::BaseCookieContext
public class CookieRedirectContext : Microsoft.AspNetCore.Authentication.Cookies.BaseCookieContext
type CookieRedirectContext = class
    inherit BaseCookieContext
Public Class CookieRedirectContext
Inherits BaseCookieContext
继承
CookieRedirectContext

构造函数

CookieRedirectContext(HttpContext, CookieAuthenticationOptions, String, AuthenticationProperties)

创建新的上下文对象。

属性

HttpContext

在质询、登录或注销导致 cookie 中间件发生重定向时传递上下文

(继承自 BaseContext)
Options

在质询、登录或注销导致 cookie 中间件发生重定向时传递上下文

(继承自 BaseCookieContext)
Properties

在质询、登录或注销导致 cookie 中间件发生重定向时传递上下文

RedirectUri

获取或设置用于重定向操作的 URI。

Request

在质询、登录或注销导致 cookie 中间件发生重定向时传递上下文

(继承自 BaseContext)
Response

在质询、登录或注销导致 cookie 中间件发生重定向时传递上下文

(继承自 BaseContext)

适用于