public String generateJwt ( ) throws NexmoUnacceptableAuthException { JWTAuthMethod authMethod = this . httpWrapper . getAuthCollection ( ) . getAuth ( JWTAuthMethod . class ) ; return authMethod . constructToken ( System . currentTimeMillis ( ) / 1000L , JWTAuthMethod . constructJTI ( ) ) ; }
Generate a JWT for the application the client has been configured with .