Aracılığıyla paylaş


RedirectContext<TOptions> Sınıf

Tanım

Yeniden yönlendirme olayları için bağlam geçirildi.

generic <typename TOptions>
 where TOptions : AuthenticationSchemeOptionspublic ref class RedirectContext : Microsoft::AspNetCore::Authentication::PropertiesContext<TOptions>
public class RedirectContext<TOptions> : Microsoft.AspNetCore.Authentication.PropertiesContext<TOptions> where TOptions : AuthenticationSchemeOptions
type RedirectContext<'Options (requires 'Options :> AuthenticationSchemeOptions)> = class
    inherit PropertiesContext<'Options (requires 'Options :> AuthenticationSchemeOptions)>
Public Class RedirectContext(Of TOptions)
Inherits PropertiesContext(Of TOptions)

Tür Parametreleri

TOptions
Devralma

Oluşturucular

RedirectContext<TOptions>(HttpContext, AuthenticationScheme, TOptions, AuthenticationProperties, String)

Yeni bir bağlam nesnesi oluşturur.

Özellikler

HttpContext

Bağlam.

(Devralındığı yer: BaseContext<TOptions>)
Options

Şemayla ilişkili kimlik doğrulama seçeneklerini alır.

(Devralındığı yer: BaseContext<TOptions>)
Properties

öğesini alır veya ayarlar AuthenticationProperties.

(Devralındığı yer: PropertiesContext<TOptions>)
RedirectUri

Yeniden yönlendirme işlemi için kullanılan URI'yi alır veya ayarlar.

Request

İstek.

(Devralındığı yer: BaseContext<TOptions>)
Response

Yanıt.

(Devralındığı yer: BaseContext<TOptions>)
Scheme

Kimlik doğrulama düzeni.

(Devralındığı yer: BaseContext<TOptions>)

Şunlara uygulanır