ParentT - the stage of the parent definition to return to after attaching this definitionpublic static interface WebAppAuthentication.DefinitionStages.WithAuthenticationProvider<ParentT>
| Modifier and Type | Method and Description |
|---|---|
WebAppAuthentication.DefinitionStages.WithAttach<ParentT> |
withActiveDirectory(String clientId,
String issuerUrl)
Specifies the provider to be Active Directory and its client ID and issuer URL.
|
WebAppAuthentication.DefinitionStages.WithAttach<ParentT> |
withFacebook(String appId,
String appSecret)
Specifies the provider to be Facebook and its app ID and app secret.
|
WebAppAuthentication.DefinitionStages.WithAttach<ParentT> |
withGoogle(String clientId,
String clientSecret)
Specifies the provider to be Google and its client ID and client secret.
|
WebAppAuthentication.DefinitionStages.WithAttach<ParentT> |
withMicrosoft(String clientId,
String clientSecret)
Specifies the provider to be Microsoft and its client ID and client secret.
|
WebAppAuthentication.DefinitionStages.WithAttach<ParentT> |
withTwitter(String apiKey,
String apiSecret)
Specifies the provider to be Twitter and its API key and API secret.
|
WebAppAuthentication.DefinitionStages.WithAttach<ParentT> withActiveDirectory(String clientId, String issuerUrl)
clientId - the AAD app's client IDissuerUrl - the token issuer URL in the format of https://sts.windows.net/(tenantId)WebAppAuthentication.DefinitionStages.WithAttach<ParentT> withFacebook(String appId, String appSecret)
appId - the Facebook app IDappSecret - the Facebook app secretWebAppAuthentication.DefinitionStages.WithAttach<ParentT> withGoogle(String clientId, String clientSecret)
clientId - the Google app's client IDclientSecret - the Google app's client secretWebAppAuthentication.DefinitionStages.WithAttach<ParentT> withTwitter(String apiKey, String apiSecret)
apiKey - the Twitter app's API keyapiSecret - the Twitter app's API secretWebAppAuthentication.DefinitionStages.WithAttach<ParentT> withMicrosoft(String clientId, String clientSecret)
clientId - the Microsoft app's client IDclientSecret - the Microsoft app's client secretCopyright © 2019. All rights reserved.