Make proposed API clearer (#182093)

* Add missing typedoc

* Also update docs for proposed

* rename getSessions to authGetSessions
This commit is contained in:
Tyler James Leonhardt
2023-05-10 15:27:26 -07:00
committed by GitHub
parent 8f92d4b1ef
commit a9c2b682ed
4 changed files with 13 additions and 2 deletions

View File

@@ -254,7 +254,7 @@ export function createApiFactoryAndRegisterActors(accessor: ServicesAccessor): I
return extHostAuthentication.getSession(extension, providerId, scopes, options as any);
},
getSessions(providerId: string, scopes: readonly string[]) {
checkProposedApiEnabled(extension, 'getSessions');
checkProposedApiEnabled(extension, 'authGetSessions');
return extHostAuthentication.getSessions(extension, providerId, scopes);
},
// TODO: remove this after GHPR and Codespaces move off of it