#refresh-token #access-token #gamedev #rotation #bevy #non-blocking #applications

bevy_key_rotation

Access and refresh token rotation for Bevy applications

5 releases (3 breaking)

0.4.0 Mar 10, 2025
0.3.1 Dec 2, 2024
0.3.0 Dec 2, 2024
0.2.0 Jul 5, 2024
0.1.0 Mar 28, 2024

#773 in Game dev

Download history 19/week @ 2024-11-25 288/week @ 2024-12-02 10/week @ 2024-12-09 11/week @ 2025-02-24 12/week @ 2025-03-03 113/week @ 2025-03-10

136 downloads per month

Apache-2.0 OR MIT

33KB
267 lines

Bevy Key Rotation

MIT/Apache 2.0 crates.io docs.rs

A minimum crate for non-blocking, continuous use of an access token, by ensuring it is constantly rotated ahead-of-time via refresh token. When a refresh token needs to be rotated, it is rotated with username/password credentials.

There is full API support for wasm and native. Android and iOS are untested (Help needed).

Bevy version support

bevy bevy_key_rotation
0.15 0.3-0.4, main
0.14 0.2
0.13 0.1
< 0.13 Unsupported

Usage

Please see examples for more.

License

This project is dual-licensed under both Apache 2.0 and MIT licenses.

Dependencies

~45–80MB
~1.5M SLoC