https://github.com/locaweb/cassette-plug
A Plug for authentication using Cassette
https://github.com/locaweb/cassette-plug
hacktoberfest hacktoberfest2021
Last synced: 15 days 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 (over 9 years ago)
- Default Branch: main
- Last Pushed: 2024-12-09T17:37:26.000Z (7 months ago)
- Last Synced: 2025-06-01T01:09:11.369Z (about 2 months ago)
- Topics: hacktoberfest, hacktoberfest2021
- Language: Elixir
- Homepage:
- Size: 65.4 KB
- Stars: 2
- Watchers: 6
- 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
[](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