/// <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); }
/// <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); }
/// <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; }
/// <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; }