Content-Length: 260978 | pFad | https://github.com/bryanjos/plug_jwt

96 GitHub - bryanjos/plug_jwt: Plug for JWT authentication
Skip to content

bryanjos/plug_jwt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Plug for JWT authentication

Resources

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages









ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: https://github.com/bryanjos/plug_jwt

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy