mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-20 08:38:56 +01:00
Address API sync feedback for challenges API (#265921)
* Address API sync feedback for challenges API * use `fallbackScopes` instead of `scopes` * `WWW`-> `Www` ref https://github.com/microsoft/vscode/issues/260156 * adopt the change
This commit is contained in:
committed by
GitHub
parent
0246a6ce90
commit
3e2f34ebe8
@@ -301,7 +301,7 @@ export function createApiFactoryAndRegisterActors(accessor: ServicesAccessor): I
|
||||
})();
|
||||
|
||||
const authentication: typeof vscode.authentication = {
|
||||
getSession(providerId: string, scopesOrChallenge: readonly string[] | vscode.AuthenticationWWWAuthenticateRequest, 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