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

IDefinition<ParentT> 接口

定义

Web 应用身份验证定义的全部内容。

public interface IDefinition<ParentT> : Microsoft.Azure.Management.AppService.Fluent.WebAppAuthentication.Definition.IBlank<ParentT>, Microsoft.Azure.Management.AppService.Fluent.WebAppAuthentication.Definition.IWithAttach<ParentT>, Microsoft.Azure.Management.AppService.Fluent.WebAppAuthentication.Definition.IWithAuthenticationProvider<ParentT>, Microsoft.Azure.Management.AppService.Fluent.WebAppAuthentication.Definition.IWithDefaultAuthenticationProvider<ParentT>, Microsoft.Azure.Management.AppService.Fluent.WebAppAuthentication.Definition.IWithExternalRedirectUrls<ParentT>, Microsoft.Azure.Management.AppService.Fluent.WebAppAuthentication.Definition.IWithTokenStore<ParentT>, Microsoft.Azure.Management.ResourceManager.Fluent.Core.ChildResource.Definition.IInDefinition<ParentT>
type IDefinition<'ParentT> = interface
    interface IBlank<'ParentT>
    interface IWithDefaultAuthenticationProvider<'ParentT>
    interface IWithAttach<'ParentT>
    interface IInDefinition<'ParentT>
    interface IWithAuthenticationProvider<'ParentT>
    interface IWithTokenStore<'ParentT>
    interface IWithExternalRedirectUrls<'ParentT>
Public Interface IDefinition(Of ParentT)
Implements IBlank(Of ParentT), IInDefinition(Of ParentT), IWithAttach(Of ParentT), IWithAuthenticationProvider(Of ParentT), IWithDefaultAuthenticationProvider(Of ParentT), IWithExternalRedirectUrls(Of ParentT), IWithTokenStore(Of ParentT)

类型参数

ParentT

最终 Attachable.attach () 的返回类型。

实现

方法

Attach()

Web 应用身份验证定义的全部内容。

(继承自 IInDefinition<ParentT>)
WithActiveDirectory(String, String)

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

(继承自 IWithAuthenticationProvider<ParentT>)
WithActiveDirectory(String, String, String)

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

(继承自 IWithAuthenticationProvider<ParentT>)
WithAllowedExternalRedirectUrl(String)

添加外部重定向 URL。

(继承自 IWithExternalRedirectUrls<ParentT>)
WithAnonymousAuthentication()

默认情况下不需要登录。

(继承自 IWithDefaultAuthenticationProvider<ParentT>)
WithDefaultAuthenticationProvider(BuiltInAuthenticationProvider)

指定默认身份验证提供程序。

(继承自 IWithDefaultAuthenticationProvider<ParentT>)
WithFacebook(String, String)

将提供程序指定为 Facebook 及其应用 ID 和应用机密。

(继承自 IWithAuthenticationProvider<ParentT>)
WithGoogle(String, String)

指定要为 Google 的提供程序及其客户端 ID 和客户端密码。

(继承自 IWithAuthenticationProvider<ParentT>)
WithMicrosoft(String, String)

将提供程序指定为 Microsoft 及其客户端 ID 和客户端密码。

(继承自 IWithAuthenticationProvider<ParentT>)
WithTokenStore(Boolean)

指定是否应启用令牌存储。

(继承自 IWithTokenStore<ParentT>)
WithTwitter(String, String)

将提供程序指定为 Twitter 及其 API 密钥和 API 机密。

(继承自 IWithAuthenticationProvider<ParentT>)

适用于