Package org.geysermc.geyser.session.auth
Record Class AuthData
java.lang.Object
java.lang.Record
org.geysermc.geyser.session.auth.AuthData
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncom.fasterxml.jackson.databind.JsonNode
Returns the value of thecertChainData
record component.Returns the value of theclientData
record component.boolean
Indicates whether some other object is "equal to" this one.int
hashCode()
Returns a hash code value for this object.name()
Returns the value of thename
record component.toString()
Returns a string representation of this record class.void
upload(GeyserImpl geyser)
uuid()
Returns the value of theuuid
record component.xuid()
Returns the value of thexuid
record component.
-
Constructor Details
-
AuthData
public AuthData(String name, UUID uuid, String xuid, com.fasterxml.jackson.databind.JsonNode certChainData, String clientData)Creates an instance of aAuthData
record class.- Parameters:
name
- the value for thename
record componentuuid
- the value for theuuid
record componentxuid
- the value for thexuid
record componentcertChainData
- the value for thecertChainData
record componentclientData
- the value for theclientData
record component
-
-
Method Details
-
upload
-
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)
. -
name
Returns the value of thename
record component.- Returns:
- the value of the
name
record component
-
uuid
Returns the value of theuuid
record component.- Returns:
- the value of the
uuid
record component
-
xuid
Returns the value of thexuid
record component.- Returns:
- the value of the
xuid
record component
-
certChainData
public com.fasterxml.jackson.databind.JsonNode certChainData()Returns the value of thecertChainData
record component.- Returns:
- the value of the
certChainData
record component
-
clientData
Returns the value of theclientData
record component.- Returns:
- the value of the
clientData
record component
-