Skip to main content

Crate openauth_axum

Crate openauth_axum 

Source
Expand description

Axum integration for OpenAuth.

Structs§

OpenAuthAxumOptions
Axum adapter options.

Enums§

OpenAuthAxumError
Errors returned while constructing an Axum router for OpenAuth.

Traits§

OpenAuthAxumExt
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_path with adapter-specific options.
routes
Build unmounted OpenAuth catch-all routes.
routes_with_options
Build unmounted OpenAuth catch-all routes with adapter-specific options.