Partager via


CookieAuthenticationEvents.RedirectToReturnUrl Méthode

Définition

Surcharges

RedirectToReturnUrl(CookieRedirectContext)

Implémente la méthode d’interface en appelant la méthode déléguée associée.

RedirectToReturnUrl(RedirectContext<CookieAuthenticationOptions>)

Appelé lorsque le client est redirigé après déconnexion.

RedirectToReturnUrl(CookieRedirectContext)

Implémente la méthode d’interface en appelant la méthode déléguée associée.

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

Paramètres

context
CookieRedirectContext

Contient des informations concernant l'événement

Retours

Implémente

S’applique à

RedirectToReturnUrl(RedirectContext<CookieAuthenticationOptions>)

Source:
CookieAuthenticationEvents.cs
Source:
CookieAuthenticationEvents.cs
Source:
CookieAuthenticationEvents.cs

Appelé lorsque le client est redirigé après déconnexion.

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

Paramètres

Retours

S’applique à