Package org.geysermc.geyser.session.auth
Record Class AuthData
java.lang.Object
java.lang.Record
org.geysermc.geyser.session.auth.AuthData
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncom.fasterxml.jackson.databind.JsonNodeReturns the value of thecertChainDatarecord component.Returns the value of theclientDatarecord component.booleanIndicates whether some other object is "equal to" this one.inthashCode()Returns a hash code value for this object.name()Returns the value of thenamerecord component.toString()Returns a string representation of this record class.voidupload(GeyserImpl geyser)uuid()Returns the value of theuuidrecord component.xuid()Returns the value of thexuidrecord component.
-
Constructor Details
-
AuthData
public AuthData(String name, UUID uuid, String xuid, com.fasterxml.jackson.databind.JsonNode certChainData, String clientData)Creates an instance of aAuthDatarecord class.- Parameters:
name- the value for thenamerecord componentuuid- the value for theuuidrecord componentxuid- the value for thexuidrecord componentcertChainData- the value for thecertChainDatarecord componentclientData- the value for theclientDatarecord 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 thenamerecord component.- Returns:
- the value of the
namerecord component
-
uuid
Returns the value of theuuidrecord component.- Returns:
- the value of the
uuidrecord component
-
xuid
Returns the value of thexuidrecord component.- Returns:
- the value of the
xuidrecord component
-
certChainData
public com.fasterxml.jackson.databind.JsonNode certChainData()Returns the value of thecertChainDatarecord component.- Returns:
- the value of the
certChainDatarecord component
-
clientData
Returns the value of theclientDatarecord component.- Returns:
- the value of the
clientDatarecord component
-