Plug for HTTP Digest Authentication, connected to an Authentication database.
Summary
Functions
Run authentication mechanism with HTTP Digest If there is no authorization header in the request, reply with a random opaque and nonce In case of successful authentication, Returns: {:challenge_set, header_value} if the request had no authorization header. {:ok, user} if the authentication was successful {:error, message} if the authentication failed or something went wrong in the authentication process
Functions
Run authentication mechanism with HTTP Digest If there is no authorization header in the request, reply with a random opaque and nonce In case of successful authentication, Returns: {:challenge_set, header_value} if the request had no authorization header. {:ok, user} if the authentication was successful {:error, message} if the authentication failed or something went wrong in the authentication process