Salty.Auth behaviour (libsalty2 v0.3.0) View Source

Link to this section Summary

Link to this section Callbacks

Specs

auth(binary(), binary()) :: {:ok, binary()} | {:error, atom()}

Specs

bytes() :: non_neg_integer()

Specs

init(binary()) :: {:ok, binary()} | {:error, atom()}

Specs

keybytes() :: non_neg_integer()
Link to this callback

verify(binary, binary, binary)

View Source

Specs

verify(binary(), binary(), binary()) :: :ok | {:error, atom()}

Link to this section Functions