程序包 | 说明 |
---|---|
com.fr.cert.token |
限定符和类型 | 方法和说明 |
---|---|
<T> T |
JwtParser.parse(java.lang.String jwt,
JwtHandler<T> handler)
Parses the specified compact serialized JWT string based on the builder's current configuration state and
invokes the specified
handler with the resulting JWT or JWS instance. |
Jws<Claims> |
JwtParser.parseClaimsJws(java.lang.String claimsJws)
Parses the specified compact serialized JWS string based on the builder's current configuration state and
returns
the resulting Claims JWS instance.
|
Jwt<Header,Claims> |
JwtParser.parseClaimsJwt(java.lang.String claimsJwt)
Parses the specified compact serialized JWT string based on the builder's current configuration state and
returns
the resulting unsigned plaintext JWT instance.
|
Jws<java.lang.String> |
JwtParser.parsePlaintextJws(java.lang.String plaintextJws)
Parses the specified compact serialized JWS string based on the builder's current configuration state and
returns
the resulting plaintext JWS instance.
|
Jwt<Header,java.lang.String> |
JwtParser.parsePlaintextJwt(java.lang.String plaintextJwt)
Parses the specified compact serialized JWT string based on the builder's current configuration state and
returns
the resulting unsigned plaintext JWT instance.
|