#refresh-token #access-token #gamedev #rotation #bevy #applications #credentials

bevy_key_rotation

Access and refresh token rotation for Bevy applications

1 unstable release

0.1.0 Mar 28, 2024

#1025 in Game dev

25 downloads per month

MIT/Apache

32KB
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.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

~45–86MB
~1.5M SLoC