Skip to content

Instantly share code, notes, and snippets.

@PJCAfonso
Forked from ziluvatar/token-generator.js
Last active April 3, 2020 13:29
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 PJCAfonso/a2afdaedc65b816b6ed4b81f6414c047 to your computer and use it in GitHub Desktop.
Save PJCAfonso/a2afdaedc65b816b6ed4b81f6414c047 to your computer and use it in GitHub Desktop.
Example of refreshing tokens with jwt
{"lastUpload":"2020-04-03T13:32:24.960Z","extensionVersion":"v3.4.3"}
[
{
"metadata": {
"id": "5a6e2b21-1d61-4acd-b31b-907f9c23f18a",
"publisherId": "CoenraadS.bracket-pair-colorizer-2",
"publisherDisplayName": "CoenraadS"
},
"name": "bracket-pair-colorizer-2",
"publisher": "CoenraadS",
"version": "0.0.29"
},
{
"metadata": {
"id": "8a0c151b-eb13-4bed-9d49-4a252a118a0c",
"publisherId": "michelemelluso.code-beautifier",
"publisherDisplayName": "michelemelluso"
},
"name": "code-beautifier",
"publisher": "michelemelluso",
"version": "2.3.3"
},
{
"metadata": {
"id": "e337c67b-55c2-4fef-8949-eb260e7fb7fd",
"publisherId": "Shan.code-settings-sync",
"publisherDisplayName": "Shan"
},
"name": "code-settings-sync",
"publisher": "Shan",
"version": "3.4.3"
},
{
"metadata": {
"id": "1ec62ca5-d7f9-4ddb-a882-e8d018c0aefd",
"publisherId": "msjsdiag.debugger-for-chrome",
"publisherDisplayName": "msjsdiag"
},
"name": "debugger-for-chrome",
"publisher": "msjsdiag",
"version": "4.12.3"
},
{
"metadata": {
"id": "b4b6f023-bc31-4050-bb3d-f419aae20eeb",
"publisherId": "p1c2u.docker-compose",
"publisherDisplayName": "p1c2u"
},
"name": "docker-compose",
"publisher": "p1c2u",
"version": "0.3.5"
},
{
"metadata": {
"id": "4de763bd-505d-4978-9575-2b7696ecf94e",
"publisherId": "eamodio.gitlens",
"publisherDisplayName": "eamodio"
},
"name": "gitlens",
"publisher": "eamodio",
"version": "10.2.0"
},
{
"metadata": {
"id": "3e8a391a-f3f0-44b2-8631-7847b0c8839a",
"publisherId": "kumar-harsh.graphql-for-vscode",
"publisherDisplayName": "kumar-harsh"
},
"name": "graphql-for-vscode",
"publisher": "kumar-harsh",
"version": "1.15.3"
},
{
"metadata": {
"id": "c941a679-d500-46a8-b2a9-208063125901",
"publisherId": "wholroyd.jinja",
"publisherDisplayName": "wholroyd"
},
"name": "jinja",
"publisher": "wholroyd",
"version": "0.0.8"
},
{
"metadata": {
"id": "d697a7e8-00fa-4039-9067-4b69a9a90f6e",
"publisherId": "kiteco.kite",
"publisherDisplayName": "kiteco"
},
"name": "kite",
"publisher": "kiteco",
"version": "0.109.0"
},
{
"metadata": {
"id": "ad94b437-b5a7-4249-bf5f-df472ae0d084",
"publisherId": "ritwickdey.live-sass",
"publisherDisplayName": "ritwickdey"
},
"name": "live-sass",
"publisher": "ritwickdey",
"version": "3.0.0"
},
{
"metadata": {
"id": "b63c44fd-0457-4696-99e9-dbfdf70d77de",
"publisherId": "ritwickdey.LiveServer",
"publisherDisplayName": "ritwickdey"
},
"name": "LiveServer",
"publisher": "ritwickdey",
"version": "5.6.1"
},
{
"metadata": {
"id": "1f5eb737-5496-44a3-a8a1-36a85eee4979",
"publisherId": "magicstack.MagicPython",
"publisherDisplayName": "magicstack"
},
"name": "MagicPython",
"publisher": "magicstack",
"version": "1.1.0"
},
{
"metadata": {
"id": "98790d67-10fa-497c-9113-f6c7489207b2",
"publisherId": "yzhang.markdown-all-in-one",
"publisherDisplayName": "yzhang"
},
"name": "markdown-all-in-one",
"publisher": "yzhang",
"version": "2.6.0"
},
{
"metadata": {
"id": "de785715-a9d3-4b21-8e9d-5aba0be1ac64",
"publisherId": "ms-vscode.notepadplusplus-keybindings",
"publisherDisplayName": "ms-vscode"
},
"name": "notepadplusplus-keybindings",
"publisher": "ms-vscode",
"version": "1.0.5"
},
{
"metadata": {
"id": "f1f59ae4-9318-4f3c-a9b5-81b2eaa5f8a5",
"publisherId": "ms-python.python",
"publisherDisplayName": "ms-python"
},
"name": "python",
"publisher": "ms-python",
"version": "2019.11.50794"
},
{
"metadata": {
"id": "8842cbf6-738b-423f-81a4-ae88fba2024c",
"publisherId": "tushortz.python-extended-snippets",
"publisherDisplayName": "tushortz"
},
"name": "python-extended-snippets",
"publisher": "tushortz",
"version": "0.0.1"
},
{
"metadata": {
"id": "f5188937-53e0-45bb-a16d-61231003fa3b",
"publisherId": "donjayamanne.python-extension-pack",
"publisherDisplayName": "donjayamanne"
},
"name": "python-extension-pack",
"publisher": "donjayamanne",
"version": "1.6.0"
},
{
"metadata": {
"id": "0ad8c94b-76b2-4033-b703-18596182bfcc",
"publisherId": "frhtylcn.pythonsnippets",
"publisherDisplayName": "frhtylcn"
},
"name": "pythonsnippets",
"publisher": "frhtylcn",
"version": "1.0.2"
},
{
"metadata": {
"id": "7ed7bccd-f358-4c6f-88c0-1296185abaa1",
"publisherId": "chrmarti.regex",
"publisherDisplayName": "chrmarti"
},
"name": "regex",
"publisher": "chrmarti",
"version": "0.2.0"
},
{
"metadata": {
"id": "b9484b93-0531-4fd3-b3dd-9ff58dcfe678",
"publisherId": "natqe.reload",
"publisherDisplayName": "natqe"
},
"name": "reload",
"publisher": "natqe",
"version": "0.0.6"
},
{
"metadata": {
"id": "261cac81-cd7b-4555-bb41-0c2d2bcd3e70",
"publisherId": "Gruntfuggly.todo-tree",
"publisherDisplayName": "Gruntfuggly"
},
"name": "todo-tree",
"publisher": "Gruntfuggly",
"version": "0.0.162"
},
{
"metadata": {
"id": "de44183f-5377-4ceb-ac15-79364a30070c",
"publisherId": "apollographql.vscode-apollo",
"publisherDisplayName": "apollographql"
},
"name": "vscode-apollo",
"publisher": "apollographql",
"version": "1.12.1"
},
{
"metadata": {
"id": "0479fc1c-3d67-49f9-b087-fb9069afe48f",
"publisherId": "ms-azuretools.vscode-docker",
"publisherDisplayName": "ms-azuretools"
},
"name": "vscode-docker",
"publisher": "ms-azuretools",
"version": "0.9.0"
},
{
"metadata": {
"id": "583b2b34-2c1e-4634-8c0b-0b82e283ea3a",
"publisherId": "dbaeumer.vscode-eslint",
"publisherDisplayName": "dbaeumer"
},
"name": "vscode-eslint",
"publisher": "dbaeumer",
"version": "1.9.1"
},
{
"metadata": {
"id": "f1bf39e1-ee7f-44aa-9ed9-b5d1d1f36005",
"publisherId": "nickytonline.vscode-gatsby-snippets",
"publisherDisplayName": "nickytonline"
},
"name": "vscode-gatsby-snippets",
"publisher": "nickytonline",
"version": "1.1.2"
},
{
"metadata": {
"id": "55ef6448-487b-49a0-a66e-4d2d9bb82229",
"publisherId": "Prisma.vscode-graphql",
"publisherDisplayName": "Prisma"
},
"name": "vscode-graphql",
"publisher": "Prisma",
"version": "0.2.2"
},
{
"metadata": {
"id": "28fcf0b8-26a5-4e99-9b8d-02e990366c6f",
"publisherId": "tombonnike.vscode-status-bar-format-toggle",
"publisherDisplayName": "tombonnike"
},
"name": "vscode-status-bar-format-toggle",
"publisher": "tombonnike",
"version": "2.0.0"
},
{
"metadata": {
"id": "ff96f1b4-a4b8-45ef-8ecf-c232c0cb75c8",
"publisherId": "hbenl.vscode-test-explorer",
"publisherDisplayName": "hbenl"
},
"name": "vscode-test-explorer",
"publisher": "hbenl",
"version": "2.15.0"
},
{
"metadata": {
"id": "90a37ca1-92a2-488a-b196-7a8c0b0127ea",
"publisherId": "ms-vscode.vscode-typescript-tslint-plugin",
"publisherDisplayName": "ms-vscode"
},
"name": "vscode-typescript-tslint-plugin",
"publisher": "ms-vscode",
"version": "1.2.3"
},
{
"metadata": {
"id": "f2fd462f-f1bd-4c62-b54f-59a4e5ffc6a3",
"publisherId": "WakaTime.vscode-wakatime",
"publisherDisplayName": "WakaTime"
},
"name": "vscode-wakatime",
"publisher": "WakaTime",
"version": "2.2.1"
}
]
// Place your key bindings in this file to override the defaultsauto[]
[
{
"key": "ctrl+alt+s",
"command": "workbench.action.files.saveAll"
},
{
"key": "unknown",
"command": "-workbench.action.files.saveAll"
},
{
"key": "ctrl+alt+f5",
"command": "workbench.action.reloadWindow",
"when": "isDevelopment"
},
{
"key": "ctrl+r",
"command": "-workbench.action.reloadWindow",
"when": "isDevelopment"
},
{
"key": "ctrl+w",
"command": "-workbench.action.closeActiveEditor"
},
{
"key": "ctrl+w",
"command": "-workbench.action.closeGroup",
"when": "activeEditorGroupEmpty && multipleEditorGroups"
},
{
"key": "ctrl+w",
"command": "-editor.action.smartSelect.grow",
"when": "editorTextFocus"
},
{
"key": "ctrl+alt+w",
"command": "workbench.action.closeWindow",
"when": "!editorIsOpen && !multipleEditorGroups"
},
{
"key": "ctrl+w",
"command": "-workbench.action.closeWindow",
"when": "!editorIsOpen && !multipleEditorGroups"
},
{
"key": "ctrl+alt+k",
"command": "editor.action.addCommentLine",
"when": "editorTextFocus && !editorReadonly"
},
{
"key": "ctrl+k",
"command": "-editor.action.addCommentLine",
"when": "editorTextFocus && !editorReadonly"
},
{
"key": "ctrl+k",
"command": "editor.action.deleteLines",
"when": "textInputFocus && !editorReadonly"
},
{
"key": "ctrl+shift+k",
"command": "-editor.action.deleteLines",
"when": "textInputFocus && !editorReadonly"
},
{
"key": "ctrl+w",
"command": "workbench.action.closeActiveEditor"
},
{
"key": "ctrl+f4",
"command": "-workbench.action.closeActiveEditor"
}
]
{
"terminal.integrated.shell.windows": "C:\\WINDOWS\\System32\\WindowsPowerShell\\v1.0\\powershell.exe",
"gitlens.defaultDateStyle": "absolute",
"explorer.confirmDelete": false,
"editor.codeActionsOnSaveTimeout": 5000,
"breadcrumbs.enabled": true,
"workbench.useExperimentalGridLayout": true,
"debug.allowBreakpointsEverywhere": true,
"debug.enableAllHovers": true,
"debug.inlineValues": true,
"scm.alwaysShowActions": true,
"scm.alwaysShowProviders": true,
"extensions.showRecommendationsOnlyOnDemand": true,
"apollographql.trace.server": "messages",
"git.confirmSync": false,
"git.autofetch": true,
"git.enableSmartCommit": true,
"explorer.confirmDragAndDrop": false,
"typescript.updateImportsOnFileMove.enabled": "always",
"files.autoSave": "afterDelay",
"javascript.updateImportsOnFileMove.enabled": "always",
"editor.renderWhitespace": "all",
"editor.renderControlCharacters": true,
"editor.suggestSelection": "first",
"vsintellicode.modify.editor.suggestSelection": "automaticallyOverrodeDefaultValue",
"files.exclude": {
"**/.classpath": true,
"**/.project": true,
"**/.settings": true,
"**/.factorypath": true
},
"java.errors.incompleteClasspath.severity": "ignore",
"npm.runSilent": true,
"html.format.wrapAttributes": "force-expand-multiline",
"html.format.indentInnerHtml": true,
"editor.formatOnPaste": true,
"editor.formatOnSave": true,
"python.jediEnabled": false,
"editor.formatOnType": false,
"kite.showWelcomeNotificationOnStartup": false,
"editor.tabCompletion": "on",
"python.autoComplete.extraPaths": [
"C:/Program Files (x86)/Google/google_appengine",
"C:/Program Files (x86)/Google/google_appengine/lib/flask-0.12"
],
"python.analysis.disabled": [
"inherit-non-class"
],
"python.formatting.autopep8Args": [
"\"python.formatting.autopep8Args\": [\"--ignore\", \"E402\"]"
],
"python.autoComplete.addBrackets": true,
"eslint.autoFixOnSave": true,
"workbench.statusBar.visible": true,
"terminal.integrated.rendererType": "dom",
"files.autoSaveDelay": 5000,
"window.zoomLevel": 1,
"php.suggest.basic": false,
"emmet.showSuggestionsAsSnippets": true,
"search.quickOpen.includeSymbols": true,
"editor.suggest.shareSuggestSelections": true,
"editor.suggest.localityBonus": true,
"sync.gist": "a2afdaedc65b816b6ed4b81f6414c047",
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment