Skip to content

Commit d6b025b

Browse files
authored
Updating to Microsoft.Identity.Web 0.1.3-preview (#142)
* Updating to Microsoft.Identity.Web 0.1.3-preview * Updating to Microsoft.Identity.Web 0.1.3-preview
1 parent 9421af5 commit d6b025b

File tree

7 files changed

+13
-16
lines changed

7 files changed

+13
-16
lines changed

1. Desktop app calls Web API/TodoListService/TodoListService.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,6 @@
77
</PropertyGroup>
88

99
<ItemGroup>
10-
<PackageReference Include="Microsoft.Identity.Web" Version="0.1.2-preview" />
10+
<PackageReference Include="Microsoft.Identity.Web" Version="0.1.3-preview" />
1111
</ItemGroup>
1212
</Project>
Lines changed: 7 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,14 @@
1-
<?xml version="1.0" encoding="utf-8"?>
1+
<?xml version="1.0" encoding="utf-8"?>
22
<configuration>
3-
<startup>
4-
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.7.1"/>
5-
</startup>
3+
<startup>
4+
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.7.1" />
5+
</startup>
66
<appSettings>
77
<!-- Hostname for the Azure AD instance. {0} will be replaced by the value of ida:Tenant below
88
You can change this URL if you want your application to sign-in users from other clouds
99
than the Azure Global Cloud (See national clouds / sovereign clouds at https://aka.ms/aadv2-national-clouds)
1010
-->
11-
<add key="ida:AADInstance" value="https://login.microsoftonline.com/{0}/v2.0"/>
12-
11+
<add key="ida:AADInstance" value="https://login.microsoftonline.com/{0}/v2.0" />
1312
<!--
1413
ida:Tenant can be:
1514
- a proper tenant Id (a GUID) or tenant domain (e.g. contoso.onmicrosoft.com) if your application signs-in only users of a given organization
@@ -19,14 +18,12 @@
1918
- 'consumers' to sign-in only Microsoft personal accounts
2019
This should be consistent with the audience of users who can sign-in, as specified during the application registration
2120
-->
22-
<add key="ida:Tenant" value="common"/>
23-
21+
<add key="ida:Tenant" value="common" />
2422
<!--
2523
ClientID (ApplicationID) of your application as registered in the App Registration (Preview) under Azure Active Directory
2624
in https://portal.azure.com
2725
-->
2826
<add key="ida:ClientId" value="[Enter_client_ID_Of_TodoListClient-v2_from_Azure_Portal,_e.g._784d7a5a-4a49-4d1d-b328-5812070f366f]"/>
29-
3027
<!--
3128
todo:TodoListScope is the scope of the Web API you want to call. This can be:
3229
- a scope for a V2 application (for instance api://b3682cc7-8b30-4bd2-aaba-080c6bf0fd31/access_as_user)
@@ -36,4 +33,4 @@
3633
<add key="todo:TodoListScope" value="api://[Enter_client_ID_Of_TodoListService-v2_from_Azure_Portal,_e.g._2ec40e65-ba09-4853-bcde-bcb60029e596]/.default"/>
3734
<add key="todo:TodoListBaseAddress" value="https://localhost:44351/"/>
3835
</appSettings>
39-
</configuration>
36+
</configuration>

2. Web API now calls Microsoft Graph/TodoListService/TodoListService.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
</ItemGroup>
1212

1313
<ItemGroup>
14-
<PackageReference Include="Microsoft.Identity.Web" Version="0.1.2-preview" />
14+
<PackageReference Include="Microsoft.Identity.Web" Version="0.1.3-preview" />
1515
</ItemGroup>
1616

1717
</Project>

2. Web API now calls Microsoft Graph/TodoListService/appsettings.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"AzureAd": {
33
"Instance": "https://login.microsoftonline.com/",
44
"ClientId": "[Enter_client_ID_Of_TodoListService-v2_from_Azure_Portal,_e.g._2ec40e65-ba09-4853-bcde-bcb60029e596]",
5-
"ClientSecret": "[Enter_client_secret_as_added_fom_the_certificates_&_secrets_page_from_your_app_registration]",
5+
"ClientSecret": "[Enter_client_secret_as_added_fom_the_certificates_&_secrets_page_from_your_app_registration]",
66

77
/*
88
You need specify the TenantId only if you want to accept access tokens from a single tenant (line of business app)

3.-Web-api-call-Microsoft-graph-for-personal-accounts/TodoListService/TodoListService.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
</PropertyGroup>
88

99
<ItemGroup>
10-
<PackageReference Include="Microsoft.Identity.Web" Version="0.1.2-preview" />
10+
<PackageReference Include="Microsoft.Identity.Web" Version="0.1.3-preview" />
1111
</ItemGroup>
1212

1313
</Project>

4.-Console-app-calls-web-API-with-PoP/Microsoft.Identity.Web.Future/Microsoft.Identity.Web.Future.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
</PropertyGroup>
4242

4343
<ItemGroup>
44-
<PackageReference Include="Microsoft.Identity.Web" Version="0.1.2-preview" />
44+
<PackageReference Include="Microsoft.Identity.Web" Version="0.1.3-preview" />
4545
<PackageReference Include="Microsoft.IdentityModel.Protocols.SignedHttpRequest" Version="6.5.0" />
4646
<PackageReference Include="System.Collections" Version="4.3.0" />
4747
<PackageReference Include="Microsoft.IdentityModel.JsonWebTokens" Version="6.5.0" />

4.-Console-app-calls-web-API-with-PoP/TodoListService/TodoListService.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
</PropertyGroup>
88

99
<ItemGroup>
10-
<PackageReference Include="Microsoft.Identity.Web" Version="0.1.2-preview" />
10+
<PackageReference Include="Microsoft.Identity.Web" Version="0.1.3-preview" />
1111
</ItemGroup>
1212

1313
<ItemGroup>

0 commit comments

Comments
 (0)