bevy_stdb_auth 0.1.0

A Bevy-native integration for the SpacetimeAuth issuer.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
use bevy_ecs::prelude::SystemSet;

/// Labels systems that manage SpacetimeAuth lifecycle work.
#[derive(Clone, Copy, Debug, Eq, Hash, PartialEq, SystemSet)]
pub enum StdbAuthSet {
    /// Runs application systems that submit authentication commands.
    Command,
    /// Resumes browser OIDC callbacks when running on browser targets.
    BrowserCallback,
    /// Requests automatic refresh operations for expiring sessions.
    AutoRefresh,
    /// Polls pending authentication operations and applies their results.
    Poll,
}