Docs.rs
sa-token-plugin-rocket-0.1.12
sa-token-plugin-rocket 0.1.12
Docs.rs crate page
MIT
OR
Apache-2.0
Links
Homepage
Repository
crates.io
Source
Owners
llc-993
Dependencies
async-trait ^0.1
normal
rocket ^0.5
normal
sa-token-adapter ^0.1.12
normal
sa-token-core ^0.1.12
normal
sa-token-macro ^0.1.12
normal
sa-token-storage-database ^0.1.12
normal
optional
sa-token-storage-memory ^0.1.12
normal
optional
sa-token-storage-redis ^0.1.12
normal
optional
serde ^1.0
normal
serde_json ^1.0
normal
tokio ^1.35
normal
tracing ^0.1
normal
urlencoding ^2.1.3
normal
Versions
71.74%
of the crate is documented
Platform
x86_64-unknown-linux-gnu
Feature flags
docs.rs
About docs.rs
Badges
Builds
Metadata
Shorthand URLs
Download
Rustdoc JSON
Build queue
Privacy policy
Rust
Rust website
The Book
Standard Library API Reference
Rust by Example
The Cargo Guide
Clippy Documentation
Module extractor
sa_
token_
plugin_
rocket
0.1.12
Module extractor
Module Items
Structs
In crate sa_
token_
plugin_
rocket
sa_token_plugin_rocket
Module
extractor
Copy item path
Source
Expand description
Rocket Request Guards (提取器)
Structs
§
Auth
Error
认证错误响应
Login
IdGuard
LoginId 守卫 - 直接获取登录用户的 ID
Optional
SaToken
Guard
可选 Token 守卫 - 不存在也不报错
SaToken
Guard
Token 守卫 - 必须存在,否则返回错误