This commit is contained in:
Ryutaro Koma 2016-09-22 14:20:55 +09:00
Родитель 604f917610
Коммит a38f9e73fb
5 изменённых файлов: 26 добавлений и 7 удалений

Просмотреть файл

@ -32,5 +32,5 @@ using System.Runtime.InteropServices;
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("0.7.3.2")]
[assembly: AssemblyFileVersion("0.7.3.2")]
[assembly: AssemblyVersion("0.7.4.0")]
[assembly: AssemblyFileVersion("0.7.4.0")]

14
Office365APIEditor/StartForm.Designer.cs сгенерированный
Просмотреть файл

@ -111,6 +111,7 @@
this.label35 = new System.Windows.Forms.Label();
this.radioButton_WebAppAppOnly = new System.Windows.Forms.RadioButton();
this.openFileDialog_PFX = new System.Windows.Forms.OpenFileDialog();
this.linkLabel_WebApp = new System.Windows.Forms.LinkLabel();
this.groupBox_NativeApp.SuspendLayout();
this.groupBox_WebApp.SuspendLayout();
this.groupBox_BasicAuth.SuspendLayout();
@ -278,6 +279,7 @@
//
// groupBox_WebApp
//
this.groupBox_WebApp.Controls.Add(this.linkLabel_WebApp);
this.groupBox_WebApp.Controls.Add(this.button_WebAppAcquireAccessToken);
this.groupBox_WebApp.Controls.Add(this.label16);
this.groupBox_WebApp.Controls.Add(this.label9);
@ -965,6 +967,17 @@
//
this.openFileDialog_PFX.Filter = "Personal Information Exchange (*.pfx)|*.pfx";
//
// linkLabel_WebApp
//
this.linkLabel_WebApp.AutoSize = true;
this.linkLabel_WebApp.Location = new System.Drawing.Point(133, 16);
this.linkLabel_WebApp.Name = "linkLabel_WebApp";
this.linkLabel_WebApp.Size = new System.Drawing.Size(140, 13);
this.linkLabel_WebApp.TabIndex = 34;
this.linkLabel_WebApp.TabStop = true;
this.linkLabel_WebApp.Text = "How to register applications.";
this.linkLabel_WebApp.LinkClicked += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(this.linkLabel_WebApp_LinkClicked);
//
// StartForm
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
@ -1094,5 +1107,6 @@
private System.Windows.Forms.Label label36;
private System.Windows.Forms.TextBox textBox_WebAppAppOnlyCertPath;
private System.Windows.Forms.OpenFileDialog openFileDialog_PFX;
private System.Windows.Forms.LinkLabel linkLabel_WebApp;
}
}

Просмотреть файл

@ -940,5 +940,10 @@ namespace Office365APIEditor
textBox_WebAppAppOnlyCertPath.Text = openFileDialog_PFX.FileName;
}
}
private void linkLabel_WebApp_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
{
System.Diagnostics.Process.Start("https://github.com/Microsoft/Office365APIEditor/blob/master/tutorials/How_to_register_a_V1_Web_application.md");
}
}
}

Просмотреть файл

@ -31,7 +31,7 @@ You need the following to use OAuth with V2 endpoint.
- An application which was registered in the [Application Registration Portal](https://apps.dev.microsoft.com/).
If you have not registered your application, follow the [tutorial](/tutorial1.md).
If you have not registered your application, follow the [tutorial](/tutorials/How_to_register_a_V1_Web_application.md).
## Feedback

Просмотреть файл

@ -1,6 +1,6 @@
# How to register applications for OAuth
# How to register a V1 Web application
This tutorial introduces how to register the application using Microsoft Azure portal. You can use [Office 365 App Registration Tool](http://dev.office.com/app-registration) and [Application Registration Portal](https://apps.dev.microsoft.com) as well.
This tutorial introduces how to register the application using Microsoft Azure portal.
Once you registered an application by following this tutorial, you can use it as a "Web application" in Office365APIEditor.
1. Go to https://manage.windowsazure.com/ and sign in using your administrator account of Microsoft Azure.
@ -17,9 +17,9 @@ Once you registered an application by following this tutorial, you can use it as
7. Select [WEB APPLICATION AND/OR WEB API] and go to the next page.
8. Enter the sing-in URL of your application in [SIGN-ON URL] box. (e.g. http&#58;<span></span>//localhost/MyWebApp <- this is really something you can use)
8. Enter the sing-in URL of your application in [SIGN-ON URL] box. (e.g. http&#58;<span></span>//localhost/MyWebApp <- Whatever is fine.)
9. Enter the APP ID URI of your application in [APP ID URI] box (e.g. http&#58;<span></span>//contoso.onmicrosoft.com/MyWebApp <- this is really something you can use)
9. Enter the APP ID URI of your application in [APP ID URI] box (e.g. http&#58;<span></span>//contoso.onmicrosoft.com/MyWebApp <- Whatever is fine.)
10. Click [Complete].