Token使用
摘要:
1.NeGet添加包 IdentityModel和System.IdentityModel.Tokens.Jwt和Microsoft.AspNetCore.Authorization 2.Startup.cs注册 3.添加中间件 app.UseAuthentication(); 4.写入Token 阅读全文
posted @ 2019-08-12 15:17 一只狐狸。 阅读(621) 评论(0) 推荐(0)
posted @ 2019-08-12 15:17 一只狐狸。 阅读(621) 评论(0) 推荐(0)
posted @ 2019-08-12 09:45 一只狐狸。 阅读(1252) 评论(0) 推荐(0)