Example #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);
        }
Example #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);
        }
Example #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;
 }
Example #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;
 }