Files
vscode-extension-samples/github-authentication-sample/README.md
2020-08-04 10:27:12 +02:00

21 lines
553 B
Markdown

# GitHub Authentication Sample
This is a GitHub authentication example that shows you how to use the VS Code API authentication API.
## Demo
![demo](demo.png)
## VS Code API
### `vscode` module
- [`authentication.getSession`](https://code.visualstudio.com/api/references/vscode-api#authentications.getSession)
## Running the Sample
- Run `npm install` in terminal to install dependencies
- Run the `Run Extension` target in the Debug View. This will:
- Start a task `npm: watch` to compile the code
- Run the extension in a new VS Code window