Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/locaweb/cassette-plug
- Owner: locaweb
- License: mit
- Created: 2016-03-17T18:25:09.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2019-10-08T13:35:28.000Z (about 5 years ago)
- Last Synced: 2024-04-26T14:05:49.072Z (8 months ago)
- Topics: hacktoberfest, hacktoberfest2021
- Language: Elixir
- Homepage:
- Size: 65.4 KB
- Stars: 2
- Watchers: 7
- Forks: 6
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE.md
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"}]
end2. 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