-
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.
[Identity] Update SP credentials to use MSAL confidential client (#13168
) * Update SP credentials to use MSAL confidential client * updating api spec * fixing tests * work around null PrivateKey issue on net461 * fixing pwsh presteps * fixing PR feedback issues * fixing doc comment * adding ITokenCacheOptions to client credential options types
- Loading branch information
Showing
37 changed files
with
4,075 additions
and
244 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/ClientCertificateCredentialOptions.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. | ||
|
||
namespace Azure.Identity | ||
{ | ||
/// <summary> | ||
/// Options used to configure the <see cref="ClientCertificateCredential"/>. | ||
/// </summary> | ||
public class ClientCertificateCredentialOptions : TokenCredentialOptions, ITokenCacheOptions | ||
{ | ||
|
||
/// <summary> | ||
/// If set to true the credential will store tokens in a cache persisted to the machine, protected to the current user, which can be shared by other credentials and processes. | ||
/// </summary> | ||
public bool EnablePersistentCache { get; set; } | ||
} | ||
} |
Oops, something went wrong.