mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-18 23:59:43 +01:00
Remove getSessions API in favor of getAccounts (#218238)
Azure folks (the only ones using this proposed API) have not depended on getSessions yet so it's safe to delete.
This commit is contained in:
committed by
GitHub
parent
0feeac7b76
commit
6e345d4606
@@ -294,10 +294,6 @@ export function createApiFactoryAndRegisterActors(accessor: ServicesAccessor): I
|
||||
}
|
||||
return extHostAuthentication.getSession(extension, providerId, scopes, options as any);
|
||||
},
|
||||
getSessions(providerId: string, scopes: readonly string[]) {
|
||||
checkProposedApiEnabled(extension, 'authGetSessions');
|
||||
return extHostAuthentication.getSessions(extension, providerId, scopes);
|
||||
},
|
||||
getAccounts(providerId: string) {
|
||||
checkProposedApiEnabled(extension, 'authGetSessions');
|
||||
return extHostAuthentication.getAccounts(providerId);
|
||||
|
||||
Reference in New Issue
Block a user