Record Class ClientSeedProperties.SeededClient
java.lang.Object
java.lang.Record
com.irurueta.authserver.authorization.api.web.clients.ClientSeedProperties.SeededClient
- Record Components:
redirectUris- redirect URIs of the client in this deployment; empty when the client is not seeded.postLogoutRedirectUris- URIs the client may send the user to after an OpenID Connect RP-initiated logout (post-logout-redirect-uris); empty when none is configured, in which case nopost_logout_redirect_uriis honoured.
- Enclosing class:
ClientSeedProperties
public static record ClientSeedProperties.SeededClient(List<String> redirectUris, List<String> postLogoutRedirectUris)
extends Record
Seeding of one default client.
-
Field Summary
FieldsModifier and TypeFieldDescriptionThe field for thepostLogoutRedirectUrisrecord component.The field for theredirectUrisrecord component. -
Constructor Summary
ConstructorsConstructorDescriptionSeededClient(List<String> redirectUris, List<String> postLogoutRedirectUris) Copies the URIs, treating a missing list as an empty one. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.booleanTells whether the client is to be seeded.Returns the value of thepostLogoutRedirectUrisrecord component.Returns the value of theredirectUrisrecord component.final StringtoString()Returns a string representation of this record class.Creates the section of a client that is not seeded.
-
Field Details
-
redirectUris
The field for theredirectUrisrecord component. -
postLogoutRedirectUris
The field for thepostLogoutRedirectUrisrecord component.
-
-
Constructor Details
-
SeededClient
Copies the URIs, treating a missing list as an empty one.
-
-
Method Details
-
unconfigured
Creates the section of a client that is not seeded.- Returns:
- a section without redirect URIs.
-
isConfigured
public boolean isConfigured()Tells whether the client is to be seeded.- Returns:
truewhen at least one redirect URI is configured.
-
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). -
redirectUris
Returns the value of theredirectUrisrecord component.- Returns:
- the value of the
redirectUrisrecord component
-
postLogoutRedirectUris
Returns the value of thepostLogoutRedirectUrisrecord component.- Returns:
- the value of the
postLogoutRedirectUrisrecord component
-