你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

ServiceCredentialsExtensions Class

Definition

Provides extension methods for configuring Azure credentials with a service credential.

public static class ServiceCredentialsExtensions
type ServiceCredentialsExtensions = class
Public Module ServiceCredentialsExtensions
Inheritance
ServiceCredentialsExtensions

Methods

UseAzureCredentials(ServiceHostBase)

Configures the service host to use Azure credentials.

UseAzureCredentials<TService>(IServiceBuilder, Action<AzureServiceCredentials>)

Configures the service type TService to use Azure credentials and executes a configuration delegate to modify those credentials.

UseAzureCredentials<TService>(IServiceBuilder)

Configures the service type TService to use Azure credentials.

Applies to