Haytni v0.6.1 Haytni.AuthenticablePlugin.Config View Source

Link to this section Summary

Link to this section Types

Specs

t() :: %Haytni.AuthenticablePlugin.Config{
  authentication_keys: [atom(), ...],
  password_check_fun:
    (struct(),
     Comeonin.PasswordHash.password_hash(),
     Comeonin.PasswordHash.opts() ->
       {:ok, struct()} | {:error, String.t()}),
  password_hash_fun:
    (Comeonin.PasswordHash.password() -> Comeonin.PasswordHash.password_hash())
}