次の方法で共有


JwtBearerEvents.OnAuthenticationFailed プロパティ

定義

要求の処理中に認証が失敗した場合に呼び出されます。 この例外は、抑制しない限り、このイベントの後で再度スローされます。

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

プロパティ値

適用対象