Class SSOProvider

java.lang.Object
ai.reveng.model.SSOProvider

@Generated("org.openapitools.codegen.languages.JavaClientCodegen") public class SSOProvider extends Object
SSOProvider
  • Field Details

  • Constructor Details

    • SSOProvider

      public SSOProvider()
  • Method Details

    • authUrl

      public SSOProvider authUrl(@Nonnull String authUrl)
    • getAuthUrl

      @Nonnull public String getAuthUrl()
      Base authorization URL. Append code_challenge, code_challenge_method, redirect_uri, and state query parameters to complete the PKCE flow.
      Returns:
      authUrl
    • setAuthUrl

      public void setAuthUrl(@Nonnull String authUrl)
    • issuer

      public SSOProvider issuer(@Nonnull String issuer)
    • getIssuer

      @Nonnull public String getIssuer()
      Issuer URL of the identity provider. Pass this value as the issuer field in the SSO callback request.
      Returns:
      issuer
    • setIssuer

      public void setIssuer(@Nonnull String issuer)
    • putAdditionalProperty

      public SSOProvider putAdditionalProperty(String key, Object value)
      Set the additional (undeclared) property with the specified name and value. If the property does not already exist, create it otherwise replace it.
      Parameters:
      key - name of the property
      value - value of the property
      Returns:
      the SSOProvider instance itself
    • getAdditionalProperties

      public Map<String,Object> getAdditionalProperties()
      Return the additional (undeclared) property.
      Returns:
      a map of objects
    • getAdditionalProperty

      public Object getAdditionalProperty(String key)
      Return the additional (undeclared) property with the specified name.
      Parameters:
      key - name of the property
      Returns:
      an object
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • validateJsonElement

      public static void validateJsonElement(com.google.gson.JsonElement jsonElement) throws IOException
      Validates the JSON Element and throws an exception if issues found
      Parameters:
      jsonElement - JSON Element
      Throws:
      IOException - if the JSON Element is invalid with respect to SSOProvider
    • fromJson

      public static SSOProvider fromJson(String jsonString) throws IOException
      Create an instance of SSOProvider given an JSON string
      Parameters:
      jsonString - JSON string
      Returns:
      An instance of SSOProvider
      Throws:
      IOException - if the JSON string is invalid with respect to SSOProvider
    • toJson

      public String toJson()
      Convert an instance of SSOProvider to an JSON string
      Returns:
      JSON string