|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.nimbusds.jwt.JWTParser
public final class JWTParser
Parser for plain, signed and encrypted JSON Web Tokens (JWTs).
Method Summary | |
---|---|
static JWT |
parse(java.lang.String s)
Parses a plain, signed or encrypted JSON Web Token (JWT) from the specified string in compact format. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static JWT parse(java.lang.String s) throws java.text.ParseException
s
- The string to parse. Must not be null
.
PlainJWT
, SignedJWT
or
EncryptedJWT
instance.
java.text.ParseException
- If the string couldn't be parsed to a valid
plain, signed or encrypted JWT.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |