Ejemplo n.º 1
0
        public void Login()
        {
            StartHttpListener();
            string url = config.GetAuthorizationUrl(
                appId: config.ApplicationId,
                redirectUri: config.RedirectUri,
                state: Guid.NewGuid().ToString("N").ToLower(),
                theme: 0);

            System.Diagnostics.Process.Start(url);
        }