Learn how to protect your API endpoints in your ShipThing application.
honoAuthMiddlewareWrap
in your router or on a specific endpoint.
honoAuthMiddlewareWrap
will also provide the auth
infromation to the endpoint. If the handler is reached, both objects are available in the auth
.