Advertisement
claytondus

Untitled

Sep 8th, 2016
742
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <cfscript>
  2. var tokenNumber = "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJodHRwczovL3NoYXJlbWUuYXV0aDAuY29tLyIsInN1YiI6Imdvb2dsZS1vYXV0aDJ8MTA4MzA4MTEyMzgxODU5MjM5MzI3IiwiYXVkIjoiYjdvSUJtbm51OWtqQ0M2WGVObTRIMExiY21LUEtrUDYiLCJleHAiOjE0NzMzNjM0OTAsImlhdCI6MTQ3MzM2Mjg5MH0.CRjgoMDdW5VlBGkSkG2aN_seA2BleQiT-v80-xH-RJs";
  3. var jwtClient = new lib.jwt.JsonWebTokens().createClient("HS256", "EataFgAkko7rc20TK3PwdDYl5cY7sW2azYL_4mkYZ_fBj425JQJJyRYI1m1ONwHe");
  4. var jwtDecoded = jwtClient.decode(tokenNumber);
  5. </cfscript>
  6. <cfoutput>
  7.   #writeDump(jwtDecoded)#
  8. </cfoutput>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement