SimpleAuth v1.5.7 SimpleAuth.AuthenticateAPI behaviour View Source
API for authentication
Link to this section Summary
Callbacks
Checks login details. Returns {:ok, user} or :error. Can also return :blocked if user is blocked
Link to this section Callbacks
Link to this callback
login(user, password)
View Source
login(user :: term, password :: term) :: term
Checks login details. Returns {:ok, user} or :error. Can also return :blocked if user is blocked