using Microsoft.AspNetCore.Authentication.JwtBearer; using Microsoft.AspNetCore.Authorization; namespace WalkingTec.Mvvm.Mvc { public class AuthorizeJwtAttribute : AuthorizeAttribute { public AuthorizeJwtAttribute() { AuthenticationSchemes = JwtBearerDefaults.AuthenticationScheme; } } }