Skip to content

OmegaSistemas/SimpleJWT

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

SimpleJWT

Simple way to encode your payloads with Java 6.

This class only serve to encode a payload (Map) in JSON, simple and direct, only work with HS256(yet)

Example

    Map<String, Object> payload = new HashMap<String, Object>();
    payload.put("pub", "251234");
    payload.put("exp", 1891212121);
    payload.put("foo", "bar");

    String token = JWT.encode(payload, "mysecretkeyisgreat");
		

About

Simple way to encode your payloads with Java 6.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages