Docs.rs
scl-core-1.0.2
scl-core 1.0.2
Permalink
Docs.rs crate page
LGPL-3.0-only
Links
Homepage
Repository
crates.io
Source
Owners
Steve-xmh
Dependencies
anyhow ^1.0
normal
async-trait ^0.1
normal
base64 ^0.21
normal
dirs ^5.0
normal
fs_extra ^1.3.0
normal
futures ^0.3.21
normal
image ^0.24
normal
log ^0.4
normal
nom ^7.1
normal
once_cell ^1.7
normal
path-absolutize ^3.0
normal
serde ^1.0
normal
serde_json ^1.0
normal
sha1_smol ^1.0
normal
shell-words ^1.0
normal
shellwords ^1.1.0
normal
smol ^1.2
normal
surf ^2.3
normal
toml ^0.7
normal
url ^2.2
normal
urlencoding ^2.1
normal
uuid ^1.0.0
normal
webp ^0.2
normal
zip ^0.6.2
normal
libc ^0.2
normal
windows ^0.48
normal
winreg ^0.50
normal
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
scl_
core
1.0.2
Module authlib
Module Items
Functions
In scl_
core::
auth
scl_core
::
auth
Module
authlib
Copy item path
Source
Expand description
用于 authlib-injector 第三方登录的登录逻辑
Functions
§
refresh_
token
根据初次登陆/二次验证取得的用户令牌,刷新验证出可供正常游戏的登录令牌
start_
auth
使用指定的 Authlib 服务器地址和对应的账户密码开始进行 Authlib 第三方登录验证
validate
验证对应的访问令牌和当前启动器令牌是否可以用于现在进行游戏