-
Notifications
You must be signed in to change notification settings - Fork 4.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Implemement OnBehalfOfCredential (#22146)
* Simple OBO
- Loading branch information
1 parent
bcc61ba
commit 7649803
Showing
29 changed files
with
877 additions
and
666 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
17 changes: 17 additions & 0 deletions
17
sdk/identity/Azure.Identity/src/IX509Certificate2Provider.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
// Copyright (c) Microsoft Corporation. All rights reserved. | ||
// Licensed under the MIT License. | ||
|
||
using System.Security.Cryptography.X509Certificates; | ||
using System.Threading; | ||
using System.Threading.Tasks; | ||
|
||
namespace Azure.Identity | ||
{ | ||
/// <summary> | ||
/// IX509Certificate2Provider provides a way to control how the X509Certificate2 object is fetched. | ||
/// </summary> | ||
internal interface IX509Certificate2Provider | ||
{ | ||
ValueTask<X509Certificate2> GetCertificateAsync(bool async, CancellationToken cancellationToken); | ||
} | ||
} |
Oops, something went wrong.