Class IdentityProviders

java.lang.Object
com.azure.resourcemanager.appservice.models.IdentityProviders

public final class IdentityProviders extends Object
The configuration settings of each of the identity providers used to configure App Service Authentication/Authorization.
  • Constructor Details

    • IdentityProviders

      public IdentityProviders()
  • Method Details

    • azureActiveDirectory

      public AzureActiveDirectory azureActiveDirectory()
      Get the azureActiveDirectory property: The configuration settings of the Azure Active directory provider.
      Returns:
      the azureActiveDirectory value.
    • withAzureActiveDirectory

      public IdentityProviders withAzureActiveDirectory(AzureActiveDirectory azureActiveDirectory)
      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

      public Facebook facebook()
      Get the facebook property: The configuration settings of the Facebook provider.
      Returns:
      the facebook value.
    • withFacebook

      public IdentityProviders withFacebook(Facebook facebook)
      Set the facebook property: The configuration settings of the Facebook provider.
      Parameters:
      facebook - the facebook value to set.
      Returns:
      the IdentityProviders object itself.
    • gitHub

      public GitHub gitHub()
      Get the gitHub property: The configuration settings of the GitHub provider.
      Returns:
      the gitHub value.
    • withGitHub

      public IdentityProviders withGitHub(GitHub gitHub)
      Set the gitHub property: The configuration settings of the GitHub provider.
      Parameters:
      gitHub - the gitHub value to set.
      Returns:
      the IdentityProviders object itself.
    • google

      public Google google()
      Get the google property: The configuration settings of the Google provider.
      Returns:
      the google value.
    • withGoogle

      public IdentityProviders withGoogle(Google google)
      Set the google property: The configuration settings of the Google provider.
      Parameters:
      google - the google value to set.
      Returns:
      the IdentityProviders object itself.
    • legacyMicrosoftAccount

      public LegacyMicrosoftAccount legacyMicrosoftAccount()
      Get the legacyMicrosoftAccount property: The configuration settings of the legacy Microsoft Account provider.
      Returns:
      the legacyMicrosoftAccount value.
    • withLegacyMicrosoftAccount

      public IdentityProviders withLegacyMicrosoftAccount(LegacyMicrosoftAccount legacyMicrosoftAccount)
      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

      public Twitter twitter()
      Get the twitter property: The configuration settings of the Twitter provider.
      Returns:
      the twitter value.
    • withTwitter

      public IdentityProviders withTwitter(Twitter twitter)
      Set the twitter property: The configuration settings of the Twitter provider.
      Parameters:
      twitter - the twitter value to set.
      Returns:
      the IdentityProviders object itself.
    • apple

      public Apple apple()
      Get the apple property: The configuration settings of the Apple provider.
      Returns:
      the apple value.
    • withApple

      public IdentityProviders withApple(Apple apple)
      Set the apple property: The configuration settings of the Apple provider.
      Parameters:
      apple - the apple value to set.
      Returns:
      the IdentityProviders object itself.
    • azureStaticWebApps

      public AzureStaticWebApps azureStaticWebApps()
      Get the azureStaticWebApps property: The configuration settings of the Azure Static Web Apps provider.
      Returns:
      the azureStaticWebApps value.
    • withAzureStaticWebApps

      public IdentityProviders withAzureStaticWebApps(AzureStaticWebApps azureStaticWebApps)
      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

      public Map<String,CustomOpenIdConnectProvider> 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.