An open API service indexing awesome lists of open source software.

https://github.com/heanbian/heanbian-jwt

Heanbian
https://github.com/heanbian/heanbian-jwt

java jwt

Last synced: over 1 year ago
JSON representation

Heanbian

Awesome Lists containing this project

README

          

= heanbian-jwt

== 前提条件

JDK 21

== pom.xml

具体版本,可以从 https://repo1.maven.org/maven2/com/heanbian/heanbian-jwt/[Maven Central] 查询

----

com.heanbian
heanbian-jwt
21.2

----

== 使用示例

* JwtTemplate

----
JwtTemplate jwtTemplate = new JwtTemplate();

Map claims = new HashMap<>();
String token = jwtTemplate.createToken(claims);

Map data = jwtTemplate.getClaims(token);

----

说明:支持 ECC JWT