CookieAuthenticationEvents.OnRedirectToLogin プロパティ

定義

クライアントをサインイン URL にリダイレクトする必要がある場合に呼び出されます。

public:
 property Func<Microsoft::AspNetCore::Authentication::Cookies::CookieRedirectContext ^, System::Threading::Tasks::Task ^> ^ OnRedirectToLogin { 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 ^> ^ OnRedirectToLogin { 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> OnRedirectToLogin { get; set; }
public Func<Microsoft.AspNetCore.Authentication.RedirectContext<Microsoft.AspNetCore.Authentication.Cookies.CookieAuthenticationOptions>,System.Threading.Tasks.Task> OnRedirectToLogin { get; set; }
member this.OnRedirectToLogin : Func<Microsoft.AspNetCore.Authentication.Cookies.CookieRedirectContext, System.Threading.Tasks.Task> with get, set
member this.OnRedirectToLogin : Func<Microsoft.AspNetCore.Authentication.RedirectContext<Microsoft.AspNetCore.Authentication.Cookies.CookieAuthenticationOptions>, System.Threading.Tasks.Task> with get, set
Public Property OnRedirectToLogin As Func(Of CookieRedirectContext, Task)
Public Property OnRedirectToLogin As Func(Of RedirectContext(Of CookieAuthenticationOptions), Task)

プロパティ値

適用対象