你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
WebAppAuthentication.UpdateDefinitionStages.WithAuthenticationProvider<ParentT> Interface
Type Parameters
- ParentT
the stage of the parent definition to return to after attaching this definition
public interface WithAuthenticationProvider
A web app authentication definition allowing detailed provider information to be specified.
Method Summary
Modifier and Type | Method and Description |
---|---|
Web |
withActiveDirectory(String clientId, String issuerUrl)
Specifies the provider to be Active Directory and its client ID and issuer URL. |
Web |
withFacebook(String appId, String appSecret)
Specifies the provider to be Facebook and its app ID and app secret. |
Web |
withGoogle(String clientId, String clientSecret)
Specifies the provider to be Google and its client ID and client secret. |
Web |
withMicrosoft(String clientId, String clientSecret)
Specifies the provider to be Microsoft and its client ID and client secret. |
Web |
withTwitter(String apiKey, String apiSecret)
Specifies the provider to be Twitter and its API key and API secret. |
Method Details
withActiveDirectory
public WithAttach
Specifies the provider to be Active Directory and its client ID and issuer URL.
Parameters:
Returns:
withFacebook
public WithAttach
Specifies the provider to be Facebook and its app ID and app secret.
Parameters:
Returns:
withGoogle
public WithAttach
Specifies the provider to be Google and its client ID and client secret.
Parameters:
Returns:
withMicrosoft
public WithAttach
Specifies the provider to be Microsoft and its client ID and client secret.
Parameters:
Returns:
withTwitter
public WithAttach
Specifies the provider to be Twitter and its API key and API secret.
Parameters:
Returns: