Class OpenIdConnectLogin

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

public final class OpenIdConnectLogin extends Object implements com.azure.json.JsonSerializable<OpenIdConnectLogin>
The configuration settings of the login flow of the custom Open ID Connect provider.
  • Constructor Details

    • OpenIdConnectLogin

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

    • nameClaimType

      public String nameClaimType()
      Get the nameClaimType property: The name of the claim that contains the users name.
      Returns:
      the nameClaimType value.
    • withNameClaimType

      public OpenIdConnectLogin withNameClaimType(String nameClaimType)
      Set the nameClaimType property: The name of the claim that contains the users name.
      Parameters:
      nameClaimType - the nameClaimType value to set.
      Returns:
      the OpenIdConnectLogin object itself.
    • scopes

      public List<String> scopes()
      Get the scopes property: A list of the scopes that should be requested while authenticating.
      Returns:
      the scopes value.
    • withScopes

      public OpenIdConnectLogin withScopes(List<String> scopes)
      Set the scopes property: A list of the scopes that should be requested while authenticating.
      Parameters:
      scopes - the scopes value to set.
      Returns:
      the OpenIdConnectLogin 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<OpenIdConnectLogin>
      Throws:
      IOException
    • fromJson

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