# Azure DevOps Auth Provider - Authentication Provider API Sample

Demonstrates VS Code's authentication provider API by registering and using an Azure DevOps Personal Access Token authentication provider.

## VS Code API

### `vscode` module

- [`authentication.registerAuthenticationProvider`](https://code.visualstudio.com/api/references/vscode-api#authentication.registerAuthenticationProvider)
- [`authentication.getSession`](https://code.visualstudio.com/api/references/vscode-api#authentication.getSession)

## Running the example

- Open this example in VS Code 1.60+
- `npm install`
- `cmd/ctrl+shift+b` or `npm run watch` or `npm run compile`
- `F5` to start debugging

Run the `Login with Azure DevOps` command to log in.
 