Package org.exoplatform.caldav.model
Record Class BlueMindLogin
java.lang.Object
java.lang.Record
org.exoplatform.caldav.model.BlueMindLogin
- Record Components:
apiRoot- the REST root this session was opened at, which is the only address its key may ever be sent tokey- the session key, sent inX-BM-ApiKeyuserUid- the directory entry uid of the authenticated user (LoginResponse.authUser.uid), or null when the answer named nonedomainUid- the uid of their domain (LoginResponse.authUser.domainUid), or null when the answer named none
public record BlueMindLogin(String apiRoot, String key, String userUid, String domainUid)
extends Record
What a login answered and a session carries: the address it answered at,
the key, and who BlueMind says the session belongs to. It is what
BlueMindSessionCache keeps for an account.-
Constructor Summary
ConstructorsConstructorDescriptionBlueMindLogin(String apiRoot, String key, String userUid, String domainUid) Creates an instance of aBlueMindLoginrecord class. -
Method Summary
Modifier and TypeMethodDescriptionapiRoot()Returns the value of theapiRootrecord component.Returns the value of thedomainUidrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.key()Returns the value of thekeyrecord component.toString()Names where the session was opened and who it belongs to, never its key.userUid()Returns the value of theuserUidrecord component.
-
Constructor Details
-
Method Details
-
toString
Names where the session was opened and who it belongs to, never its key. -
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). -
apiRoot
Returns the value of theapiRootrecord component.- Returns:
- the value of the
apiRootrecord component
-
key
Returns the value of thekeyrecord component.- Returns:
- the value of the
keyrecord component
-
userUid
Returns the value of theuserUidrecord component.- Returns:
- the value of the
userUidrecord component
-
domainUid
Returns the value of thedomainUidrecord component.- Returns:
- the value of the
domainUidrecord component
-