Current section

Files

Jump to
safe_rpc lib safe_rpc authorizer allow_all.ex
Raw

lib/safe_rpc/authorizer/allow_all.ex

defmodule SafeRPC.Authorizer.AllowAll do
@moduledoc "Default SafeRPC authorizer."
@behaviour SafeRPC.Authorizer
@impl true
def authorize(_request, _context), do: :ok
end