Class JwtUtils
java.lang.Object
com.github.jamesnetherton.zulip.client.util.JwtUtils
A utility class to create a JWT for an email and create a secret key.
-
Method Summary
Modifier and TypeMethodDescriptionstatic StringcreateJwtForEmail(String email, String secret) Creates a signed JWT for the given email.static StringCreates a random JWT secret.
-
Method Details
-
createRandomJwtSecret
Creates a random JWT secret. -
createJwtForEmail
Creates a signed JWT for the given email.
-