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

bevy_key_rotation

Access and refresh token rotation for Bevy applications

2 unstable releases

0.2.0 Jul 5, 2024
0.1.0 Mar 28, 2024

#731 in Game dev

36 downloads per month

Apache-2.0 OR MIT

34KB
270 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.13 0.1, main
< 0.13 Unsupported

Usage

Please see examples for more.

License

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

Dependencies

~42–79MB
~1.5M SLoC