你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
IWithAuthenticationProvider<ParentT>.WithActiveDirectory 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
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.Definition.IWithAttach<ParentT> WithActiveDirectory (string clientId, string issuerUrl);
abstract member WithActiveDirectory : string * string -> Microsoft.Azure.Management.AppService.Fluent.WebAppAuthentication.Definition.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.Definition.IWithAttach<ParentT> WithActiveDirectory (string clientId, string clientSecret, string issuerUrl);
abstract member WithActiveDirectory : string * string * string -> Microsoft.Azure.Management.AppService.Fluent.WebAppAuthentication.Definition.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。