Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ Use this decision tree to select the best method for your scenario:
| Microsoft Graph | You need to call Microsoft Graph APIS | GraphServiceClient |
| Azure SDK (Storage, KeyVault, etc.) | You need to call Azure APIs (Azure SDK) | MicrosoftIdentityTokenCredential with Azure SDK clients |
| Custom API with Token Binding | Enhanced security with certificate binding (mTLS PoP) | IDownstreamApi with `ProtocolScheme: "MTLS_POP"` |
| Custom API with Token Binding | Enhanced security with HttpClient integration (mTLS PoP) | MicrosoftIdentityMessageHandler with `ProtocolScheme: "MTLS_POP"` |
| Custom API | simple, configurable | IDownstreamApi |
| Custom API | using HttpClient + delegating handler | MicrosoftIdentityMessageHandler |
| Custom API | using your HttpClient | IAuthorizationHeaderProvider |
Expand Down Expand Up @@ -314,6 +315,8 @@ public class ApiService

[📖 Learn more about MicrosoftIdentityMessageHandler](custom-apis.md#microsoftidentitymessagehandler)

> **Token Binding Support**: `MicrosoftIdentityMessageHandler` also supports mTLS PoP token binding. Set `ProtocolScheme = "MTLS_POP"` and `RequestAppToken = true` in the options. See [Token Binding with mTLS PoP](token-binding.md#using-microsoftidentitymessagehandler-with-token-binding) for details.

### IAuthorizationHeaderProvider (Maximum Flexibility)

```csharp
Expand Down
Loading
Loading