Docs.rs
sa-token-core-0.2.0
sa-token-core 0.2.0
Docs.rs crate page
MIT
OR
Apache-2.0
25 August 2026
Links
Homepage
Repository
crates.io
Source
Owners
llc-993
Dependencies
anyhow ^1.0
normal
argon2 ^0.5
normal
async-trait ^0.1
normal
base64 ^0.22
normal
chrono ^0.4.44
normal
getrandom ^0.2
normal
hex ^0.4.3
normal
hmac ^0.13
normal
jsonwebtoken ^10.4.0
normal
reqwest ^0.12
normal
optional
sa-token-adapter ^0.2.0
normal
serde ^1.0.228
normal
serde_json ^1.0
normal
sha2 ^0.11.0
normal
thiserror ^2.0.18
normal
tokio ^1.52.3
normal
tracing ^0.1.44
normal
urlencoding ^2.1.3
normal
uuid ^1.23.1
normal
sa-token-storage-memory ^0.2.0
dev
Versions
100%
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
Skip to main content
check_token
sa_
token_
core
0.2.0
In sa_
token_
core::
same_
token
sa_token_core
::
same_token
Function
check_
token
Copy item path
Source
pub async fn check_token(token: &
str
) ->
SaTokenResult
<
()
>
Expand description
Check a raw token string. 校验原始 token 字符串。