extensions/github-authentication/src/github.ts/GitHubAuthenticationProvider/initialize
class GitHubAuthenticationProvider:	public async initialize(): Promise<void> {
		try {
			this._sessions = await this.readSessions();
			await this.verifySessions();
		} catch (e) {
			// Ignore, network request failed
		}

		let friendlyName = 'GitHub';
		if (this.type === AuthProviderType.github) {
			this.context.subscriptions.push(vscode.window.registerUriHandler(uriHandler));
		}
		if (this.type === AuthProviderType['github-enterprise']) {
			friendlyName = 'GitHub Enterprise';
		}

		this.context.subscriptions.push(vscode.commands.registerCommand(`${this.type}.provide-token`, () => this.manuallyProvideToken()));
		this.context.subscriptions.push(vscode.authentication.registerAuthenticationProvider(this.type, friendlyName, this, { supportsMultipleAccounts: false }));
		this.context.subscriptions.push(this.context.secrets.onDidChange(() => this.checkForUpdates()));
	}