Skip to content

Files

Latest commit

 

History

History

java

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

MIT License

See the main README for general information.

Generate (JWT generation sample)

Generates/mints a JWT and prints it to shell’s standard output.

  • Open jwt/java/generate

  • Open the launch.json file under .vscode

  • Edit the args entry

    • Supply the path to your private key, stored in PEM format

    • Replace <issuer_id> with your issuer id, from the Yodlee dashboard

    • For user tokens, replace [-u <username>] with -u and a username.

  • Run/debug using the Launch Generate configuration.

Using Maven:

  • Compile

$ mvn compile
  • Run

mvn exec:java -Dexec.args="-k /path/to/your/private_key.pem -i <issuer_id> [-u <username>]"
  • Example

mvn exec:java -Dexec.args="-k /home/secured/private_key.pem -i f4d3dc80-885cbe1f-5f2b-4c74-0097-39dc59ae751c -u sbMem5c758c42bb1d12"

Requirements/Dependencies