Package com.io7m.idstore.protocol.admin
Record Class IdACommandLogin
java.lang.Object
java.lang.Record
com.io7m.idstore.protocol.admin.IdACommandLogin
- Record Components:
userName- The usernamepassword- The passwordmetadata- Extra metadata included with the request
- All Implemented Interfaces:
com.io7m.hibiscus.api.HBMessageType,IdACommandType<IdAResponseLogin>,IdAMessageType,IdProtocolMessageType
public record IdACommandLogin(IdName userName, String password, Map<String,String> metadata)
extends Record
implements IdACommandType<IdAResponseLogin>
A request to log in.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.metadata()Returns the value of themetadatarecord component.password()Returns the value of thepasswordrecord component.final StringtoString()Returns a string representation of this record class.userName()Returns the value of theuserNamerecord component.
-
Constructor Details
-
IdACommandLogin
-
-
Method Details
-
responseClass
- Specified by:
responseClassin interfaceIdACommandType<IdAResponseLogin>- Returns:
- The response type associated with this command
-
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). -
userName
-
password
-
metadata
-