public class JWTUtils extends Object
| Constructor and Description |
|---|
JWTUtils() |
public static String generateJWTAssertion(String publicKeyFilename, String privateKeyFilename, String oAuthBasePath, String clientId, String userId, long expiresIn) throws com.auth0.jwt.exceptions.JWTCreationException, IOException
publicKeyFilename - the filename of the RSA public keyprivateKeyFilename - the filename of the RSA private keyoAuthBasePath - DocuSign OAuth base path (account-d.docusign.com for the developer sandbox
and account.docusign.com for the production platform)clientId - DocuSign OAuth Client Id (AKA Integrator Key)userId - DocuSign user Id to be impersonated (This is a UUID)expiresIn - in seconds for the token time-to-livecom.auth0.jwt.exceptions.JWTCreationException - if not able to create a JWT token from the input parametersIOException - if there is an issue with either the public or private fileCopyright © 2018. All rights reserved.