Skip to content

Commit 34546a4

Browse files
Add authentication to contribution points (#7774)
* Add authentication to contribution points ref microsoft/vscode#233757 * Update api/references/contribution-points.md
1 parent b754e6d commit 34546a4

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

api/references/contribution-points.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ MetaDescription: To extend Visual Studio Code, your extension (plug-in) declares
1111

1212
**Contribution Points** are a set of JSON declarations that you make in the `contributes` field of the `package.json` [Extension Manifest](/api/references/extension-manifest). Your extension registers **Contribution Points** to extend various functionalities within Visual Studio Code. Here is a list of all available **Contribution Points**:
1313

14+
- [`authentication`](/api/references/contribution-points#contributes.authentication)
1415
- [`breakpoints`](/api/references/contribution-points#contributes.breakpoints)
1516
- [`colors`](/api/references/contribution-points#contributes.colors)
1617
- [`commands`](/api/references/contribution-points#contributes.commands)
@@ -43,6 +44,23 @@ MetaDescription: To extend Visual Studio Code, your extension (plug-in) declares
4344
- [`viewsWelcome`](/api/references/contribution-points#contributes.viewsWelcome)
4445
- [`walkthroughs`](/api/references/contribution-points#contributes.walkthroughs)
4546

47+
## contributes.authentication
48+
49+
Contributes an authentication provider. This will set up an activation event for your provider and display it in your extension's features.
50+
51+
```json
52+
{
53+
"contributes": {
54+
"authentication": [
55+
{
56+
"label": "Azure Dev Ops",
57+
"id": "azuredevops"
58+
}
59+
]
60+
}
61+
}
62+
```
63+
4664
## contributes.breakpoints
4765

4866
Usually a debugger extension will also have a `contributes.breakpoints` entry where the extension lists the language file types for which setting breakpoints will be enabled.

0 commit comments

Comments
 (0)