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:
Tyler James Leonhardt
2024-06-25 22:34:31 -07:00
committed by GitHub
parent 0feeac7b76
commit 6e345d4606
5 changed files with 0 additions and 47 deletions

View File

@@ -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);