| Modifier and Type | Method and Description |
|---|---|
static JWT |
parse(String s)
Parses an unsecured (plain), signed or encrypted JSON Web Token
(JWT) from the specified string in compact format.
|
public static JWT parse(String s) throws ParseException
s - The string to parse. Must not be null.PlainJWT, SignedJWT or
EncryptedJWT instance.ParseException - If the string couldn't be parsed to a valid
unsecured, signed or encrypted JWT.Copyright © 2020 Connect2id Ltd.. All rights reserved.