mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-18 15:55:59 +01:00
Finalize Auth Challenges caller API (#268006)
Fixes https://github.com/microsoft/vscode/issues/260156
This commit is contained in:
committed by
GitHub
parent
d9711f1a7c
commit
b4c1eaa7c8
@@ -302,9 +302,6 @@ export function createApiFactoryAndRegisterActors(accessor: ServicesAccessor): I
|
||||
|
||||
const authentication: typeof vscode.authentication = {
|
||||
getSession(providerId: string, scopesOrChallenge: readonly string[] | vscode.AuthenticationWwwAuthenticateRequest, options?: vscode.AuthenticationGetSessionOptions) {
|
||||
if (!Array.isArray(scopesOrChallenge)) {
|
||||
checkProposedApiEnabled(extension, 'authenticationChallenges');
|
||||
}
|
||||
if (
|
||||
(typeof options?.forceNewSession === 'object' && options.forceNewSession.learnMore) ||
|
||||
(typeof options?.createIfNone === 'object' && options.createIfNone.learnMore)
|
||||
|
||||
Reference in New Issue
Block a user