PlugHmacAuth v0.1.0 PlugHmacAuth.SecretHandler behaviour View Source

Link to this section Summary

Callbacks

Define the method of how to get secret_key by access_key_id

Link to this section Callbacks

Link to this callback

get_secret_key(access_key_id)

View Source

Specs

get_secret_key(access_key_id :: String.t()) ::
  {:ok, String.t()} | {:error, atom()}

Define the method of how to get secret_key by access_key_id