Package fr.enedis.chutney.security.api
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 Summary
ConstructorsConstructorDescriptionSsoOpenIdConnectConfigDto(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 aSsoOpenIdConnectConfigDtorecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theadditionalQueryParamsrecord component.clientId()Returns the value of theclientIdrecord component.Returns the value of theclientSecretrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.headers()Returns the value of theheadersrecord component.issuer()Returns the value of theissuerrecord component.oidc()Returns the value of theoidcrecord component.Returns the value of theredirectBaseUrlrecord component.Returns the value of theresponseTyperecord component.scope()Returns the value of thescoperecord component.Returns the value of thessoProviderImageUrlrecord component.Returns the value of thessoProviderNamerecord component.final StringtoString()Returns a string representation of this record class.Returns the value of theuriRequireHeaderrecord component.
-
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 aSsoOpenIdConnectConfigDtorecord class.- Parameters:
issuer- the value for theissuerrecord componentclientId- the value for theclientIdrecord componentclientSecret- the value for theclientSecretrecord componentresponseType- the value for theresponseTyperecord componentscope- the value for thescoperecord componentredirectBaseUrl- the value for theredirectBaseUrlrecord componentssoProviderName- the value for thessoProviderNamerecord componentoidc- the value for theoidcrecord componenturiRequireHeader- the value for theuriRequireHeaderrecord componentheaders- the value for theheadersrecord componentssoProviderImageUrl- the value for thessoProviderImageUrlrecord componentadditionalQueryParams- the value for theadditionalQueryParamsrecord 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. All components in this record class are compared withObjects::equals(Object,Object). -
issuer
Returns the value of theissuerrecord component.- Returns:
- the value of the
issuerrecord component
-
clientId
Returns the value of theclientIdrecord component.- Returns:
- the value of the
clientIdrecord component
-
clientSecret
Returns the value of theclientSecretrecord component.- Returns:
- the value of the
clientSecretrecord component
-
responseType
Returns the value of theresponseTyperecord component.- Returns:
- the value of the
responseTyperecord component
-
scope
Returns the value of thescoperecord component.- Returns:
- the value of the
scoperecord component
-
redirectBaseUrl
Returns the value of theredirectBaseUrlrecord component.- Returns:
- the value of the
redirectBaseUrlrecord component
-
ssoProviderName
Returns the value of thessoProviderNamerecord component.- Returns:
- the value of the
ssoProviderNamerecord component
-
oidc
Returns the value of theoidcrecord component.- Returns:
- the value of the
oidcrecord component
-
uriRequireHeader
Returns the value of theuriRequireHeaderrecord component.- Returns:
- the value of the
uriRequireHeaderrecord component
-
headers
Returns the value of theheadersrecord component.- Returns:
- the value of the
headersrecord component
-
ssoProviderImageUrl
Returns the value of thessoProviderImageUrlrecord component.- Returns:
- the value of the
ssoProviderImageUrlrecord component
-
additionalQueryParams
Returns the value of theadditionalQueryParamsrecord component.- Returns:
- the value of the
additionalQueryParamsrecord component
-