Skip to main content

Module plugin

Module plugin 

Source
Expand description

Plugin authoring interfaces and shared runtime types.

Structs§

AuthContext
Context passed to plugin methods.
AuthInitContext
Initialization context passed to plugin setup.
AuthRoute
Route definition for plugins
OpenApiBuilder
Builder for constructing an OpenAPI spec from plugins and core routes.
OpenApiSpec
Minimal OpenAPI 3.1.0 spec builder that collects routes from plugins.

Enums§

BeforeRequestAction
Action returned by AuthPlugin::before_request.

Traits§

AuthPlugin
Plugin trait that all authentication plugins must implement.