你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
WebAppAuthentication.UpdateStages.WithDefaultAuthenticationProvider<ParentT> Interface
Type Parameters
- ParentT
the return type of the final parent()
public interface WithDefaultAuthenticationProvider
A web app authentication update allowing the default authentication provider to be set.
Method Summary
Modifier and Type | Method and Description |
---|---|
Web |
withAnonymousAuthentication()
Does not require login by default. |
Web |
withDefaultAuthenticationProvider(BuiltInAuthenticationProvider provider)
Specifies the default authentication provider. |
Method Details
withAnonymousAuthentication
public Update
Does not require login by default.
Returns:
the next stage of the web app authentication update
withDefaultAuthenticationProvider
public Update
Specifies the default authentication provider.
Parameters:
provider
- the default authentication provider
Returns:
the next stage of the web app authentication update