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

WebAppAuthentication.DefinitionStages.WithDefaultAuthenticationProvider<ParentT> Interface

Type Parameters

ParentT

the return type of the final attach()

public interface WithDefaultAuthenticationProvider

A web app authentication definition allowing the default authentication provider to be set.

Method Summary

Modifier and Type Method and Description
WebAppAuthentication.DefinitionStages.WithAttach<ParentT> withAnonymousAuthentication()

Does not require login by default.

WebAppAuthentication.DefinitionStages.WithAttach<ParentT> withDefaultAuthenticationProvider(BuiltInAuthenticationProvider provider)

Specifies the default authentication provider.

Method Details

withAnonymousAuthentication

public WithAttach withAnonymousAuthentication()

Does not require login by default.

Returns:

the next stage of the definition

withDefaultAuthenticationProvider

public WithAttach withDefaultAuthenticationProvider(BuiltInAuthenticationProvider provider)

Specifies the default authentication provider.

Parameters:

provider - the default authentication provider

Returns:

the next stage of the definition

Applies to