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

Parameters:

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

  • config_module: The module that implements Joken.Config

Summary

call(conn, config)
init(opts)

Functions

call(conn, config)
init(opts)