public class JwtToken extends Object
Modifier and Type | Field and Description |
---|---|
net.sf.json.JSONObject |
claim
JWT Claim
|
Constructor and Description |
---|
JwtToken() |
Modifier and Type | Method and Description |
---|---|
String |
sign()
Generates base64 representation of JWT token sign using "RS256" algorithm
getHeader().toBase64UrlEncode() + "." + getClaim().toBase64UrlEncode() + "." + sign
|
public String sign()
Copyright © 2016–2018. All rights reserved.