public final class JwtHelper extends Object
Modifier and Type | Method and Description |
---|---|
static String |
createJwtToken(JwtAlgorithm algorithmName,
String secret,
String issuer,
String subject) |
static com.auth0.jwt.algorithms.Algorithm |
selectAlgorithm(JwtAlgorithm algorithmName,
String secret) |
public static String createJwtToken(JwtAlgorithm algorithmName, String secret, String issuer, String subject)
public static com.auth0.jwt.algorithms.Algorithm selectAlgorithm(JwtAlgorithm algorithmName, String secret) throws IllegalArgumentException, UnsupportedEncodingException
Apache Camel