dioxus-auth 0.0.1

Dioxus-native authentication and session management.
Documentation
  • Coverage
  • 5.56%
    1 out of 18 items documented0 out of 0 items with examples
  • Size
  • Source code size: 23.1 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 629.7 kB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 1s Average build duration of successful builds.
  • all releases: 1s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • shedrackgodstime/dioxus-auth
    6 0 0
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • shedrackgodstime

dioxus-auth

Crates.io Documentation License

dioxus-auth is a planned Dioxus-native authentication and session-management crate for fullstack Dioxus applications.

The project is at the start stage. The current code defines the first core types only; Dioxus hooks, Axum integration, server functions, and examples are the next implementation milestones.

Goals

  • Feel native inside Dioxus apps.
  • Keep the server as the source of truth.
  • Use opaque, server-side sessions by default.
  • Expose explicit auth state with Loading, Authenticated, and Unauthenticated.
  • Stay storage-agnostic.
  • Integrate cleanly with Dioxus fullstack and Axum.

Non-Goals For The First Release

  • OAuth
  • passkeys
  • MFA
  • RBAC/permissions
  • password reset
  • email verification
  • JWT/bearer auth
  • production database adapters
  • hosted-provider integrations

Current Status

Started.

Implemented:

  • AuthStatus
  • AuthUser
  • Session
  • SessionId
  • AuthError

Next:

  1. Design UserStore and SessionStore.
  2. Implement an in-memory store.
  3. Add Dioxus feature flags.
  4. Prototype AuthProvider and use_auth().
  5. Build a minimal fullstack example.

License

Licensed under either of:

  • Apache License, Version 2.0
  • MIT license