View Source FranklinWeb.Schema.Middleware.Authorize (Franklin v0.1.0)

Defines a middleware that checks for a current user in the context and if none is present, returns an unauthorized error.

Link to this section Summary

Link to this section Functions

Callback implementation for Absinthe.Middleware.call/2.