CookieAuthenticationEvents.OnRedirectToReturnUrl Property

Definition

Invoked when the client is to be redirected after logout.

public:
 property Func<Microsoft::AspNetCore::Authentication::Cookies::CookieRedirectContext ^, System::Threading::Tasks::Task ^> ^ OnRedirectToReturnUrl { Func<Microsoft::AspNetCore::Authentication::Cookies::CookieRedirectContext ^, System::Threading::Tasks::Task ^> ^ get(); void set(Func<Microsoft::AspNetCore::Authentication::Cookies::CookieRedirectContext ^, System::Threading::Tasks::Task ^> ^ value); };
public:
 property Func<Microsoft::AspNetCore::Authentication::RedirectContext<Microsoft::AspNetCore::Authentication::Cookies::CookieAuthenticationOptions ^> ^, System::Threading::Tasks::Task ^> ^ OnRedirectToReturnUrl { Func<Microsoft::AspNetCore::Authentication::RedirectContext<Microsoft::AspNetCore::Authentication::Cookies::CookieAuthenticationOptions ^> ^, System::Threading::Tasks::Task ^> ^ get(); void set(Func<Microsoft::AspNetCore::Authentication::RedirectContext<Microsoft::AspNetCore::Authentication::Cookies::CookieAuthenticationOptions ^> ^, System::Threading::Tasks::Task ^> ^ value); };
public Func<Microsoft.AspNetCore.Authentication.Cookies.CookieRedirectContext,System.Threading.Tasks.Task> OnRedirectToReturnUrl { get; set; }
public Func<Microsoft.AspNetCore.Authentication.RedirectContext<Microsoft.AspNetCore.Authentication.Cookies.CookieAuthenticationOptions>,System.Threading.Tasks.Task> OnRedirectToReturnUrl { get; set; }
member this.OnRedirectToReturnUrl : Func<Microsoft.AspNetCore.Authentication.Cookies.CookieRedirectContext, System.Threading.Tasks.Task> with get, set
member this.OnRedirectToReturnUrl : Func<Microsoft.AspNetCore.Authentication.RedirectContext<Microsoft.AspNetCore.Authentication.Cookies.CookieAuthenticationOptions>, System.Threading.Tasks.Task> with get, set
Public Property OnRedirectToReturnUrl As Func(Of CookieRedirectContext, Task)
Public Property OnRedirectToReturnUrl As Func(Of RedirectContext(Of CookieAuthenticationOptions), Task)

Property Value

Applies to