Inheritance: System.Windows.Forms.Form
Exemplo 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);
        }
Exemplo 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);
        }
Exemplo 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;
 }
Exemplo 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;
 }