extensions/microsoft-authentication/src/AADHelper.ts/AzureActiveDirectoryService/removeSession
class AzureActiveDirectoryService:	public async removeSession(sessionId: string, writeToDisk: boolean = true): Promise<vscode.AuthenticationSession | undefined> {
		Logger.info(`Logging out of session '${sessionId}'`);
		const tokenIndex = this._tokens.findIndex(token => token.sessionId === sessionId);
		if (tokenIndex === -1) {
			Logger.info(`Session not found '${sessionId}'`);
			return undefined;
		}

		const token = this._tokens[tokenIndex];
		this._tokens.splice(tokenIndex, 1);
		this.removeSessionTimeout(sessionId);

		if (writeToDisk) {
			await this._tokenStorage.delete(sessionId);
		}

		const session = this.convertToSessionSync(token);
		Logger.info(`Sending change event for session that was removed with scopes: ${token.scope}`);
		onDidChangeSessions.fire({ added: [], removed: [session], changed: [] });
		Logger.info(`Logged out of session '${sessionId}' with scopes: ${token.scope}`);
		return session;
	}