Rename Session to AuthenticationSession

This commit is contained in:
Rachel Macfarlane
2020-02-03 09:59:59 -08:00
parent 05567322f7
commit c52bfa8906
7 changed files with 21 additions and 21 deletions

View File

@@ -20,11 +20,11 @@ export class MainThreadAuthenticationProvider {
public readonly displayName: string
) { }
getSessions(): Promise<ReadonlyArray<modes.Session>> {
getSessions(): Promise<ReadonlyArray<modes.AuthenticationSession>> {
return this._proxy.$getSessions(this.id);
}
login(scopes: string[]): Promise<modes.Session> {
login(scopes: string[]): Promise<modes.AuthenticationSession> {
return this._proxy.$login(this.id, scopes);
}