Record Class BackChannelTransactionInformationResponseData
java.lang.Object
java.lang.Record
org.forgerock.am.authn.backchannel.BackChannelTransactionInformationResponseData
- Record Components:
state- The state of the transaction, seeTransactionStateresult- The result of the transaction, seeTransactionResultauditTrackingIds- The audit tracking IDs of the transactiontype- The type of authentication that is required, currently only "service" is supportedvalue- The value of the authentication that is required, will usually be the name of a treesubject- The subject of the transaction, may be null if no subject has been setsessionProperties- The session properties of the transaction, will be null until the transaction has completed successfullyupdateData- The data associated with the transaction, will be null until the transaction has had something written to its `additionalData` map
public record BackChannelTransactionInformationResponseData(String state, String result, List<String> auditTrackingIds, String type, String value, BackChannelTransactionInformationResponseData.Subject subject, Map<String,Object> sessionProperties, Map<String,Object> updateData)
extends Record
This class is a public record that represents the response data for back channel transaction information.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final recordRepresents the subject of the transaction. -
Constructor Summary
ConstructorsConstructorDescriptionBackChannelTransactionInformationResponseData(String state, String result, List<String> auditTrackingIds, String type, String value, BackChannelTransactionInformationResponseData.Subject subject, Map<String, Object> sessionProperties, Map<String, Object> updateData) Creates an instance of aBackChannelTransactionInformationResponseDatarecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theauditTrackingIdsrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.result()Returns the value of theresultrecord component.Returns the value of thesessionPropertiesrecord component.state()Returns the value of thestaterecord component.subject()Returns the value of thesubjectrecord component.final StringtoString()Returns a string representation of this record class.type()Returns the value of thetyperecord component.Returns the value of theupdateDatarecord component.value()Returns the value of thevaluerecord component.
-
Constructor Details
-
BackChannelTransactionInformationResponseData
public BackChannelTransactionInformationResponseData(String state, String result, List<String> auditTrackingIds, String type, String value, BackChannelTransactionInformationResponseData.Subject subject, Map<String, Object> sessionProperties, Map<String, Object> updateData) Creates an instance of aBackChannelTransactionInformationResponseDatarecord class.- Parameters:
state- the value for thestaterecord componentresult- the value for theresultrecord componentauditTrackingIds- the value for theauditTrackingIdsrecord componenttype- the value for thetyperecord componentvalue- the value for thevaluerecord componentsubject- the value for thesubjectrecord componentsessionProperties- the value for thesessionPropertiesrecord componentupdateData- the value for theupdateDatarecord component
-
-
Method Details
-
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). -
state
Returns the value of thestaterecord component.- Returns:
- the value of the
staterecord component
-
result
Returns the value of theresultrecord component.- Returns:
- the value of the
resultrecord component
-
auditTrackingIds
Returns the value of theauditTrackingIdsrecord component.- Returns:
- the value of the
auditTrackingIdsrecord component
-
type
Returns the value of thetyperecord component.- Returns:
- the value of the
typerecord component
-
value
Returns the value of thevaluerecord component.- Returns:
- the value of the
valuerecord component
-
subject
Returns the value of thesubjectrecord component.- Returns:
- the value of the
subjectrecord component
-
sessionProperties
Returns the value of thesessionPropertiesrecord component.- Returns:
- the value of the
sessionPropertiesrecord component
-
updateData
Returns the value of theupdateDatarecord component.- Returns:
- the value of the
updateDatarecord component
-