WebAppAuthentication.DefinitionStages.WithAuthenticationProvider<ParentT> Interface
Type Parameters
- ParentT
the stage of the parent definition to return to after attaching this definition
public static interface WebAppAuthentication.DefinitionStages.WithAuthenticationProvider
A web app authentication definition allowing detailed provider information to be specified.
Method Summary
Modifier and Type | Method and Description |
---|---|
abstract
With |
withActiveDirectory(String clientId, String issuerUrl)
Specifies the provider to be Active Directory and its client ID and issuer URL. |
abstract
With |
withFacebook(String appId, String appSecret)
Specifies the provider to be Facebook and its app ID and app secret. |
abstract
With |
withGoogle(String clientId, String clientSecret)
Specifies the provider to be Google and its client ID and client secret. |
abstract
With |
withMicrosoft(String clientId, String clientSecret)
Specifies the provider to be Microsoft and its client ID and client secret. |
abstract
With |
withTwitter(String apiKey, String apiSecret)
Specifies the provider to be Twitter and its API key and API secret. |
Method Details
withActiveDirectory
public abstract WebAppAuthentication.DefinitionStages.WithAttach
Specifies the provider to be Active Directory and its client ID and issuer URL.
Parameters:
Returns:
withFacebook
public abstract WebAppAuthentication.DefinitionStages.WithAttach
Specifies the provider to be Facebook and its app ID and app secret.
Parameters:
Returns:
withGoogle
public abstract WebAppAuthentication.DefinitionStages.WithAttach
Specifies the provider to be Google and its client ID and client secret.
Parameters:
Returns:
withMicrosoft
public abstract WebAppAuthentication.DefinitionStages.WithAttach
Specifies the provider to be Microsoft and its client ID and client secret.
Parameters:
Returns:
withTwitter
public abstract WebAppAuthentication.DefinitionStages.WithAttach
Specifies the provider to be Twitter and its API key and API secret.
Parameters:
Returns:
Applies to
Azure SDK for Java