Class AuthConfigProperties

java.lang.Object
com.azure.resourcemanager.appcontainers.fluent.models.AuthConfigProperties
All Implemented Interfaces:
com.azure.json.JsonSerializable<AuthConfigProperties>

public final class AuthConfigProperties extends Object implements com.azure.json.JsonSerializable<AuthConfigProperties>
AuthConfig resource specific properties.
  • Constructor Summary

    Constructors
    Constructor
    Description
    Creates an instance of AuthConfigProperties class.
  • Method Summary

    Modifier and Type
    Method
    Description
    Get the encryptionSettings property: The configuration settings of the secrets references of encryption key and signing key for ContainerApp Service Authentication/Authorization.
    fromJson(com.azure.json.JsonReader jsonReader)
    Reads an instance of AuthConfigProperties from the JsonReader.
    Get the globalValidation property: The configuration settings that determines the validation flow of users using Service Authentication/Authorization.
    Get the httpSettings property: The configuration settings of the HTTP requests for authentication and authorization requests made against ContainerApp Service Authentication/Authorization.
    Get the identityProviders property: The configuration settings of each of the identity providers used to configure ContainerApp Service Authentication/Authorization.
    Get the login property: The configuration settings of the login flow of users using ContainerApp Service Authentication/Authorization.
    Get the platform property: The configuration settings of the platform of ContainerApp Service Authentication/Authorization.
    com.azure.json.JsonWriter
    toJson(com.azure.json.JsonWriter jsonWriter)
    void
    Validates the instance.
    Set the encryptionSettings property: The configuration settings of the secrets references of encryption key and signing key for ContainerApp Service Authentication/Authorization.
    Set the globalValidation property: The configuration settings that determines the validation flow of users using Service Authentication/Authorization.
    Set the httpSettings property: The configuration settings of the HTTP requests for authentication and authorization requests made against ContainerApp Service Authentication/Authorization.
    Set the identityProviders property: The configuration settings of each of the identity providers used to configure ContainerApp Service Authentication/Authorization.
    Set the login property: The configuration settings of the login flow of users using ContainerApp Service Authentication/Authorization.
    Set the platform property: The configuration settings of the platform of ContainerApp Service Authentication/Authorization.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface com.azure.json.JsonSerializable

    toJson, toJson, toJsonBytes, toJsonString
  • Constructor Details

    • AuthConfigProperties

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

    • platform

      public AuthPlatform platform()
      Get the platform property: The configuration settings of the platform of ContainerApp Service Authentication/Authorization.
      Returns:
      the platform value.
    • withPlatform

      public AuthConfigProperties withPlatform(AuthPlatform platform)
      Set the platform property: The configuration settings of the platform of ContainerApp Service Authentication/Authorization.
      Parameters:
      platform - the platform value to set.
      Returns:
      the AuthConfigProperties object itself.
    • globalValidation

      public GlobalValidation globalValidation()
      Get the globalValidation property: The configuration settings that determines the validation flow of users using Service Authentication/Authorization.
      Returns:
      the globalValidation value.
    • withGlobalValidation

      public AuthConfigProperties withGlobalValidation(GlobalValidation globalValidation)
      Set the globalValidation property: The configuration settings that determines the validation flow of users using Service Authentication/Authorization.
      Parameters:
      globalValidation - the globalValidation value to set.
      Returns:
      the AuthConfigProperties object itself.
    • identityProviders

      public IdentityProviders identityProviders()
      Get the identityProviders property: The configuration settings of each of the identity providers used to configure ContainerApp Service Authentication/Authorization.
      Returns:
      the identityProviders value.
    • withIdentityProviders

      public AuthConfigProperties withIdentityProviders(IdentityProviders identityProviders)
      Set the identityProviders property: The configuration settings of each of the identity providers used to configure ContainerApp Service Authentication/Authorization.
      Parameters:
      identityProviders - the identityProviders value to set.
      Returns:
      the AuthConfigProperties object itself.
    • login

      public Login login()
      Get the login property: The configuration settings of the login flow of users using ContainerApp Service Authentication/Authorization.
      Returns:
      the login value.
    • withLogin

      public AuthConfigProperties withLogin(Login login)
      Set the login property: The configuration settings of the login flow of users using ContainerApp Service Authentication/Authorization.
      Parameters:
      login - the login value to set.
      Returns:
      the AuthConfigProperties object itself.
    • httpSettings

      public HttpSettings httpSettings()
      Get the httpSettings property: The configuration settings of the HTTP requests for authentication and authorization requests made against ContainerApp Service Authentication/Authorization.
      Returns:
      the httpSettings value.
    • withHttpSettings

      public AuthConfigProperties withHttpSettings(HttpSettings httpSettings)
      Set the httpSettings property: The configuration settings of the HTTP requests for authentication and authorization requests made against ContainerApp Service Authentication/Authorization.
      Parameters:
      httpSettings - the httpSettings value to set.
      Returns:
      the AuthConfigProperties object itself.
    • encryptionSettings

      public EncryptionSettings encryptionSettings()
      Get the encryptionSettings property: The configuration settings of the secrets references of encryption key and signing key for ContainerApp Service Authentication/Authorization.
      Returns:
      the encryptionSettings value.
    • withEncryptionSettings

      public AuthConfigProperties withEncryptionSettings(EncryptionSettings encryptionSettings)
      Set the encryptionSettings property: The configuration settings of the secrets references of encryption key and signing key for ContainerApp Service Authentication/Authorization.
      Parameters:
      encryptionSettings - the encryptionSettings value to set.
      Returns:
      the AuthConfigProperties 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<AuthConfigProperties>
      Throws:
      IOException
    • fromJson

      public static AuthConfigProperties fromJson(com.azure.json.JsonReader jsonReader) throws IOException
      Reads an instance of AuthConfigProperties from the JsonReader.
      Parameters:
      jsonReader - The JsonReader being read.
      Returns:
      An instance of AuthConfigProperties 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 AuthConfigProperties.