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

IWithAuthenticationProvider<ParentT>.WithActiveDirectory 方法

定义

重载

WithActiveDirectory(String, String)

指定要为 Active Directory 的提供程序及其客户端 ID 和颁发者 URL。

WithActiveDirectory(String, String, String)

指定要为 Active Directory 的提供程序及其客户端 ID 和颁发者 URL。

WithActiveDirectory(String, String)

指定要为 Active Directory 的提供程序及其客户端 ID 和颁发者 URL。

public Microsoft.Azure.Management.AppService.Fluent.WebAppAuthentication.UpdateDefinition.IWithAttach<ParentT> WithActiveDirectory (string clientId, string issuerUrl);
abstract member WithActiveDirectory : string * string -> Microsoft.Azure.Management.AppService.Fluent.WebAppAuthentication.UpdateDefinition.IWithAttach<'ParentT>
Public Function WithActiveDirectory (clientId As String, issuerUrl As String) As IWithAttach(Of ParentT)

参数

clientId
String

AAD 应用的客户端 ID。

issuerUrl
String

采用 格式的 https://sts.windows.net/(tenantId)令牌颁发者 URL。

返回

适用于

WithActiveDirectory(String, String, String)

指定要为 Active Directory 的提供程序及其客户端 ID 和颁发者 URL。

public Microsoft.Azure.Management.AppService.Fluent.WebAppAuthentication.UpdateDefinition.IWithAttach<ParentT> WithActiveDirectory (string clientId, string clientSecret, string issuerUrl);
abstract member WithActiveDirectory : string * string * string -> Microsoft.Azure.Management.AppService.Fluent.WebAppAuthentication.UpdateDefinition.IWithAttach<'ParentT>
Public Function WithActiveDirectory (clientId As String, clientSecret As String, issuerUrl As String) As IWithAttach(Of ParentT)

参数

clientId
String

AAD 应用的客户端 ID。

clientSecret
String

AAD 应用的客户端密码。

issuerUrl
String

采用 格式的 https://sts.windows.net/(tenantId)令牌颁发者 URL。

返回

适用于