Record Class IdentityView
java.lang.Object
java.lang.Record
com.irurueta.authserver.authorization.api.web.social.IdentityView
- Record Components:
provider- registration id of the provider.email- e-mail address the provider reported, ornull.linkedAt- when the identity was linked.
What the identities page shows of a linked identity. It is a view model of the page, never a domain object or a DTO
of the REST contract; the provider's subject is not part of it.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionIdentityView(String provider, String email, Instant linkedAt) Creates an instance of aIdentityViewrecord class. -
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.linkedAt()Returns the value of thelinkedAtrecord component.provider()Returns the value of theproviderrecord 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). -
provider
Returns the value of theproviderrecord component.- Returns:
- the value of the
providerrecord component
-
email
Returns the value of theemailrecord component.- Returns:
- the value of the
emailrecord component
-
linkedAt
Returns the value of thelinkedAtrecord component.- Returns:
- the value of the
linkedAtrecord component
-