Popularity
4.7
Declining
Activity
0.0
Stable
36
3
5

Monthly Downloads: 0
Programming language: Elixir
License: Apache License 2.0
Latest version: v0.7.1

plug_jwt alternatives and similar packages

Based on the "Framework Components" category

Do you think we are missing an alternative of plug_jwt or a related project?

Add another 'Framework Components' Package

README

PlugJwt

A JWT Plug

Usage:

    #When reading from joken config block
    plug PlugJwt

    #or the module that implements `Joken.Config` can be set explicitly
    plug PlugJwt, config_module: My.Joken.Config

    #You may also add a list of expected claims to verify
    plug PlugJwt, config_module: My.Joken.Config, claims: [aud: "spiderman", admin: true]

Parameters:

PlugJWT will attempt to read from your joken config block. Parameters can also be placed on the Plug itself which overrides the joken configuration

  • config_module: The module that implements Joken.Config