Packages

An APIac authenticator plug for API authentication using the HTTP Bearer scheme

Retired package: Security issue - unsafe SSL handling (use of an insecure library)

Current section

Files

Jump to
Raw

mix.exs

defmodule APIacAuthBearer.Mixfile do
use Mix.Project
def project do
[
app: :apiac_auth_bearer,
description: "An APIac authenticator plug for API authentication using the HTTP Bearer scheme",
version: "1.0.0",
elixir: "~> 1.5",
start_permanent: Mix.env() == :prod,
deps: deps(),
docs: [
main: "readme",
extras: ["README.md"]
],
package: package(),
source_url: "https://github.com/tanguilp/apiac_auth_bearer"
]
end
def application do
[
extra_applications: [:logger]
]
end
defp deps do
[
{:plug, "~> 1.0"},
{:httpoison, "~> 1.0"},
{:tesla, "~> 1.3.0"},
{:hackney, "~> 1.0"},
{:apiac, "~> 1.0"},
{:oauth2_utils, "~> 0.1.0"},
{:oauth2_metadata_updater, "~> 1.0"},
{:dialyxir, "~> 1.0.0-rc.4", only: [:dev], runtime: false},
{:ex_doc, "~> 0.19", only: :dev, runtime: false}
]
end
def package() do
[
licenses: ["Apache-2.0"],
links: %{"GitHub" => "https://github.com/tanguilp/apiac_auth_bearer"}
]
end
end