PlugHmacAuth v0.1.0 PlugHmacAuth.ErrorHandler behaviour View Source

PlugHmacAuth emit error types: :invalid_key :invalid_signature

Link to this section Summary

Callbacks

Define the method of how to deal with unauthentication

Link to this section Callbacks

Specs

auth_error(conn :: Plug.Conn.t(), type :: atom()) :: Plug.Conn.t()

Define the method of how to deal with unauthentication