Plug.Crypto.non_executable_binary_to_term
You're seeing just the function
non_executable_binary_to_term
, go back to Plug.Crypto module for more information.
Specs
A restricted version of :erlang.binary_to_term/2
that forbids
executable terms, such as anonymous functions.
The opts
are given to the underlying :erlang.binary_to_term/2
call, with an empty list as a default.
By default this function does not restrict atoms, as an atom interned in one node may not yet have been interned on another (except for releases, which preload all code).
If you want to avoid atoms from being created, then you can pass
[:safe]
as options, as that will also enable the safety mechanisms
from :erlang.binary_to_term/2
itself.