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

bevy_key_rotation

Access and refresh token rotation for Bevy applications

4 releases (2 breaking)

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

#731 in Game dev

31 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, 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–79MB
~1.5M SLoC