java.lang.Object
java.lang.Record
com.irurueta.authserver.authorization.api.web.v1.generated.model.ClientResponse
Record Components:
clientId - Public identifier of the client.
name - Human readable name.
confidential - Whether the client can keep a secret.
authMethods - Client authentication methods.
grantTypes - Allowed grant types.
redirectUris - Allowed redirect URIs.
scopes - Allowed scopes.
requireProofKey - Whether PKCE is required.
audiences - Audiences of the issued access tokens.
accessTokenTtl - Lifetime of the access tokens, as an ISO-8601 duration.
refreshTokenTtl - Lifetime of the refresh tokens, as an ISO-8601 duration.
accessTokenFormat - Format of the access tokens, self-contained or reference.
reuseRefreshTokens - Whether refresh tokens are reused instead of rotated.
postLogoutRedirectUris - URIs the user may be redirected to after an OpenID Connect RP-initiated logout.
requireConsent - Whether the end-user must explicitly grant the requested scopes on a consent page.
mfaRequired - Whether every user who signs in through this client must complete a second factor.
jwkSetUrl - URL of the client's public JWK set, when it has one.
jwks - The client's registered public JWK set, when it has one.
tokenEndpointAuthSigningAlgorithm - JWS algorithm a client signs its private_key_jwt assertions with.
tlsClientAuthSubjectDn - Expected subject distinguished name of the certificate of a tls_client_auth client.
certificateBoundAccessTokens - Whether the access tokens issued to the client are bound to its mutual TLS certificate.

@Generated(value="org.openapitools.codegen.languages.SpringCodegen", date="2026-11-08T20:21:45.782821081Z[Etc/UTC]", comments="Generator version: 7.27.0") public record ClientResponse(@NotNull String clientId, @NotNull String name, @NotNull Boolean confidential, @NotNull List<String> authMethods, @NotNull List<String> grantTypes, @NotNull List<String> redirectUris, @NotNull List<String> scopes, @NotNull Boolean requireProofKey, @NotNull List<String> audiences, @NotNull @Valid Duration accessTokenTtl, @NotNull @Valid Duration refreshTokenTtl, @NotNull String accessTokenFormat, @NotNull Boolean reuseRefreshTokens, @NotNull List<String> postLogoutRedirectUris, @NotNull Boolean requireConsent, @NotNull Boolean mfaRequired, @Valid URI jwkSetUrl, Map<String,Object> jwks, ClientResponse.TokenEndpointAuthSigningAlgorithmEnum tokenEndpointAuthSigningAlgorithm, String tlsClientAuthSubjectDn, @NotNull Boolean certificateBoundAccessTokens) extends Record
A registered client, without any secret
  • Field Details

    • clientId

      @NotNull private final @NotNull String clientId
      The field for the clientId record component.
    • name

      @NotNull private final @NotNull String name
      The field for the name record component.
    • confidential

      @NotNull private final @NotNull Boolean confidential
      The field for the confidential record component.
    • authMethods

      @NotNull private final @NotNull List<String> authMethods
      The field for the authMethods record component.
    • grantTypes

      @NotNull private final @NotNull List<String> grantTypes
      The field for the grantTypes record component.
    • redirectUris

      @NotNull private final @NotNull List<String> redirectUris
      The field for the redirectUris record component.
    • scopes

      @NotNull private final @NotNull List<String> scopes
      The field for the scopes record component.
    • requireProofKey

      @NotNull private final @NotNull Boolean requireProofKey
      The field for the requireProofKey record component.
    • audiences

      @NotNull private final @NotNull List<String> audiences
      The field for the audiences record component.
    • accessTokenTtl

      @NotNull @Valid private final @NotNull @Valid Duration accessTokenTtl
      The field for the accessTokenTtl record component.
    • refreshTokenTtl

      @NotNull @Valid private final @NotNull @Valid Duration refreshTokenTtl
      The field for the refreshTokenTtl record component.
    • accessTokenFormat

      @NotNull private final @NotNull String accessTokenFormat
      The field for the accessTokenFormat record component.
    • reuseRefreshTokens

      @NotNull private final @NotNull Boolean reuseRefreshTokens
      The field for the reuseRefreshTokens record component.
    • postLogoutRedirectUris

      @NotNull private final @NotNull List<String> postLogoutRedirectUris
      The field for the postLogoutRedirectUris record component.
    • requireConsent

      @NotNull private final @NotNull Boolean requireConsent
      The field for the requireConsent record component.
    • mfaRequired

      @NotNull private final @NotNull Boolean mfaRequired
      The field for the mfaRequired record component.
    • jwkSetUrl

      @Valid @Nullable private final @Valid URI jwkSetUrl
      The field for the jwkSetUrl record component.
    • jwks

      @Nullable private final Map<String,Object> jwks
      The field for the jwks record component.
    • tokenEndpointAuthSigningAlgorithm

      @Nullable private final ClientResponse.TokenEndpointAuthSigningAlgorithmEnum tokenEndpointAuthSigningAlgorithm
      The field for the tokenEndpointAuthSigningAlgorithm record component.
    • tlsClientAuthSubjectDn

      @Nullable private final String tlsClientAuthSubjectDn
      The field for the tlsClientAuthSubjectDn record component.
    • certificateBoundAccessTokens

      @NotNull private final @NotNull Boolean certificateBoundAccessTokens
      The field for the certificateBoundAccessTokens record component.
  • Constructor Details

  • 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.
    • clientId

      @NotNull public @NotNull String clientId()
      Returns the value of the clientId record component.
      Returns:
      the value of the clientId record component
    • name

      @NotNull public @NotNull String name()
      Returns the value of the name record component.
      Returns:
      the value of the name record component
    • confidential

      @NotNull public @NotNull Boolean confidential()
      Returns the value of the confidential record component.
      Returns:
      the value of the confidential record component
    • authMethods

      @NotNull public @NotNull List<String> authMethods()
      Returns the value of the authMethods record component.
      Returns:
      the value of the authMethods record component
    • grantTypes

      @NotNull public @NotNull List<String> grantTypes()
      Returns the value of the grantTypes record component.
      Returns:
      the value of the grantTypes record component
    • redirectUris

      @NotNull public @NotNull List<String> redirectUris()
      Returns the value of the redirectUris record component.
      Returns:
      the value of the redirectUris record component
    • scopes

      @NotNull public @NotNull List<String> scopes()
      Returns the value of the scopes record component.
      Returns:
      the value of the scopes record component
    • requireProofKey

      @NotNull public @NotNull Boolean requireProofKey()
      Returns the value of the requireProofKey record component.
      Returns:
      the value of the requireProofKey record component
    • audiences

      @NotNull public @NotNull List<String> audiences()
      Returns the value of the audiences record component.
      Returns:
      the value of the audiences record component
    • accessTokenTtl

      @NotNull @Valid public @NotNull @Valid Duration accessTokenTtl()
      Returns the value of the accessTokenTtl record component.
      Returns:
      the value of the accessTokenTtl record component
    • refreshTokenTtl

      @NotNull @Valid public @NotNull @Valid Duration refreshTokenTtl()
      Returns the value of the refreshTokenTtl record component.
      Returns:
      the value of the refreshTokenTtl record component
    • accessTokenFormat

      @NotNull public @NotNull String accessTokenFormat()
      Returns the value of the accessTokenFormat record component.
      Returns:
      the value of the accessTokenFormat record component
    • reuseRefreshTokens

      @NotNull public @NotNull Boolean reuseRefreshTokens()
      Returns the value of the reuseRefreshTokens record component.
      Returns:
      the value of the reuseRefreshTokens record component
    • postLogoutRedirectUris

      @NotNull public @NotNull List<String> postLogoutRedirectUris()
      Returns the value of the postLogoutRedirectUris record component.
      Returns:
      the value of the postLogoutRedirectUris record component
    • requireConsent

      @NotNull public @NotNull Boolean requireConsent()
      Returns the value of the requireConsent record component.
      Returns:
      the value of the requireConsent record component
    • mfaRequired

      @NotNull public @NotNull Boolean mfaRequired()
      Returns the value of the mfaRequired record component.
      Returns:
      the value of the mfaRequired record component
    • jwkSetUrl

      @Valid @Nullable public @Valid URI jwkSetUrl()
      Returns the value of the jwkSetUrl record component.
      Returns:
      the value of the jwkSetUrl record component
    • jwks

      @Nullable public Map<String,Object> jwks()
      Returns the value of the jwks record component.
      Returns:
      the value of the jwks record component
    • tokenEndpointAuthSigningAlgorithm

      @Nullable public ClientResponse.TokenEndpointAuthSigningAlgorithmEnum tokenEndpointAuthSigningAlgorithm()
      Returns the value of the tokenEndpointAuthSigningAlgorithm record component.
      Returns:
      the value of the tokenEndpointAuthSigningAlgorithm record component
    • tlsClientAuthSubjectDn

      @Nullable public String tlsClientAuthSubjectDn()
      Returns the value of the tlsClientAuthSubjectDn record component.
      Returns:
      the value of the tlsClientAuthSubjectDn record component
    • certificateBoundAccessTokens

      @NotNull public @NotNull Boolean certificateBoundAccessTokens()
      Returns the value of the certificateBoundAccessTokens record component.
      Returns:
      the value of the certificateBoundAccessTokens record component