mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-18 15:55:59 +01:00
Update challenges proposal shape (#263484)
ref https://github.com/microsoft/vscode/issues/260156
This commit is contained in:
committed by
GitHub
parent
8ee3a00117
commit
5eaa23c2a9
@@ -301,7 +301,7 @@ export function createApiFactoryAndRegisterActors(accessor: ServicesAccessor): I
|
||||
})();
|
||||
|
||||
const authentication: typeof vscode.authentication = {
|
||||
getSession(providerId: string, scopesOrChallenge: readonly string[] | vscode.AuthenticationSessionRequest, options?: vscode.AuthenticationGetSessionOptions) {
|
||||
getSession(providerId: string, scopesOrChallenge: readonly string[] | vscode.AuthenticationWWWAuthenticateRequest, options?: vscode.AuthenticationGetSessionOptions) {
|
||||
if (!Array.isArray(scopesOrChallenge)) {
|
||||
checkProposedApiEnabled(extension, 'authenticationChallenges');
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user