You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Device_Profile_Sample/README.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -22,9 +22,9 @@ Package: `Microsoft.Identity.Model.Clients.ActiveDirectory` has already been ins
22
22
1. Navigate to the sample in cloned repo `vsts-auth-samples/Device_Profile_Sample/`
23
23
2. Use [Nuget package restore](https://docs.microsoft.com/en-us/nuget/consume-packages/package-restore) to ensure you have all dependencies installed
24
24
3. Open the solution file `Device Profile Sample.sln` in [Visual Studio IDE 2017](https://www.visualstudio.com/downloads/)
25
-
4. Open CS file `Program.cs` and there are 2 important fields to be aware of:
25
+
4. Open CS file `Program.cs` and there are 4 important fields to be aware of:
26
26
*`VSTSResourceId` - Immutable value. Denotes that we need a VSTS access token.
27
-
*`clientId` - Immutable value*. *Normally your app's registered AAD clientId, but for VSTS is must be the VS client ID provided
28
-
*`vstsAccountUri` - Mutable value. Denotes your vsts account URL (i.e. https://myaccount.visualstudio.com). Please update this with your account URL
27
+
*`clientId` - Immutable value*. *Normally your app's registered AAD clientId, but for VSTS is must be the VS client ID provided.
28
+
*`vstsAccountUri` - Mutable value. Denotes your vsts account URL (i.e. https://myaccount.visualstudio.com). Please update this with your account URL.
29
29
*`restEndpoint` - Mutable value. Denotes which REST API endpoint we want to hit. We have configured it to return team project information.
30
30
5. Build and run solution. You should see a console window with instruction on how to authenticate via the Device Profile flow. After authenticating you should see all team project information viewable by the authenticated identity displayed in the console window.
0 commit comments