# Cobwebhook

Set of plugs that do authentication and payload processing for various services.

## API

Use as a part of Plug pipeline:

defmodule Pipeline do
  use Plug.Builder

  def secrets do

  plug Cobwebhook.Slack, &__MODULE__.secrets/0
  plug Webhook

Takes a function that returns a list of valid secrets. On valid request, sets
`conn.body_params` and `conn.assigns.secret` and forwards request to the next
plug in the pipeline.