Skip to main content

Crate openauth_plugins

Crate openauth_plugins 

Source
Expand description

Official OpenAuth 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.

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.
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.
haveibeenpwned
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.
mcp
Model Context Protocol OAuth 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.
siwe
Sign-In with Ethereum plugin.
two_factor
Two-factor authentication plugin.
username
Username plugin.

Constants§

PLUGIN_IDS
VERSION