다음을 통해 공유


JwtBearerEvents.OnForbidden 속성

정의

권한 부여가 실패하고 사용할 수 없음 응답이 발생하는 경우 호출됩니다.

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)

속성 값

적용 대상