Packages

Library faciliating OpenID authentication flow throughout Phoenix application(s)

Current section

Files

Jump to
keen_auth lib plug authorize roles.ex
Raw

lib/plug/authorize/roles.ex

defmodule KeenAuth.Plug.Authorize.Roles do
@behaviour Plug
import KeenAuth.Plug.Authorize
def init(opts) do
build_config(opts)
end
def call(conn, opts) do
roles(conn, opts)
end
end