JWS AddAuthentication jwt取消授权响应ErrorHandlingMiddleware

时间:2019-07-09 06:43:09

标签: .net-core .net-core-2.1

public async Task Invoke(HttpContext context)
{
    try
    {
        await next.Invoke(context);
    }
    catch (Exception ex)
    {
        await HandleExceptionAsync(context, ex);
    }
}

0 个答案:

没有答案