Skip to content

henrylearn2rock/JsonWebToken-cfc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

JsonWebToken-cfc

A lightweight implemention of JSON Web Token (http://jwt.io/) for ColdFusion 10+

A single CFC written in very readable pure CFScript with no third party dependency.

Here is an example JWT from http://jwt.io/ :

jwt = new JsonWebToken("eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiYWRtaW4iOnRydWV9.TJVA95OrM7E2cBab30RMHrHDcEfxjoYZgeFONFh7HgQ");

payload = jwt.decode('HS256', 'secret');

If you are looking for RS256 / RS384 / RS512 support, check out https://github.com/bennadel/JSONWebTokens.cfc

About

A lightweight implemention of JSON Web Token (http://jwt.io/) for ColdFusion 10+

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published