CookieAuthenticationEvents.RedirectToLogout Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
RedirectToLogout(CookieRedirectContext) |
Implements the interface method by invoking the related delegate method. |
RedirectToLogout(RedirectContext<CookieAuthenticationOptions>) |
Invoked when the client is being redirected to the log out url. |
RedirectToLogout(CookieRedirectContext)
Implements the interface method by invoking the related delegate method.
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
Parameters
- context
- CookieRedirectContext
Contains information about the event
Returns
Implements
Applies to
RedirectToLogout(RedirectContext<CookieAuthenticationOptions>)
Invoked when the client is being redirected to the log out url.
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