Current section

Files

Jump to
safe_rpc lib safe_rpc authorizer.ex
Raw

lib/safe_rpc/authorizer.ex

defmodule SafeRPC.Authorizer do
@moduledoc "Optional authorization hook for SafeRPC requests."
@callback authorize(map(), term()) :: :ok | {:error, term()}
end