plug_hyper_auth v0.2.1 HyperAuth.Authenticator.Dummy
Dummy authenticator.
Link to this section Summary
Functions
Dummy authentication to use in test environment
Link to this section Functions
Link to this function
authenticate(credentials, opts)
Dummy authentication to use in test environment.
Examples
iex> HyperAuth.Authenticator.Dummy.authenticate(%{ …> “Username” => “test”, …> “Password” => “tset” …> }, [authenticator_dummy_password: “tset”]) %{
"uid" => "test"
}