Record Class OIDCParameters

java.lang.Object
java.lang.Record
io.vertigo.connectors.oidc.OIDCParameters

public record OIDCParameters(String oidcClientName, Optional<String> oidcClientSecret, String oidcURL, Optional<String> overrideIssuerOpt, int httpConnectTimeout, int httpReadTimeout, Optional<URL> localOIDCMetadataOp, String jwsAlgorithm, Boolean skipIdTokenValidation, Boolean usePKCE, Optional<String> logoutRedirectUriParamNameOpt, Optional<String> logoutIdParamNameOpt, Optional<String> localeParamNameOpt, boolean dontFailAtStartup, Optional<String> trustStoreUrlOpt, Optional<String> trustStorePasswordOpt, Optional<String> proxyHostOpt, int proxyPort) extends Record
  • Constructor Details

    • OIDCParameters

      public OIDCParameters(String oidcClientName, Optional<String> oidcClientSecret, String oidcURL, Optional<String> overrideIssuerOpt, int httpConnectTimeout, int httpReadTimeout, Optional<URL> localOIDCMetadataOp, String jwsAlgorithm, Boolean skipIdTokenValidation, Boolean usePKCE, Optional<String> logoutRedirectUriParamNameOpt, Optional<String> logoutIdParamNameOpt, Optional<String> localeParamNameOpt, boolean dontFailAtStartup, Optional<String> trustStoreUrlOpt, Optional<String> trustStorePasswordOpt, Optional<String> proxyHostOpt, int proxyPort)
      Creates an instance of a OIDCParameters record class.
      Parameters:
      oidcClientName - the value for the oidcClientName record component
      oidcClientSecret - the value for the oidcClientSecret record component
      oidcURL - the value for the oidcURL record component
      overrideIssuerOpt - the value for the overrideIssuerOpt record component
      httpConnectTimeout - the value for the httpConnectTimeout record component
      httpReadTimeout - the value for the httpReadTimeout record component
      localOIDCMetadataOp - the value for the localOIDCMetadataOp record component
      jwsAlgorithm - the value for the jwsAlgorithm record component
      skipIdTokenValidation - the value for the skipIdTokenValidation record component
      usePKCE - the value for the usePKCE record component
      logoutRedirectUriParamNameOpt - the value for the logoutRedirectUriParamNameOpt record component
      logoutIdParamNameOpt - the value for the logoutIdParamNameOpt record component
      localeParamNameOpt - the value for the localeParamNameOpt record component
      dontFailAtStartup - the value for the dontFailAtStartup record component
      trustStoreUrlOpt - the value for the trustStoreUrlOpt record component
      trustStorePasswordOpt - the value for the trustStorePasswordOpt record component
      proxyHostOpt - the value for the proxyHostOpt record component
      proxyPort - the value for the proxyPort 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. Reference components are compared with Objects::equals(Object,Object); primitive components are compared with '=='.
      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.
    • oidcClientName

      public String oidcClientName()
      Returns the value of the oidcClientName record component.
      Returns:
      the value of the oidcClientName record component
    • oidcClientSecret

      public Optional<String> oidcClientSecret()
      Returns the value of the oidcClientSecret record component.
      Returns:
      the value of the oidcClientSecret record component
    • oidcURL

      public String oidcURL()
      Returns the value of the oidcURL record component.
      Returns:
      the value of the oidcURL record component
    • overrideIssuerOpt

      public Optional<String> overrideIssuerOpt()
      Returns the value of the overrideIssuerOpt record component.
      Returns:
      the value of the overrideIssuerOpt record component
    • httpConnectTimeout

      public int httpConnectTimeout()
      Returns the value of the httpConnectTimeout record component.
      Returns:
      the value of the httpConnectTimeout record component
    • httpReadTimeout

      public int httpReadTimeout()
      Returns the value of the httpReadTimeout record component.
      Returns:
      the value of the httpReadTimeout record component
    • localOIDCMetadataOp

      public Optional<URL> localOIDCMetadataOp()
      Returns the value of the localOIDCMetadataOp record component.
      Returns:
      the value of the localOIDCMetadataOp record component
    • jwsAlgorithm

      public String jwsAlgorithm()
      Returns the value of the jwsAlgorithm record component.
      Returns:
      the value of the jwsAlgorithm record component
    • skipIdTokenValidation

      public Boolean skipIdTokenValidation()
      Returns the value of the skipIdTokenValidation record component.
      Returns:
      the value of the skipIdTokenValidation record component
    • usePKCE

      public Boolean usePKCE()
      Returns the value of the usePKCE record component.
      Returns:
      the value of the usePKCE record component
    • logoutRedirectUriParamNameOpt

      public Optional<String> logoutRedirectUriParamNameOpt()
      Returns the value of the logoutRedirectUriParamNameOpt record component.
      Returns:
      the value of the logoutRedirectUriParamNameOpt record component
    • logoutIdParamNameOpt

      public Optional<String> logoutIdParamNameOpt()
      Returns the value of the logoutIdParamNameOpt record component.
      Returns:
      the value of the logoutIdParamNameOpt record component
    • localeParamNameOpt

      public Optional<String> localeParamNameOpt()
      Returns the value of the localeParamNameOpt record component.
      Returns:
      the value of the localeParamNameOpt record component
    • dontFailAtStartup

      public boolean dontFailAtStartup()
      Returns the value of the dontFailAtStartup record component.
      Returns:
      the value of the dontFailAtStartup record component
    • trustStoreUrlOpt

      public Optional<String> trustStoreUrlOpt()
      Returns the value of the trustStoreUrlOpt record component.
      Returns:
      the value of the trustStoreUrlOpt record component
    • trustStorePasswordOpt

      public Optional<String> trustStorePasswordOpt()
      Returns the value of the trustStorePasswordOpt record component.
      Returns:
      the value of the trustStorePasswordOpt record component
    • proxyHostOpt

      public Optional<String> proxyHostOpt()
      Returns the value of the proxyHostOpt record component.
      Returns:
      the value of the proxyHostOpt record component
    • proxyPort

      public int proxyPort()
      Returns the value of the proxyPort record component.
      Returns:
      the value of the proxyPort record component