Expand description
Official RustAuth plugin module surface.
Plugin modules are ported against the Better Auth upstream reference where the behavior belongs on the server side, then shaped as idiomatic Rust APIs.
Re-exports§
pub use schema_plugins::configured_official_schema_plugins;pub use schema_plugins::is_official_schema_plugin;pub use schema_plugins::official_schema_plugin;pub use schema_plugins::official_schema_plugin_ids;pub use schema_plugins::APP_CONFIGURED_SCHEMA_PLUGIN_IDS;pub use schema_plugins::NO_FIXED_SCHEMA_PLUGIN_IDS;
Modules§
- access
- Access control helpers inspired by Better Auth’s access plugin.
- additional_
fields - Additional fields plugin.
- admin
- Server-side admin plugin.
- anonymous
- Anonymous authentication plugin.
- api_key
- API key plugin.
- bearer
- Bearer token plugin.
- captcha
- CAPTCHA plugin.
- custom_
session - Custom session plugin.
- device_
authorization - OAuth 2.0 device authorization plugin.
- email_
otp - Email OTP plugin.
- generic_
oauth - Generic OAuth plugin support.
- have_
i_ been_ pwned - Have I Been Pwned password check plugin.
- jwt
- Server-side JWT and JWKS plugin.
- last_
login_ method - Last login method plugin.
- magic_
link - Magic link authentication plugin.
- multi_
session - Multi-session plugin.
- oauth_
proxy - OAuth proxy plugin.
- one_tap
- Google One Tap server plugin.
- one_
time_ token - One-time token plugin.
- open_
api - OpenAPI schema and reference plugin.
- organization
- Organization plugin.
- phone_
number - Phone number authentication plugin.
- prelude
- Convenient re-exports for wiring official plugins into
RustAuth. - schema_
plugins - Default official plugin instances for CLI schema and migration planning.
- siwe
- Sign-In with Ethereum plugin.
- two_
factor - Two-factor authentication plugin.
- username
- Username plugin.