https://github.com/invrs/inverse_auth
The auth plug we are using in our elixir endpoints.
https://github.com/invrs/inverse_auth
Last synced: 12 months ago
JSON representation
The auth plug we are using in our elixir endpoints.
- Host: GitHub
- URL: https://github.com/invrs/inverse_auth
- Owner: invrs
- Created: 2016-01-07T14:07:12.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2019-01-24T16:17:49.000Z (over 7 years ago)
- Last Synced: 2025-02-25T23:28:49.731Z (over 1 year ago)
- Language: Elixir
- Size: 18.6 KB
- Stars: 0
- Watchers: 11
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# InverseAuth
The Inverse auth libraries for the Elixir Projects.
## Modules
### InverseAuth.Auth
A template for auth models that are project specific.
### InverseAuth.JWT
A module to decode JWT tokens.
### InverseAuth.Plug
A plug to be used to decode JWT tokens and assign them to `conn.assigns.user`.
## Usage
Add this to your `mix.exs`:
```Elixir
def deps do
[
#...
{:inverse_auth, github: "invrs/inverse_auth"},
#...
}
end
```