Package io.vertigo.connectors.oidc
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 Summary
ConstructorsConstructorDescriptionOIDCParameters(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 aOIDCParametersrecord class. -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturns the value of thedontFailAtStartuprecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.intReturns the value of thehttpConnectTimeoutrecord component.intReturns the value of thehttpReadTimeoutrecord component.Returns the value of thejwsAlgorithmrecord component.Returns the value of thelocaleParamNameOptrecord component.Returns the value of thelocalOIDCMetadataOprecord component.Returns the value of thelogoutIdParamNameOptrecord component.Returns the value of thelogoutRedirectUriParamNameOptrecord component.Returns the value of theoidcClientNamerecord component.Returns the value of theoidcClientSecretrecord component.oidcURL()Returns the value of theoidcURLrecord component.Returns the value of theoverrideIssuerOptrecord component.Returns the value of theproxyHostOptrecord component.intReturns the value of theproxyPortrecord component.Returns the value of theskipIdTokenValidationrecord component.final StringtoString()Returns a string representation of this record class.Returns the value of thetrustStorePasswordOptrecord component.Returns the value of thetrustStoreUrlOptrecord component.usePKCE()Returns the value of theusePKCErecord component.
-
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 aOIDCParametersrecord class.- Parameters:
oidcClientName- the value for theoidcClientNamerecord componentoidcClientSecret- the value for theoidcClientSecretrecord componentoidcURL- the value for theoidcURLrecord componentoverrideIssuerOpt- the value for theoverrideIssuerOptrecord componenthttpConnectTimeout- the value for thehttpConnectTimeoutrecord componenthttpReadTimeout- the value for thehttpReadTimeoutrecord componentlocalOIDCMetadataOp- the value for thelocalOIDCMetadataOprecord componentjwsAlgorithm- the value for thejwsAlgorithmrecord componentskipIdTokenValidation- the value for theskipIdTokenValidationrecord componentusePKCE- the value for theusePKCErecord componentlogoutRedirectUriParamNameOpt- the value for thelogoutRedirectUriParamNameOptrecord componentlogoutIdParamNameOpt- the value for thelogoutIdParamNameOptrecord componentlocaleParamNameOpt- the value for thelocaleParamNameOptrecord componentdontFailAtStartup- the value for thedontFailAtStartuprecord componenttrustStoreUrlOpt- the value for thetrustStoreUrlOptrecord componenttrustStorePasswordOpt- the value for thetrustStorePasswordOptrecord componentproxyHostOpt- the value for theproxyHostOptrecord componentproxyPort- the value for theproxyPortrecord component
-
-
Method Details
-
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. -
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. -
equals
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 withObjects::equals(Object,Object); primitive components are compared with '=='. -
oidcClientName
Returns the value of theoidcClientNamerecord component.- Returns:
- the value of the
oidcClientNamerecord component
-
oidcClientSecret
Returns the value of theoidcClientSecretrecord component.- Returns:
- the value of the
oidcClientSecretrecord component
-
oidcURL
Returns the value of theoidcURLrecord component.- Returns:
- the value of the
oidcURLrecord component
-
overrideIssuerOpt
Returns the value of theoverrideIssuerOptrecord component.- Returns:
- the value of the
overrideIssuerOptrecord component
-
httpConnectTimeout
public int httpConnectTimeout()Returns the value of thehttpConnectTimeoutrecord component.- Returns:
- the value of the
httpConnectTimeoutrecord component
-
httpReadTimeout
public int httpReadTimeout()Returns the value of thehttpReadTimeoutrecord component.- Returns:
- the value of the
httpReadTimeoutrecord component
-
localOIDCMetadataOp
Returns the value of thelocalOIDCMetadataOprecord component.- Returns:
- the value of the
localOIDCMetadataOprecord component
-
jwsAlgorithm
Returns the value of thejwsAlgorithmrecord component.- Returns:
- the value of the
jwsAlgorithmrecord component
-
skipIdTokenValidation
Returns the value of theskipIdTokenValidationrecord component.- Returns:
- the value of the
skipIdTokenValidationrecord component
-
usePKCE
Returns the value of theusePKCErecord component.- Returns:
- the value of the
usePKCErecord component
-
logoutRedirectUriParamNameOpt
Returns the value of thelogoutRedirectUriParamNameOptrecord component.- Returns:
- the value of the
logoutRedirectUriParamNameOptrecord component
-
logoutIdParamNameOpt
Returns the value of thelogoutIdParamNameOptrecord component.- Returns:
- the value of the
logoutIdParamNameOptrecord component
-
localeParamNameOpt
Returns the value of thelocaleParamNameOptrecord component.- Returns:
- the value of the
localeParamNameOptrecord component
-
dontFailAtStartup
public boolean dontFailAtStartup()Returns the value of thedontFailAtStartuprecord component.- Returns:
- the value of the
dontFailAtStartuprecord component
-
trustStoreUrlOpt
Returns the value of thetrustStoreUrlOptrecord component.- Returns:
- the value of the
trustStoreUrlOptrecord component
-
trustStorePasswordOpt
Returns the value of thetrustStorePasswordOptrecord component.- Returns:
- the value of the
trustStorePasswordOptrecord component
-
proxyHostOpt
Returns the value of theproxyHostOptrecord component.- Returns:
- the value of the
proxyHostOptrecord component
-
proxyPort
public int proxyPort()Returns the value of theproxyPortrecord component.- Returns:
- the value of the
proxyPortrecord component
-