Expand description
Axum integration for OpenAuth.
Structs§
- Open
Auth Axum Options - Axum adapter options.
Enums§
- Open
Auth Axum Error - Errors returned while constructing an Axum router for OpenAuth.
Traits§
- Open
Auth Axum Ext - Convenience extension methods for mounting OpenAuth into Axum.
Functions§
- handle
- Handle a single Axum request through OpenAuth.
- handle_
ref - Handle a single Axum request through a borrowed OpenAuth instance.
- handle_
ref_ with_ options - Handle a single Axum request through a borrowed OpenAuth instance with options.
- handle_
with_ options - Handle a single Axum request through OpenAuth with adapter-specific options.
- router
- Mount OpenAuth at
auth.context().base_path. - router_
with_ options - Mount OpenAuth at
auth.context().base_pathwith adapter-specific options. - routes
- Build unmounted OpenAuth catch-all routes.
- routes_
with_ options - Build unmounted OpenAuth catch-all routes with adapter-specific options.