JwtBearerEvents.OnForbidden プロパティ

定義

Authorization が失敗し、Forbidden 応答が発生した場合に呼び出されます。

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

プロパティ値

適用対象