Docs & rules
dromara/Sa-TokenGitHub
This is a public, read-only report. Striff reads this repository's docs, turns each sentence that makes a claim about the code into a rule, and checks the rule against the code on the default branch. How this works
1 stale name in these docs.
dev1100c7cLast read Oct 5
Is this yours? Install to manage it
Once installed, Striff checks every pull request.
Rules summary
Documents
Rules
42 docs
dromara/Sa-TokenOpen repository
Stale names in these docs1
Each sentence below has a stale name: a type the default branch doesn't declare, or declares somewhere else. Edit the doc so it matches the code, or bring the type back.
- Gone
cn.dev33.satoken.dao.SaSessionForJacksonCustomized"@class": "cn.dev33.satoken.dao.SaSessionForJacksonCustomized", // java calss 信息
cn.dev33.satoken.daodeclares nothing by this name.
dromara/Sa-Token — documented rules
7 of 7 rules, printed November 17, 2026.
| The sentence in your docs | |||
|---|---|---|---|
SaTokenContext只是一个接口,没有工作能力,这也就意味着 SaTokenContext 接口的实现是必须的。 那么疑问来了,我们之前在 SpringBoot 中引用 Sa-Token 时为什么可以直接使用呢? | SaTokenContext is a contract | Holds | |
其实原理很简单, sa-token-spring-boot-starter集成包中已经内置了SaTokenContext的实现:SaTokenContextForSpring, 并且根据 Spring 的自动注入特性,在项目启动时注入到 Sa-Token 中,做到“开箱即用”。 | SaTokenContextForSpring implements SaTokenContext | Holds | |
"Sa-Token 全局类与方法:SaManager 管理配置、Dao、StpLogic 等组件;SaHolder 取当前 Request、Storage;SaRouter 路由鉴权;SaFoxUtil 提供内部工具。另含配置工厂、SpringMVCUtil 与 Reactor Holder,以及事件中心与参数签名入口。" | SaManager depends on StpLogic | Holds | |
不进入是正常现象, StpInterface 是鉴权接口,在执行鉴权代码时才会进入 StpInterface 实现类,登录认证时不会进入。 | StpInterface is a contract | Holds | |
在 sa-token-core 核心包中,Sa-Token 底层不能确认最终运行的 web 容器,所以抽象了 SaTokenContext 接口,对接不同容器时需要注入不同的实现, 通常这个注入工作都是框架自动完成的,你只需要按照文档开始部分集成相应的依赖即可。例如: | SaTokenContext is a contract | Holds | |
<!-- 1、自定义数据加载器:新建 SaOAuth2DataLoaderImpl 实现 SaOAuth2DataLoader 接口。 | SaOAuth2DataLoaderImpl implements SaOAuth2DataLoader | Holds | |
前面几篇介绍的api调用,都是经过 StpUtil 类的各种静态方法进行授权认证, 而如果我们深入它的源码,点此阅览 就会发现,此类并没有任何代码逻辑,唯一做的事就是对成员变量 stpLogic的各个API包装一下进行转发。 | StpUtil depends on StpLogic | Holds |
7 rules from 5 docs
More open-source reports
Every report →Other public repositories whose docs Striff read and checked against their code.
- earendil-works/pi 106 held 0 broken 0 out of date
- enso-org/enso 28 held 0 broken 0 out of date
- ericmjl/llamabot 66 held 0 broken 0 out of date
- event-driven-io/Pongo 1 held 0 broken 0 out of date
- Fellow93/RealisticBattleProject 95 held 0 broken 0 out of date
- finos/legend-pure 47 held 0 broken 1 out of date