CookieAuthenticationEvents.OnRedirectToAccessDenied プロパティ

定義

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

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

プロパティ値

適用対象