IClientBuilder.ConfigureCredential Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Adds a configuration action that mutates the Credential
configuration section before it is handed to the registered
CredentialResolver chain. Use this to override values
such as TenantId or ClientId at registration time.
public System.ClientModel.Primitives.IClientBuilder ConfigureCredential(Action<Microsoft.Extensions.Configuration.IConfigurationSection> configureOverrides);
abstract member ConfigureCredential : Action<Microsoft.Extensions.Configuration.IConfigurationSection> -> System.ClientModel.Primitives.IClientBuilder
Public Function ConfigureCredential (configureOverrides As Action(Of IConfigurationSection)) As IClientBuilder
Parameters
- configureOverrides
- Action<IConfigurationSection>
Callback that receives a writable view of the credential section.