Class OpenIdConnectRegistration

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

public final class OpenIdConnectRegistration extends Object implements com.azure.json.JsonSerializable<OpenIdConnectRegistration>
The configuration settings of the app registration for the custom Open ID Connect provider.
  • Constructor Details

    • OpenIdConnectRegistration

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

    • clientId

      public String clientId()
      Get the clientId property: The client id of the custom Open ID Connect provider.
      Returns:
      the clientId value.
    • withClientId

      public OpenIdConnectRegistration withClientId(String clientId)
      Set the clientId property: The client id of the custom Open ID Connect provider.
      Parameters:
      clientId - the clientId value to set.
      Returns:
      the OpenIdConnectRegistration object itself.
    • clientCredential

      public OpenIdConnectClientCredential clientCredential()
      Get the clientCredential property: The authentication credentials of the custom Open ID Connect provider.
      Returns:
      the clientCredential value.
    • withClientCredential

      public OpenIdConnectRegistration withClientCredential(OpenIdConnectClientCredential clientCredential)
      Set the clientCredential property: The authentication credentials of the custom Open ID Connect provider.
      Parameters:
      clientCredential - the clientCredential value to set.
      Returns:
      the OpenIdConnectRegistration object itself.
    • openIdConnectConfiguration

      public OpenIdConnectConfig openIdConnectConfiguration()
      Get the openIdConnectConfiguration property: The configuration settings of the endpoints used for the custom Open ID Connect provider.
      Returns:
      the openIdConnectConfiguration value.
    • withOpenIdConnectConfiguration

      public OpenIdConnectRegistration withOpenIdConnectConfiguration(OpenIdConnectConfig openIdConnectConfiguration)
      Set the openIdConnectConfiguration property: The configuration settings of the endpoints used for the custom Open ID Connect provider.
      Parameters:
      openIdConnectConfiguration - the openIdConnectConfiguration value to set.
      Returns:
      the OpenIdConnectRegistration 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<OpenIdConnectRegistration>
      Throws:
      IOException
    • fromJson

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