Casbin = way to authorization
A place for Casbin developers and users
现在注册
已注册用户请  登录
主题样式选择
默认主题样式 ✅
知乎主题样式 
hackerchai
hackerchai

Weekly Report 10 (August 3 - August 9)

Achievement this week

  1. Post controller finish
  2. Some authentication code
  3. JWT middleware finish
  4. Add LoginSesion to user table

Milestone

Summary

This week, I add JWT middleware to real-world-app. Due to support the casbin middleware I put user's username into Actix Extensions which can be also retieved in the HttpRequest when handling data. To difference user's login state, I add LoginSession into user table, and put it into JWT body to check whether whe user is logout.

Plan for next week

  1. WIP Working with real-world app
  2. Intergrate casbin into app
关于   ·   FAQ   ·   API   ·   我们的愿景   ·   广告投放   ·   感谢   ·   实用小工具   ·   50 人在线   最高记录 50   ·     选择语言  ·     选择编辑器
创意工作者们的社区
World is powered by code
VERSION: 6f2aea9 · 16ms · UTC 18:36 · PVG 02:36 · LAX 11:36 · JFK 14:36
♥ Do have faith in what you're doing.