Skip to content

Commit ba10bde

Browse files
Merge pull request #106736 from Issafalcon/patch-1
fix(downstream-api-from-api-docs): Updates code snippet
2 parents 7a1203c + d448f23 commit ba10bde

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

articles/active-directory/develop/scenario-web-api-call-api-app-configuration.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ using Microsoft.Identity.Web;
126126
builder.Services.AddAuthentication(JwtBearerDefaults.AuthenticationScheme)
127127
.AddMicrosoftIdentityWebApi(Configuration, "AzureAd")
128128
.EnableTokenAcquisitionToCallDownstreamApi()
129-
.AddDownstreamWebApi("MyApi", Configuration.GetSection("GraphBeta"))
129+
.AddDownstreamApi("MyApi", Configuration.GetSection("GraphBeta"))
130130
.AddInMemoryTokenCaches();
131131
// ...
132132
```
@@ -228,4 +228,4 @@ For more information about the OBO protocol, see the [Microsoft identity platfor
228228
## Next steps
229229

230230
Move on to the next article in this scenario,
231-
[Acquire a token for the app](scenario-web-api-call-api-acquire-token.md).
231+
[Acquire a token for the app](scenario-web-api-call-api-acquire-token.md).

0 commit comments

Comments
 (0)