Record Class SsoOpenIdConnectConfigDto

java.lang.Object
java.lang.Record
fr.enedis.chutney.security.api.SsoOpenIdConnectConfigDto

public record SsoOpenIdConnectConfigDto(String issuer, String clientId, String clientSecret, String responseType, String scope, String redirectBaseUrl, String ssoProviderName, Boolean oidc, String uriRequireHeader, Map<String,String> headers, String ssoProviderImageUrl, Map<String,String> additionalQueryParams) extends Record
  • Constructor Details

    • SsoOpenIdConnectConfigDto

      public SsoOpenIdConnectConfigDto(String issuer, String clientId, String clientSecret, String responseType, String scope, String redirectBaseUrl, String ssoProviderName, Boolean oidc, String uriRequireHeader, Map<String,String> headers, String ssoProviderImageUrl, Map<String,String> additionalQueryParams)
      Creates an instance of a SsoOpenIdConnectConfigDto record class.
      Parameters:
      issuer - the value for the issuer record component
      clientId - the value for the clientId record component
      clientSecret - the value for the clientSecret record component
      responseType - the value for the responseType record component
      scope - the value for the scope record component
      redirectBaseUrl - the value for the redirectBaseUrl record component
      ssoProviderName - the value for the ssoProviderName record component
      oidc - the value for the oidc record component
      uriRequireHeader - the value for the uriRequireHeader record component
      headers - the value for the headers record component
      ssoProviderImageUrl - the value for the ssoProviderImageUrl record component
      additionalQueryParams - the value for the additionalQueryParams record component
  • Method Details

    • toString

      public final String toString()
      Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components.
      Specified by:
      toString in class Record
      Returns:
      a string representation of this object
    • hashCode

      public final int hashCode()
      Returns a hash code value for this object. The value is derived from the hash code of each of the record components.
      Specified by:
      hashCode in class Record
      Returns:
      a hash code value for this object
    • equals

      public final boolean equals(Object o)
      Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared with Objects::equals(Object,Object).
      Specified by:
      equals in class Record
      Parameters:
      o - the object with which to compare
      Returns:
      true if this object is the same as the o argument; false otherwise.
    • issuer

      public String issuer()
      Returns the value of the issuer record component.
      Returns:
      the value of the issuer record component
    • clientId

      public String clientId()
      Returns the value of the clientId record component.
      Returns:
      the value of the clientId record component
    • clientSecret

      public String clientSecret()
      Returns the value of the clientSecret record component.
      Returns:
      the value of the clientSecret record component
    • responseType

      public String responseType()
      Returns the value of the responseType record component.
      Returns:
      the value of the responseType record component
    • scope

      public String scope()
      Returns the value of the scope record component.
      Returns:
      the value of the scope record component
    • redirectBaseUrl

      public String redirectBaseUrl()
      Returns the value of the redirectBaseUrl record component.
      Returns:
      the value of the redirectBaseUrl record component
    • ssoProviderName

      public String ssoProviderName()
      Returns the value of the ssoProviderName record component.
      Returns:
      the value of the ssoProviderName record component
    • oidc

      public Boolean oidc()
      Returns the value of the oidc record component.
      Returns:
      the value of the oidc record component
    • uriRequireHeader

      public String uriRequireHeader()
      Returns the value of the uriRequireHeader record component.
      Returns:
      the value of the uriRequireHeader record component
    • headers

      public Map<String,String> headers()
      Returns the value of the headers record component.
      Returns:
      the value of the headers record component
    • ssoProviderImageUrl

      public String ssoProviderImageUrl()
      Returns the value of the ssoProviderImageUrl record component.
      Returns:
      the value of the ssoProviderImageUrl record component
    • additionalQueryParams

      public Map<String,String> additionalQueryParams()
      Returns the value of the additionalQueryParams record component.
      Returns:
      the value of the additionalQueryParams record component