Skip to content

Commit

Permalink
Update default broker account language (#43169)
Browse files Browse the repository at this point in the history
  • Loading branch information
christothes authored Apr 3, 2024
1 parent a2fbf62 commit b912d55
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion sdk/identity/Azure.Identity.Broker/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ var credential = new InteractiveBrowserCredential(
var client = new SecretClient(new Uri("https://myvault.vault.azure.net/"), credential);
```

To bypass the account selection dialog and use the account currently signed in to the operating system, set the [InteractiveBrowserCredentialBrokerOptions.UseDefaultBrokerAccount](https://learn.microsoft.com/dotnet/api/azure.identity.broker.interactivebrowsercredentialbrokeroptions) property:
To bypass the account selection dialog and use the default broker account, set the [InteractiveBrowserCredentialBrokerOptions.UseDefaultBrokerAccount](https://learn.microsoft.com/dotnet/api/azure.identity.broker.interactivebrowsercredentialbrokeroptions) property:

```C# Snippet:ConfigureInteractiveBrowserToUseDefaultOsAccount
var credential = new InteractiveBrowserCredential(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ public class InteractiveBrowserCredentialBrokerOptions : InteractiveBrowserCrede
public bool? IsLegacyMsaPassthroughEnabled { get; set; }

/// <summary>
/// Gets or sets whether to authenticate with the currently signed in user instead of prompting the user with a login dialog.
/// Gets or sets whether to authenticate with the default broker account instead of prompting the user with a login dialog.
/// </summary>
public bool UseDefaultBrokerAccount { get; set; }

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ public class SharedTokenCacheCredentialBrokerOptions : SharedTokenCacheCredentia
public bool? IsLegacyMsaPassthroughEnabled { get; set; }

/// <summary>
/// Gets or sets whether to authenticate with the currently signed in user instead of prompting the user with a login dialog.
/// Gets or sets whether to authenticate with the default broker account instead of prompting the user with a login dialog.
/// </summary>
public bool UseDefaultBrokerAccount { get; set; }

Expand Down

0 comments on commit b912d55

Please sign in to comment.