Record Class UpdatesProvider.BuildSecrets
java.lang.Object
java.lang.Record
pro.gravit.launchserver.auth.updates.UpdatesProvider.BuildSecrets
- Enclosing class:
UpdatesProvider
-
Constructor Summary
ConstructorsConstructorDescriptionBuildSecrets(String secureToken, byte[] digest) Creates an instance of aBuildSecretsrecord class. -
Method Summary
Modifier and TypeMethodDescriptionbyte[]digest()Returns the value of thedigestrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.Returns the value of thesecureTokenrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
BuildSecrets
Creates an instance of aBuildSecretsrecord class.- Parameters:
secureToken- the value for thesecureTokenrecord componentdigest- the value for thedigestrecord component
-
-
Method Details
-
toString
-
hashCode
-
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). -
secureToken
Returns the value of thesecureTokenrecord component.- Returns:
- the value of the
secureTokenrecord component
-
digest
public byte[] digest()Returns the value of thedigestrecord component.- Returns:
- the value of the
digestrecord component
-