Class AzureActiveDirectoryLogin

java.lang.Object
com.azure.resourcemanager.appservice.models.AzureActiveDirectoryLogin
All Implemented Interfaces:
com.azure.json.JsonSerializable<AzureActiveDirectoryLogin>

public final class AzureActiveDirectoryLogin extends Object implements com.azure.json.JsonSerializable<AzureActiveDirectoryLogin>
The configuration settings of the Azure Active Directory login flow.
  • Constructor Details

    • AzureActiveDirectoryLogin

      public AzureActiveDirectoryLogin()
      Creates an instance of AzureActiveDirectoryLogin class.
  • Method Details

    • loginParameters

      public List<String> loginParameters()
      Get the loginParameters property: Login parameters to send to the OpenID Connect authorization endpoint when a user logs in. Each parameter must be in the form "key=value".
      Returns:
      the loginParameters value.
    • withLoginParameters

      public AzureActiveDirectoryLogin withLoginParameters(List<String> loginParameters)
      Set the loginParameters property: Login parameters to send to the OpenID Connect authorization endpoint when a user logs in. Each parameter must be in the form "key=value".
      Parameters:
      loginParameters - the loginParameters value to set.
      Returns:
      the AzureActiveDirectoryLogin object itself.
    • disableWwwAuthenticate

      public Boolean disableWwwAuthenticate()
      Get the disableWwwAuthenticate property: <code>true</code> if the www-authenticate provider should be omitted from the request; otherwise, <code>false</code>.
      Returns:
      the disableWwwAuthenticate value.
    • withDisableWwwAuthenticate

      public AzureActiveDirectoryLogin withDisableWwwAuthenticate(Boolean disableWwwAuthenticate)
      Set the disableWwwAuthenticate property: <code>true</code> if the www-authenticate provider should be omitted from the request; otherwise, <code>false</code>.
      Parameters:
      disableWwwAuthenticate - the disableWwwAuthenticate value to set.
      Returns:
      the AzureActiveDirectoryLogin object itself.
    • validate

      public void validate()
      Validates the instance.
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.
    • toJson

      public com.azure.json.JsonWriter toJson(com.azure.json.JsonWriter jsonWriter) throws IOException
      Specified by:
      toJson in interface com.azure.json.JsonSerializable<AzureActiveDirectoryLogin>
      Throws:
      IOException
    • fromJson

      public static AzureActiveDirectoryLogin fromJson(com.azure.json.JsonReader jsonReader) throws IOException
      Reads an instance of AzureActiveDirectoryLogin from the JsonReader.
      Parameters:
      jsonReader - The JsonReader being read.
      Returns:
      An instance of AzureActiveDirectoryLogin if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.
      Throws:
      IOException - If an error occurs while reading the AzureActiveDirectoryLogin.