Skip to content

Commit 89d8451

Browse files
authored
Merge pull request #86 from Azure-Samples/pmaytak/0.3.0-preview
Update to Microsoft Identity Web 0.3.0-preview.
2 parents 8a1fd6a + 72ed34d commit 89d8451

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

2-Call-OwnApi/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -271,7 +271,7 @@ The relevant code for the Web API is in the `Startup.cs` class. We are using the
271271

272272
```CSharp
273273
services.AddAuthentication(JwtBearerDefaults.AuthenticationScheme)
274-
.AddMicrosoftWebApi(Configuration);
274+
.AddMicrosoftIdentityWebApi(Configuration);
275275
```
276276

277277
2. Validating the tokens

2-Call-OwnApi/TodoList-WebApi/Startup.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ public Startup(IConfiguration configuration)
2222
public void ConfigureServices(IServiceCollection services)
2323
{
2424
services.AddAuthentication(JwtBearerDefaults.AuthenticationScheme)
25-
.AddMicrosoftWebApi(Configuration);
25+
.AddMicrosoftIdentityWebApi(Configuration);
2626

2727
services.AddControllers();
2828
}

2-Call-OwnApi/TodoList-WebApi/TodoList-WebApi.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
<ItemGroup>
1010
<PackageReference Include="Microsoft.EntityFrameworkCore" Version="3.1.3" />
11-
<PackageReference Include="Microsoft.Identity.Web" Version="0.2.2-preview" />
11+
<PackageReference Include="Microsoft.Identity.Web" Version="0.3.0-preview" />
1212
<PackageReference Include="Microsoft.VisualStudio.Web.CodeGeneration.Design" Version="3.1.2" />
1313
</ItemGroup>
1414

0 commit comments

Comments
 (0)