AzureComponentFactory.CreateTokenCredential(IConfiguration) Method

Definition

Creates an instance of TokenCredential from the provided Microsoft.Extensions.Configuration.IConfiguration object or returns a current default.

public abstract Azure.Core.TokenCredential CreateTokenCredential (Microsoft.Extensions.Configuration.IConfiguration configuration);
abstract member CreateTokenCredential : Microsoft.Extensions.Configuration.IConfiguration -> Azure.Core.TokenCredential
Public MustOverride Function CreateTokenCredential (configuration As IConfiguration) As TokenCredential

Parameters

configuration
Microsoft.Extensions.Configuration.IConfiguration

Returns

TokenCredential

Applies to