Inheritance: System.Windows.Forms.Form
Esempio n. 1
0
        /// <summary>
        /// Authorize automatically using an authorization form
        /// </summary>
        /// <param name="owner">The owner form</param>
        /// <returns>The access token</returns>
        public string Authorize(IWin32Window formOwner)
        {
            OAuthForm newForm = new OAuthForm(this, this.EndPointURL + "/?finished");

            newForm.ShowDialog(formOwner);
            return(this.AccessToken);
        }
Esempio n. 2
0
        /// <summary>
        /// Authorize automatically using an authorization form
        /// </summary>
        /// <returns>The access token</returns>
        public string Authorize()
        {
            OAuthForm newForm = new OAuthForm(this, this.EndPointURL + "/?finished");

            newForm.ShowDialog();
            return(this.AccessToken);
        }
Esempio n. 3
0
 /// <summary>
 /// Authorize automatically using an authorization form
 /// </summary>
 /// <param name="owner">The owner form</param>
 /// <returns>The access token</returns>
 public string Authorize(IWin32Window formOwner)
 {
     OAuthForm newForm = new OAuthForm(this, this.EndPointURL + "/?finished");
       newForm.ShowDialog(formOwner);
       return this.AccessToken;
 }
Esempio n. 4
0
 /// <summary>
 /// Authorize automatically using an authorization form
 /// </summary>
 /// <returns>The access token</returns>
 public string Authorize()
 {
     OAuthForm newForm = new OAuthForm(this, this.EndPointURL + "/?finished");
       newForm.ShowDialog();
       return this.AccessToken;
 }