Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/locaweb/cassette-plug

A Plug for authentication using Cassette
https://github.com/locaweb/cassette-plug

hacktoberfest hacktoberfest2021

Last synced: about 1 month ago
JSON representation

A Plug for authentication using Cassette

Awesome Lists containing this project

README

        

# Getting started

A Plug to authenticate and authorize users based on Cassette

[![Build Status](https://travis-ci.org/locaweb/cassette-plug.svg?branch=master)](https://travis-ci.org/locaweb/cassette-plug)

## Installation

The package can be installed as:

1. Add cassette_plug to your list of dependencies in `mix.exs`:

def deps do
[{:cassette_plug, "~> 1.0"}]
end

2. Ensure cassette-plug is started before your application:

def application do
[applications: [:cassette_plug]]
end

## Usage

Please check the module docs on `Cassette.Plug` and `Cassette.Controller` for usage