Sdílet prostřednictvím


AzureComponentFactory.CreateTokenCredential(IConfiguration) Method

Definition

Creates an instance of TokenCredential from the provided 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
IConfiguration

Returns

Applies to