Record Class ClientResponse
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
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumJWS algorithm a client signs its private_key_jwt assertions with. -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final @NotNull StringThe field for theaccessTokenFormatrecord component.private final @NotNull @Valid DurationThe field for theaccessTokenTtlrecord component.The field for theaudiencesrecord component.The field for theauthMethodsrecord component.private final @NotNull BooleanThe field for thecertificateBoundAccessTokensrecord component.private final @NotNull StringThe field for theclientIdrecord component.private final @NotNull BooleanThe field for theconfidentialrecord component.The field for thegrantTypesrecord component.The field for thejwksrecord component.private final @Valid URIThe field for thejwkSetUrlrecord component.private final @NotNull BooleanThe field for themfaRequiredrecord component.private final @NotNull StringThe field for thenamerecord component.The field for thepostLogoutRedirectUrisrecord component.The field for theredirectUrisrecord component.private final @NotNull @Valid DurationThe field for therefreshTokenTtlrecord component.private final @NotNull BooleanThe field for therequireConsentrecord component.private final @NotNull BooleanThe field for therequireProofKeyrecord component.private final @NotNull BooleanThe field for thereuseRefreshTokensrecord component.The field for thescopesrecord component.private final StringThe field for thetlsClientAuthSubjectDnrecord component.private final ClientResponse.TokenEndpointAuthSigningAlgorithmEnumThe field for thetokenEndpointAuthSigningAlgorithmrecord component. -
Constructor Summary
ConstructorsConstructorDescriptionClientResponse(@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) Creates an instance of aClientResponserecord class. -
Method Summary
Modifier and TypeMethodDescription@NotNull StringReturns the value of theaccessTokenFormatrecord component.@NotNull @Valid DurationReturns the value of theaccessTokenTtlrecord component.Returns the value of theaudiencesrecord component.Returns the value of theauthMethodsrecord component.@NotNull BooleanReturns the value of thecertificateBoundAccessTokensrecord component.@NotNull StringclientId()Returns the value of theclientIdrecord component.@NotNull BooleanReturns the value of theconfidentialrecord component.final booleanIndicates whether some other object is "equal to" this one.Returns the value of thegrantTypesrecord component.final inthashCode()Returns a hash code value for this object.jwks()Returns the value of thejwksrecord component.@Valid URIReturns the value of thejwkSetUrlrecord component.@NotNull BooleanReturns the value of themfaRequiredrecord component.@NotNull Stringname()Returns the value of thenamerecord component.Returns the value of thepostLogoutRedirectUrisrecord component.Returns the value of theredirectUrisrecord component.@NotNull @Valid DurationReturns the value of therefreshTokenTtlrecord component.@NotNull BooleanReturns the value of therequireConsentrecord component.@NotNull BooleanReturns the value of therequireProofKeyrecord component.@NotNull BooleanReturns the value of thereuseRefreshTokensrecord component.scopes()Returns the value of thescopesrecord component.Returns the value of thetlsClientAuthSubjectDnrecord component.Returns the value of thetokenEndpointAuthSigningAlgorithmrecord component.final StringtoString()Returns a string representation of this record class.
-
Field Details
-
clientId
The field for theclientIdrecord component. -
name
The field for thenamerecord component. -
confidential
The field for theconfidentialrecord component. -
authMethods
The field for theauthMethodsrecord component. -
grantTypes
The field for thegrantTypesrecord component. -
redirectUris
The field for theredirectUrisrecord component. -
scopes
The field for thescopesrecord component. -
requireProofKey
The field for therequireProofKeyrecord component. -
audiences
The field for theaudiencesrecord component. -
accessTokenTtl
The field for theaccessTokenTtlrecord component. -
refreshTokenTtl
The field for therefreshTokenTtlrecord component. -
accessTokenFormat
The field for theaccessTokenFormatrecord component. -
reuseRefreshTokens
The field for thereuseRefreshTokensrecord component. -
postLogoutRedirectUris
The field for thepostLogoutRedirectUrisrecord component. -
requireConsent
The field for therequireConsentrecord component. -
mfaRequired
The field for themfaRequiredrecord component. -
jwkSetUrl
The field for thejwkSetUrlrecord component. -
jwks
The field for thejwksrecord component. -
tokenEndpointAuthSigningAlgorithm
@Nullable private final ClientResponse.TokenEndpointAuthSigningAlgorithmEnum tokenEndpointAuthSigningAlgorithmThe field for thetokenEndpointAuthSigningAlgorithmrecord component. -
tlsClientAuthSubjectDn
The field for thetlsClientAuthSubjectDnrecord component. -
certificateBoundAccessTokens
The field for thecertificateBoundAccessTokensrecord component.
-
-
Constructor Details
-
ClientResponse
public ClientResponse(@NotNull @NotNull String clientId, @NotNull @NotNull String name, @NotNull @NotNull Boolean confidential, @NotNull @NotNull List<String> authMethods, @NotNull @NotNull List<String> grantTypes, @NotNull @NotNull List<String> redirectUris, @NotNull @NotNull List<String> scopes, @NotNull @NotNull Boolean requireProofKey, @NotNull @NotNull List<String> audiences, @NotNull @Valid @NotNull @Valid Duration accessTokenTtl, @NotNull @Valid @NotNull @Valid Duration refreshTokenTtl, @NotNull @NotNull String accessTokenFormat, @NotNull @NotNull Boolean reuseRefreshTokens, @NotNull @NotNull List<String> postLogoutRedirectUris, @NotNull @NotNull Boolean requireConsent, @NotNull @NotNull Boolean mfaRequired, @Valid @Nullable @Valid URI jwkSetUrl, @Nullable Map<String, Object> jwks, @Nullable ClientResponse.TokenEndpointAuthSigningAlgorithmEnum tokenEndpointAuthSigningAlgorithm, @Nullable String tlsClientAuthSubjectDn, @NotNull @NotNull Boolean certificateBoundAccessTokens) Creates an instance of aClientResponserecord class.- Parameters:
clientId- the value for theclientIdrecord componentname- the value for thenamerecord componentconfidential- the value for theconfidentialrecord componentauthMethods- the value for theauthMethodsrecord componentgrantTypes- the value for thegrantTypesrecord componentredirectUris- the value for theredirectUrisrecord componentscopes- the value for thescopesrecord componentrequireProofKey- the value for therequireProofKeyrecord componentaudiences- the value for theaudiencesrecord componentaccessTokenTtl- the value for theaccessTokenTtlrecord componentrefreshTokenTtl- the value for therefreshTokenTtlrecord componentaccessTokenFormat- the value for theaccessTokenFormatrecord componentreuseRefreshTokens- the value for thereuseRefreshTokensrecord componentpostLogoutRedirectUris- the value for thepostLogoutRedirectUrisrecord componentrequireConsent- the value for therequireConsentrecord componentmfaRequired- the value for themfaRequiredrecord componentjwkSetUrl- the value for thejwkSetUrlrecord componentjwks- the value for thejwksrecord componenttokenEndpointAuthSigningAlgorithm- the value for thetokenEndpointAuthSigningAlgorithmrecord componenttlsClientAuthSubjectDn- the value for thetlsClientAuthSubjectDnrecord componentcertificateBoundAccessTokens- the value for thecertificateBoundAccessTokensrecord 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). -
clientId
Returns the value of theclientIdrecord component.- Returns:
- the value of the
clientIdrecord component
-
name
Returns the value of thenamerecord component.- Returns:
- the value of the
namerecord component
-
confidential
Returns the value of theconfidentialrecord component.- Returns:
- the value of the
confidentialrecord component
-
authMethods
Returns the value of theauthMethodsrecord component.- Returns:
- the value of the
authMethodsrecord component
-
grantTypes
Returns the value of thegrantTypesrecord component.- Returns:
- the value of the
grantTypesrecord component
-
redirectUris
Returns the value of theredirectUrisrecord component.- Returns:
- the value of the
redirectUrisrecord component
-
scopes
Returns the value of thescopesrecord component.- Returns:
- the value of the
scopesrecord component
-
requireProofKey
Returns the value of therequireProofKeyrecord component.- Returns:
- the value of the
requireProofKeyrecord component
-
audiences
Returns the value of theaudiencesrecord component.- Returns:
- the value of the
audiencesrecord component
-
accessTokenTtl
Returns the value of theaccessTokenTtlrecord component.- Returns:
- the value of the
accessTokenTtlrecord component
-
refreshTokenTtl
Returns the value of therefreshTokenTtlrecord component.- Returns:
- the value of the
refreshTokenTtlrecord component
-
accessTokenFormat
Returns the value of theaccessTokenFormatrecord component.- Returns:
- the value of the
accessTokenFormatrecord component
-
reuseRefreshTokens
Returns the value of thereuseRefreshTokensrecord component.- Returns:
- the value of the
reuseRefreshTokensrecord component
-
postLogoutRedirectUris
Returns the value of thepostLogoutRedirectUrisrecord component.- Returns:
- the value of the
postLogoutRedirectUrisrecord component
-
requireConsent
Returns the value of therequireConsentrecord component.- Returns:
- the value of the
requireConsentrecord component
-
mfaRequired
Returns the value of themfaRequiredrecord component.- Returns:
- the value of the
mfaRequiredrecord component
-
jwkSetUrl
Returns the value of thejwkSetUrlrecord component.- Returns:
- the value of the
jwkSetUrlrecord component
-
jwks
Returns the value of thejwksrecord component.- Returns:
- the value of the
jwksrecord component
-
tokenEndpointAuthSigningAlgorithm
@Nullable public ClientResponse.TokenEndpointAuthSigningAlgorithmEnum tokenEndpointAuthSigningAlgorithm()Returns the value of thetokenEndpointAuthSigningAlgorithmrecord component.- Returns:
- the value of the
tokenEndpointAuthSigningAlgorithmrecord component
-
tlsClientAuthSubjectDn
Returns the value of thetlsClientAuthSubjectDnrecord component.- Returns:
- the value of the
tlsClientAuthSubjectDnrecord component
-
certificateBoundAccessTokens
Returns the value of thecertificateBoundAccessTokensrecord component.- Returns:
- the value of the
certificateBoundAccessTokensrecord component
-