CookieAuthenticationEvents.RedirectToLogin Methode
Definition
Wichtig
Einige Informationen beziehen sich auf Vorabversionen, die vor dem Release ggf. grundlegend überarbeitet werden. Microsoft übernimmt hinsichtlich der hier bereitgestellten Informationen keine Gewährleistungen, seien sie ausdrücklich oder konkludent.
Überlädt
| Name | Beschreibung |
|---|---|
| RedirectToLogin(CookieRedirectContext) |
Implementiert die Schnittstellenmethode durch Aufrufen der zugehörigen Delegatmethode. |
| RedirectToLogin(RedirectContext<CookieAuthenticationOptions>) |
Wird aufgerufen, wenn der Client an die Anmelde-URL umgeleitet wird. |
RedirectToLogin(CookieRedirectContext)
Implementiert die Schnittstellenmethode durch Aufrufen der zugehörigen Delegatmethode.
public:
virtual System::Threading::Tasks::Task ^ RedirectToLogin(Microsoft::AspNetCore::Authentication::Cookies::CookieRedirectContext ^ context);
public virtual System.Threading.Tasks.Task RedirectToLogin(Microsoft.AspNetCore.Authentication.Cookies.CookieRedirectContext context);
abstract member RedirectToLogin : Microsoft.AspNetCore.Authentication.Cookies.CookieRedirectContext -> System.Threading.Tasks.Task
override this.RedirectToLogin : Microsoft.AspNetCore.Authentication.Cookies.CookieRedirectContext -> System.Threading.Tasks.Task
Public Overridable Function RedirectToLogin (context As CookieRedirectContext) As Task
Parameter
- context
- CookieRedirectContext
Enthält Informationen zum Ereignis.
Gibt zurück
Implementiert
Gilt für:
RedirectToLogin(RedirectContext<CookieAuthenticationOptions>)
Wird aufgerufen, wenn der Client an die Anmelde-URL umgeleitet wird.
public:
virtual System::Threading::Tasks::Task ^ RedirectToLogin(Microsoft::AspNetCore::Authentication::RedirectContext<Microsoft::AspNetCore::Authentication::Cookies::CookieAuthenticationOptions ^> ^ context);
public virtual System.Threading.Tasks.Task RedirectToLogin(Microsoft.AspNetCore.Authentication.RedirectContext<Microsoft.AspNetCore.Authentication.Cookies.CookieAuthenticationOptions> context);
abstract member RedirectToLogin : Microsoft.AspNetCore.Authentication.RedirectContext<Microsoft.AspNetCore.Authentication.Cookies.CookieAuthenticationOptions> -> System.Threading.Tasks.Task
override this.RedirectToLogin : Microsoft.AspNetCore.Authentication.RedirectContext<Microsoft.AspNetCore.Authentication.Cookies.CookieAuthenticationOptions> -> System.Threading.Tasks.Task
Public Overridable Function RedirectToLogin (context As RedirectContext(Of CookieAuthenticationOptions)) As Task