Class IdentityProviders
java.lang.Object
com.azure.resourcemanager.appservice.models.IdentityProviders
The configuration settings of each of the identity providers used to configure App Service
Authentication/Authorization.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionapple()
Get the apple property: The configuration settings of the Apple provider.Get the azureActiveDirectory property: The configuration settings of the Azure Active directory provider.Get the azureStaticWebApps property: The configuration settings of the Azure Static Web Apps provider.Get the customOpenIdConnectProviders property: The map of the name of the alias of each custom Open ID Connect provider to the configuration settings of the custom Open ID Connect provider.facebook()
Get the facebook property: The configuration settings of the Facebook provider.gitHub()
Get the gitHub property: The configuration settings of the GitHub provider.google()
Get the google property: The configuration settings of the Google provider.Get the legacyMicrosoftAccount property: The configuration settings of the legacy Microsoft Account provider.twitter()
Get the twitter property: The configuration settings of the Twitter provider.void
validate()
Validates the instance.Set the apple property: The configuration settings of the Apple provider.withAzureActiveDirectory
(AzureActiveDirectory azureActiveDirectory) Set the azureActiveDirectory property: The configuration settings of the Azure Active directory provider.withAzureStaticWebApps
(AzureStaticWebApps azureStaticWebApps) Set the azureStaticWebApps property: The configuration settings of the Azure Static Web Apps provider.withCustomOpenIdConnectProviders
(Map<String, CustomOpenIdConnectProvider> customOpenIdConnectProviders) Set the customOpenIdConnectProviders property: The map of the name of the alias of each custom Open ID Connect provider to the configuration settings of the custom Open ID Connect provider.withFacebook
(Facebook facebook) Set the facebook property: The configuration settings of the Facebook provider.withGitHub
(GitHub gitHub) Set the gitHub property: The configuration settings of the GitHub provider.withGoogle
(Google google) Set the google property: The configuration settings of the Google provider.withLegacyMicrosoftAccount
(LegacyMicrosoftAccount legacyMicrosoftAccount) Set the legacyMicrosoftAccount property: The configuration settings of the legacy Microsoft Account provider.withTwitter
(Twitter twitter) Set the twitter property: The configuration settings of the Twitter provider.
-
Constructor Details
-
IdentityProviders
public IdentityProviders()
-
-
Method Details
-
azureActiveDirectory
Get the azureActiveDirectory property: The configuration settings of the Azure Active directory provider.- Returns:
- the azureActiveDirectory value.
-
withAzureActiveDirectory
Set the azureActiveDirectory property: The configuration settings of the Azure Active directory provider.- Parameters:
azureActiveDirectory
- the azureActiveDirectory value to set.- Returns:
- the IdentityProviders object itself.
-
facebook
Get the facebook property: The configuration settings of the Facebook provider.- Returns:
- the facebook value.
-
withFacebook
Set the facebook property: The configuration settings of the Facebook provider.- Parameters:
facebook
- the facebook value to set.- Returns:
- the IdentityProviders object itself.
-
gitHub
Get the gitHub property: The configuration settings of the GitHub provider.- Returns:
- the gitHub value.
-
withGitHub
Set the gitHub property: The configuration settings of the GitHub provider.- Parameters:
gitHub
- the gitHub value to set.- Returns:
- the IdentityProviders object itself.
-
google
Get the google property: The configuration settings of the Google provider.- Returns:
- the google value.
-
withGoogle
Set the google property: The configuration settings of the Google provider.- Parameters:
google
- the google value to set.- Returns:
- the IdentityProviders object itself.
-
legacyMicrosoftAccount
Get the legacyMicrosoftAccount property: The configuration settings of the legacy Microsoft Account provider.- Returns:
- the legacyMicrosoftAccount value.
-
withLegacyMicrosoftAccount
Set the legacyMicrosoftAccount property: The configuration settings of the legacy Microsoft Account provider.- Parameters:
legacyMicrosoftAccount
- the legacyMicrosoftAccount value to set.- Returns:
- the IdentityProviders object itself.
-
twitter
Get the twitter property: The configuration settings of the Twitter provider.- Returns:
- the twitter value.
-
withTwitter
Set the twitter property: The configuration settings of the Twitter provider.- Parameters:
twitter
- the twitter value to set.- Returns:
- the IdentityProviders object itself.
-
apple
Get the apple property: The configuration settings of the Apple provider.- Returns:
- the apple value.
-
withApple
Set the apple property: The configuration settings of the Apple provider.- Parameters:
apple
- the apple value to set.- Returns:
- the IdentityProviders object itself.
-
azureStaticWebApps
Get the azureStaticWebApps property: The configuration settings of the Azure Static Web Apps provider.- Returns:
- the azureStaticWebApps value.
-
withAzureStaticWebApps
Set the azureStaticWebApps property: The configuration settings of the Azure Static Web Apps provider.- Parameters:
azureStaticWebApps
- the azureStaticWebApps value to set.- Returns:
- the IdentityProviders object itself.
-
customOpenIdConnectProviders
Get the customOpenIdConnectProviders property: The map of the name of the alias of each custom Open ID Connect provider to the configuration settings of the custom Open ID Connect provider.- Returns:
- the customOpenIdConnectProviders value.
-
withCustomOpenIdConnectProviders
public IdentityProviders withCustomOpenIdConnectProviders(Map<String, CustomOpenIdConnectProvider> customOpenIdConnectProviders) Set the customOpenIdConnectProviders property: The map of the name of the alias of each custom Open ID Connect provider to the configuration settings of the custom Open ID Connect provider.- Parameters:
customOpenIdConnectProviders
- the customOpenIdConnectProviders value to set.- Returns:
- the IdentityProviders object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-