http_signatures v0.1.1 HTTPSignatures.Adapter behaviour
Contract for HTTPSignatures adapters.
Projects making use of the HTTPSignatures library use an adapter in order to provide and refresh the keys used to validate signatures.
To set the adapter in your project, use the config system:
config :http_signatures, adapter: YourAdapter
        Link to this section Summary
Callbacks
Fetch a public key, given a Plug.Conn structure.
Refetch a public key, given a Plug.Conn structure.
Called when the initial key supplied failed to validate the signature.
Link to this section Callbacks
    
      
      Link to this callback
    
    
  fetch_public_key(arg1)
Specs
Fetch a public key, given a Plug.Conn structure.
    
      
      Link to this callback
    
    
  refetch_public_key(arg1)
Specs
Refetch a public key, given a Plug.Conn structure.
Called when the initial key supplied failed to validate the signature.