Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
microsoft
GitHub Repository: microsoft/vscode
Path: blob/main/src/vscode-dts/vscode.proposed.authIssuers.d.ts
3290 views
1
/*---------------------------------------------------------------------------------------------
2
* Copyright (c) Microsoft Corporation. All rights reserved.
3
* Licensed under the MIT License. See License.txt in the project root for license information.
4
*--------------------------------------------------------------------------------------------*/
5
6
declare module 'vscode' {
7
export interface AuthenticationProviderOptions {
8
/**
9
* When specified, this provider will be associated with these authorization servers. They can still contain globs
10
* just like their extension contribution counterparts.
11
*/
12
readonly supportedAuthorizationServers?: Uri[];
13
}
14
15
export interface AuthenticationProviderSessionOptions {
16
/**
17
* When specified, the authentication provider will use the provided authorization server URL to
18
* authenticate the user. This is only used when a provider has `supportsAuthorizationServers` set
19
*/
20
authorizationServer?: Uri;
21
}
22
23
export interface AuthenticationGetSessionOptions {
24
/**
25
* When specified, the authentication provider will use the provided authorization server URL to
26
* authenticate the user. This is only used when a provider has `supportsAuthorizationServers` set
27
*/
28
authorizationServer?: Uri;
29
}
30
}
31
32