Record Class SessionUserResponse
java.lang.Object
java.lang.Record
com.irurueta.authserver.bff.api.web.v1.generated.model.SessionUserResponse
- Record Components:
subject- Identifier (OpenID Connect subject) of the signed-in user.name- Display name of the user, when the ID token carries one.email- Email address of the user, when the ID token carries one.roles- Roles granted to the user (empty when the ID token carries none), to adapt the UI.
@Generated(value="org.openapitools.codegen.languages.SpringCodegen",
date="2026-11-08T20:21:50.543277293Z[Etc/UTC]",
comments="Generator version: 7.27.0")
public record SessionUserResponse(@NotNull String subject, String name, String email, @NotNull List<String> roles)
extends Record
The user signed in to the BFF session
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionemail()Returns the value of theemailrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.name()Returns the value of thenamerecord component.roles()Returns the value of therolesrecord component.@NotNull Stringsubject()Returns the value of thesubjectrecord component.final StringtoString()Returns a string representation of this record class.
-
Field Details
-
Constructor Details
-
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). -
subject
Returns the value of thesubjectrecord component.- Returns:
- the value of the
subjectrecord component
-
name
Returns the value of thenamerecord component.- Returns:
- the value of the
namerecord component
-
email
Returns the value of theemailrecord component.- Returns:
- the value of the
emailrecord component
-
roles
Returns the value of therolesrecord component.- Returns:
- the value of the
rolesrecord component
-