Udostępnij za pośrednictwem


CookieAuthenticationEvents.RedirectToLogout Metoda

Definicja

Przeciążenia

RedirectToLogout(CookieRedirectContext)

Implementuje metodę interfejsu, wywołując powiązaną metodę delegata.

RedirectToLogout(RedirectContext<CookieAuthenticationOptions>)

Wywoływane, gdy klient jest przekierowywany do adresu URL wylogowania.

RedirectToLogout(CookieRedirectContext)

Implementuje metodę interfejsu, wywołując powiązaną metodę delegata.

public:
 virtual System::Threading::Tasks::Task ^ RedirectToLogout(Microsoft::AspNetCore::Authentication::Cookies::CookieRedirectContext ^ context);
public virtual System.Threading.Tasks.Task RedirectToLogout (Microsoft.AspNetCore.Authentication.Cookies.CookieRedirectContext context);
abstract member RedirectToLogout : Microsoft.AspNetCore.Authentication.Cookies.CookieRedirectContext -> System.Threading.Tasks.Task
override this.RedirectToLogout : Microsoft.AspNetCore.Authentication.Cookies.CookieRedirectContext -> System.Threading.Tasks.Task
Public Overridable Function RedirectToLogout (context As CookieRedirectContext) As Task

Parametry

context
CookieRedirectContext

Zawiera informacje o zdarzeniu

Zwraca

Implementuje

Dotyczy

RedirectToLogout(RedirectContext<CookieAuthenticationOptions>)

Źródło:
CookieAuthenticationEvents.cs
Źródło:
CookieAuthenticationEvents.cs
Źródło:
CookieAuthenticationEvents.cs

Wywoływane, gdy klient jest przekierowywany do adresu URL wylogowania.

public:
 virtual System::Threading::Tasks::Task ^ RedirectToLogout(Microsoft::AspNetCore::Authentication::RedirectContext<Microsoft::AspNetCore::Authentication::Cookies::CookieAuthenticationOptions ^> ^ context);
public virtual System.Threading.Tasks.Task RedirectToLogout (Microsoft.AspNetCore.Authentication.RedirectContext<Microsoft.AspNetCore.Authentication.Cookies.CookieAuthenticationOptions> context);
abstract member RedirectToLogout : Microsoft.AspNetCore.Authentication.RedirectContext<Microsoft.AspNetCore.Authentication.Cookies.CookieAuthenticationOptions> -> System.Threading.Tasks.Task
override this.RedirectToLogout : Microsoft.AspNetCore.Authentication.RedirectContext<Microsoft.AspNetCore.Authentication.Cookies.CookieAuthenticationOptions> -> System.Threading.Tasks.Task
Public Overridable Function RedirectToLogout (context As RedirectContext(Of CookieAuthenticationOptions)) As Task

Parametry

Zwraca

Dotyczy