Lockspire.Web.AdminRouter (lockspire v1.2.0)

Copy Markdown

Mountable Phoenix router exposing only Lockspire operator/admin LiveViews.

Host applications should mount this router behind their own operator authentication pipeline before the general Lockspire.Web.Router forward.

Summary

Functions

Callback invoked by Plug on every request.

Callback required by Plug that initializes the router for serving web requests.

Functions

call(conn, opts)

Callback invoked by Plug on every request.

formatted_routes(_)

Callback implementation for Phoenix.VerifiedRoutes.formatted_routes/1.

init(opts)

Callback required by Plug that initializes the router for serving web requests.

verified_route?(_, split_path)

Callback implementation for Phoenix.VerifiedRoutes.verified_route?/2.